Author: juran
Update of /cvs/free/rpms/lxdvdrip/F-8
In directory se02.es.rpmfusion.net:/tmp/cvs-serv27447/F-8
Modified Files:
.cvsignore sources
Added Files:
lxdvdrip-makefile.patch lxdvdrip.spec
Log Message:
Initial import
lxdvdrip-makefile.patch:
--- NEW FILE lxdvdrip-makefile.patch ---
--- Makefile.orig 2006-03-18 10:00:17.000000000 +0100
+++ Makefile 2006-03-18 10:33:25.000000000 +0100
@@ -1,31 +1,25 @@
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 -ldvdread -lm -o lxdvdrip lxdvdrip.c streamanalyze.c
- gcc -g -lm -o lxac3scan lxac3scan.c
- cd vamps && make && cd ..
+ gcc -g $(CFLAGS) -ldvdread -lm -o lxdvdrip lxdvdrip.c streamanalyze.c
+ gcc -g $(CFLAGS) -lm -o lxac3scan lxac3scan.c
clean:
rm -f lxdvdrip lxac3scan *.o
- cd vamps && make clean && cd ..
install:
- cp lxdvdrip $(INSTALLDIR)/bin
- cp lxac3scan $(INSTALLDIR)/bin
- cp lxdvdrip.1 $(INSTALLDIR)/man/man1
- cp lxdvdrip.wav $(INSTALLDIR)/share
- cd vamps && 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
+ 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)
--- NEW FILE lxdvdrip.spec ---
Name: lxdvdrip
Version: 1.51
Release: 2%{?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.51.tgz
Patch0: lxdvdrip-makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libdvdread-devel
Requires: dvdauthor
Requires: streamdvd-streamanalyze
%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
%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}
%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
* 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-8/.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:03:47 -0000 1.2
@@ -0,0 +1 @@
+lxdvdrip-1.51.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/lxdvdrip/F-8/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:03:47 -0000 1.2
@@ -0,0 +1 @@
+712f05e604ba52579f6d77df7d1945cd lxdvdrip-1.51.tgz