Author: thl
Update of /cvs/free/rpms/vobcopy/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv30898
Modified Files:
.cvsignore sources
Added Files:
vobcopy-1.0.1-Makefile.patch vobcopy-1.1.1-gcc43.patch
vobcopy.spec
Log Message:
import from freshrpms
vobcopy-1.0.1-Makefile.patch:
--- NEW FILE vobcopy-1.0.1-Makefile.patch ---
diff -Naupr vobcopy-1.0.1.orig/Makefile vobcopy-1.0.1/Makefile
--- vobcopy-1.0.1.orig/Makefile 2006-11-13 22:55:51.000000000 +0100
+++ vobcopy-1.0.1/Makefile 2006-11-27 11:12:57.000000000 +0100
@@ -7,11 +7,10 @@ CC = gcc
#BINDIR = ${PREFIX}/bin
#MANDIR = ${PREFIX}/man
PREFIX += /usr/local
-BINDIR = ${PREFIX}/bin
-MANDIR = ${PREFIX}/man
+BINDIR ?= ${PREFIX}/bin
+MANDIR ?= ${PREFIX}/man
LFS = -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-CFLAGS += -I/usr//include
-LDFLAGS += -ldvdread -L/usr//lib
+LDFLAGS += -ldvdread
#This specifies the conversion from .c to .o
.c.o:
vobcopy-1.1.1-gcc43.patch:
--- NEW FILE vobcopy-1.1.1-gcc43.patch ---
diff -Naupr vobcopy-1.1.1.orig/vobcopy.c vobcopy-1.1.1/vobcopy.c
--- vobcopy-1.1.1.orig/vobcopy.c 2008-02-19 06:27:04.000000000 +0100
+++ vobcopy-1.1.1/vobcopy.c 2008-05-13 00:19:18.000000000 +0200
@@ -519,7 +519,7 @@ and potentially fatal." - Thanks Leigh!
strcpy( tmp_path, pwd );
strcat( tmp_path, "vobcopy.bla" );
fprintf( stderr, "[Hint] Quiet mode - All messages will now end up in
%s\n", tmp_path );
- if ( ( temp = open( tmp_path , O_CREAT | O_EXCL ) ) == -1 )
+ if ( ( temp = open( tmp_path , O_CREAT | O_EXCL , 0644 ) ) == -1 )
{
printf( "[Error] Error: %s\n", strerror( errno ) );
if ( errno == EEXIST )
@@ -575,7 +575,7 @@ and potentially fatal." - Thanks Leigh!
strcat( logfile_name, VERSION );
strcat( logfile_name, ".log" );
strcat( logfile_path, logfile_name );
- if ( ( temp = open ( logfile_path , O_CREAT | O_EXCL ) ) == -1 )
+ if ( ( temp = open ( logfile_path , O_CREAT | O_EXCL , 0644 ) ) == -1 )
{
printf( "[Error] Error: %s\n", strerror( errno ) );
if ( errno == EEXIST )
--- NEW FILE vobcopy.spec ---
Summary: Utility to copy DVD .vob files to disk
Name: vobcopy
Version: 1.1.1
Release: 2%{?dist}
License: GPLv2+
Group: Applications/Multimedia
URL:
http://vobcopy.org/projects/c/c.shtml
Source:
http://vobcopy.org/download/vobcopy-%{version}.tar.bz2
Patch0: vobcopy-1.0.1-Makefile.patch
Patch1: vobcopy-1.1.1-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: libdvdread-devel
%description
Vobcopy copies DVD .vob files to disk, decrypting them on the way (thanks to
libdvdread and libdvdcss) and merges them into file(s) with the name extracted
from the DVD. There is one drawback though: at the moment vobcopy doesn't deal
with multi-angle-dvd's. But since these are rather sparse this shouldn't
matter much.
%prep
%setup -q
%patch0 -p1 -b .Makefile
%patch1 -p1 -b .gcc43
%build
%{__make} \
CFLAGS="%{optflags}" \
BINDIR="%{_bindir}" \
MANDIR="%{_mandir}"
%install
%{__rm} -rf %{buildroot}
%{__make} install \
BINDIR="%{buildroot}%{_bindir}" \
MANDIR="%{buildroot}%{_mandir}"
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changelog FAQ README THANKS TODO
%doc alternative_programs.txt
%{_bindir}/vobcopy
%{_mandir}/man1/vobcopy.1*
%lang(de) %{_mandir}/de/man1/vobcopy.1*
%changelog
* Sat Oct 18 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 1.1.1-2
- rebuild for RPM Fusion
* Tue May 13 2008 Matthias Saou <
http://freshrpms.net/> 1.1.1-1
- Update to 1.1.1.
- Include gcc 4.3 patch.
* Mon Jan 14 2008 Matthias Saou <
http://freshrpms.net/> 1.1.0-1
- Update to 1.1.0.
* Sun Jun 24 2007 Dag Wieers <dag(a)wieers.com> - 1.0.2-1
- Updated to release 1.0.2.
* Mon Nov 27 2006 Matthias Saou <
http://freshrpms.net/> 1.0.1-1
- Update to 1.0.1.
- Remove no longer needed gcc change in the Makefile patch.
* Tue Apr 18 2006 Matthias Saou <
http://freshrpms.net/> 1.0.0-1
- Update to 1.0.0.
- Add s/gcc-3.4/gcc/ to the Makefile patch.
* Mon Mar 27 2006 Matthias Saou <
http://freshrpms.net/> 0.5.16-1
- Major spec file cleanup.
* Fri Jan 6 2006 Robos <robos(a)muon.de>
- 0.5.16: -see changelog
* Fri Jul 29 2005 Robos <robos(a)muon.de>
- 0.5.15: -option to skip already present files with -m.
copying of dvd's with files ending in ";?" should work now.
* Sun Oct 24 2004 Robos <robos(a)muon.de>
- 0.5.14-rc1: - misc *bsd fixes and first straight OSX support
* Mon Mar 7 2004 Robos <robos(a)muon.de>
- 0.5.12-1: -m off-by-one error fixed
* Mon Jan 19 2004 Robos <robos(a)muon.de>
- 0.5.10-1: -O now works
cleanup
* Wed Nov 13 2003 Robos <robos(a)muon.de>
- 0.5.9-1: -F now accepts factor number
cleanups and small bugfix
new vobcopy.spec
* Sun Nov 09 2003 Florin Andrei <florin(a)andrei.myip.org>
- 0.5.8-2: libdvdread is now a pre-requisite
* Sun Nov 09 2003 Florin Andrei <florin(a)andrei.myip.org>
- first package, 0.5.8-1
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/vobcopy/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 18 Oct 2008 13:45:14 -0000 1.1
+++ .cvsignore 18 Oct 2008 14:06:10 -0000 1.2
@@ -0,0 +1 @@
+vobcopy-1.1.1.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/free/rpms/vobcopy/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 18 Oct 2008 13:45:14 -0000 1.1
+++ sources 18 Oct 2008 14:06:10 -0000 1.2
@@ -0,0 +1 @@
+f3331ff362c8f271731944b1a9dea108 vobcopy-1.1.1.tar.bz2