Author: juran
Update of /cvs/free/rpms/lxdvdrip/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28052/F-9
Modified Files:
.cvsignore sources
Added Files:
lxdvdrip-compile.patch lxdvdrip-makefile.patch lxdvdrip.spec
Log Message:
Import for rpmfusion
lxdvdrip-compile.patch:
--- NEW FILE lxdvdrip-compile.patch ---
--- systools.c.orig 2007-12-21 09:33:28.000000000 +0100
+++ systools.c 2007-12-21 09:33:38.000000000 +0100
@@ -26,7 +26,7 @@
#include <sys/wait.h>
#include <linux/cdrom.h>
#include <ctype.h>
-
+#include <limits.h>
char ** environ;
#define SH_PATH "/bin/sh"
#define SH_NAME "sh"
lxdvdrip-makefile.patch:
--- NEW FILE lxdvdrip-makefile.patch ---
--- Makefile.orig 2007-12-21 09:21:40.000000000 +0100
+++ Makefile 2007-12-21 09:27:01.000000000 +0100
@@ -1,11 +1,13 @@
INSTALLDIR = /usr/local
-HINWEIS0 = 'Bitte Konfigdatei in /etc mit Changelog abgleichen'
-HINWEIS1 = 'Check the configuration file in /etc with the Changelog'
-HINWEIS2 = 'Comparez le fichier de config. en /etc avec le Changelog'
+CFLAGS=
+BINDIR=
+MANDIR=
+DATADIR=
+SYSCONFDIR=
all:
- gcc -g -lm -ldvdread -ldvdnav -lpthread -o lxdvdrip lxdvdrip.c streamanalyze.c ifo.c
dvdinfo.c dvdbackup.c dvdcell.c systools.c vaporize.c dvdtools.c dvdcopy.c requant.c
cputest.c tcmemcpy.c
- gcc -g -lm -o lxac3scan lxac3scan.c
+ gcc -g $(CFLAGS) -lm -ldvdread -ldvdnav -lpthread -o lxdvdrip lxdvdrip.c streamanalyze.c
ifo.c dvdinfo.c dvdbackup.c dvdcell.c systools.c vaporize.c dvdtools.c dvdcopy.c requant.c
cputest.c tcmemcpy.c
+ gcc -g $(CFLAGS) -lm -o lxac3scan lxac3scan.c
cd vamps && make && cd ..
cd dvdbackup && make && cd ..
cd buffer && make && cd ..
@@ -17,23 +19,15 @@
cd buffer && make clean && cd ..
install:
- cp lxdvdrip $(INSTALLDIR)/bin
- cp lxac3scan $(INSTALLDIR)/bin
- cp lxdvdrip.1 $(INSTALLDIR)/man/man1
- cp lxdvdrip.wav $(INSTALLDIR)/share
+ mkdir -p $(INSTALLDIR)/$(BINDIR)
+ mkdir -p $(INSTALLDIR)/$(MANDIR)/man1
+ mkdir -p $(INSTALLDIR)/$(DATADIR)
+ mkdir -p $(INSTALLDIR)/$(SYSCONFDIR)
+ cp lxdvdrip $(INSTALLDIR)/$(BINDIR)
+ cp lxac3scan $(INSTALLDIR)/$(BINDIR)
+ cp lxdvdrip.1 $(INSTALLDIR)/$(MANDIR)/man1
+ cp lxdvdrip.wav $(INSTALLDIR)/$(DATADIR)
+ cp lxdvdrip.conf $(INSTALLDIR)/$(SYSCONFDIR)
cd vamps && make install && cd ..
cd dvdbackup && make install && cd ..
cd buffer && make install && cd ..
- if test -f /etc/lxdvdrip.conf; then echo $(HINWEIS0); fi;
- if test -f /etc/lxdvdrip.conf; then echo $(HINWEIS1); fi;
- if test -f /etc/lxdvdrip.conf; then echo $(HINWEIS2); else cp lxdvdrip.conf /etc; fi;
-
-uninstall:
- rm $(INSTALLDIR)/bin/lxdvdrip
- rm $(INSTALLDIR)/bin/lxac3scan
- rm $(INSTALLDIR)/man/man1/lxdvdrip.1
- rm $(INSTALLDIR)/share/lxdvdrip.wav
- rm $(INSTALLDIR)/bin/vamps_lxdvdrip
- rm $(INSTALLDIR)/bin/play_cell_lxdvdrip
- rm $(INSTALLDIR)/bin/dvdbackup_lxdvdrip
- rm $(INSTALLDIR)/bin/buffer_lxdvdrip
--- NEW FILE lxdvdrip.spec ---
Name: lxdvdrip
Version: 1.70
Release: 1%{?dist}
Summary: A command line tool to rip&burn a video DVD
Group: Applications/Multimedia
License: GPL
URL:
http://lxdvdrip.berlios.de/
Source0:
http://download.berlios.de/lxdvdrip/lxdvdrip-1.70.tgz
Patch0: lxdvdrip-makefile.patch
Patch1: lxdvdrip-compile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libdvdread-devel libdvdnav-devel
Requires: dvdauthor
%description
This program is able to rip a DVD title or chapters, reauthor the files to a
DVD-Structure,preview the Files and burn to a DVD+/-R.
The "traditional" way to Rip in 4 Steps (Rip Video&Requant, Rip Audio,
Mplex,
dvdauthor) is included, too. Activation through Command Line Parameter
"-st=mplayer" for mplayer or "-st=transcode" for transcode.
A very fast Method is "Transcode parallel", all Commands are piped, so that
only a single Pass Read is needed.
%prep
%setup -q -n lxdvdrip
%patch0
%patch1
%build
make CFLAGS="${RPM_OPT_FLAGS}" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install INSTALLDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir} MANDIR=%{_mandir} \
DATADIR=%{_datadir}/%{name}-%{version} SYSCONFDIR=%{_sysconfdir} \
PREFIX=$RPM_BUILD_ROOT%{_usr} INSTBIN=$RPM_BUILD_ROOT%{_bindir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc doc-pak/Changelog* doc-pak/COPYING doc-pak/lxdvdrip.conf*
%doc doc-pak/README.* doc-pak/TODO
%{_bindir}/*
%{_mandir}/man1/*
%{_datadir}/*
%config(noreplace) %{_sysconfdir}/lxdvdrip.conf
%changelog
* Sun Dec 09 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- 1.70-1
- version upgrade
* Sat Mar 18 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1.51-2
- remove -dl workaround
* Thu Mar 16 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1.51-1
- version upgrade
- fix devel build
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- add dist
* Tue Jun 14 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
1.46-0.lvn.1
- Initial Release
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/lxdvdrip/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 19 Aug 2008 17:48:40 -0000 1.1
+++ .cvsignore 19 Aug 2008 18:08:41 -0000 1.2
@@ -0,0 +1 @@
+lxdvdrip-1.70.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/lxdvdrip/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 19 Aug 2008 17:48:40 -0000 1.1
+++ sources 19 Aug 2008 18:08:41 -0000 1.2
@@ -0,0 +1 @@
+73c7bec3bba1ad28bf78ec9dfba94598 lxdvdrip-1.70.tgz