Author: thl
Update of /cvs/free/rpms/subtitleripper/F-9
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26797
Modified Files:
.cvsignore sources
Added Files:
subtitleripper-0.3-4-nopng.patch subtitleripper.spec
Log Message:
initial import from livna
subtitleripper-0.3-4-nopng.patch:
--- NEW FILE subtitleripper-0.3-4-nopng.patch ---
diff -Naupr subtitleripper-new.orig/Makefile subtitleripper-new/Makefile
--- subtitleripper-new.orig/Makefile 2004-01-13 15:07:05.000000000 +0100
+++ subtitleripper-new/Makefile 2005-04-22 11:34:16.000000000 +0200
@@ -12,8 +12,8 @@ DEFINES += -D_HAVE_LIB_PPM_
LIBS += -lppm
### enable PNG support ###
-DEFINES += -D_HAVE_PNG_
-LIBS += -lpng
+#DEFINES += -D_HAVE_PNG_
+#LIBS += -lpng
### enable zlib support ###
DEFINES += -D_HAVE_ZLIB_
--- NEW FILE subtitleripper.spec ---
%define _default_patch_fuzz 2
Summary: A tool to rip DVD subtitles
Name: subtitleripper
Version: 0.3
Release: 6%{?dist}
License: GPL
Group: Applications/Multimedia
URL:
http://subtitleripper.sourceforge.net/
Source0:
http://switch.dl.sourceforge.net/sourceforge/subtitleripper/%{name}-%{ver...
Patch0: subtitleripper-0.3-4-nopng.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: netpbm-devel zlib-devel
#-----------------------------------------------------------------------------
%description
Converts DVD subtitles into text format (e.g. subrip format) or VobSub
format. Based on transcode.
#-----------------------------------------------------------------------------
%prep
%setup -q -n %{name}
test -L %{_libdir}/libnetpbm.so && \
perl -pi -e 's/-lppm/-lnetpbm/g' Makefile
%patch0 -p1 -b .patch0
#-----------------------------------------------------------------------------
%build
CFLAGS="$RPM_OPT_FLAGS" make
#-----------------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
for i in pgm2txt srttool subtitle2pgm subtitle2vobsub
do
install -m 0755 $i $RPM_BUILD_ROOT/%{_bindir}
done
#-----------------------------------------------------------------------------
%clean
rm -rf $RPM_BUILD_ROOT
#-----------------------------------------------------------------------------
%files
%defattr(-,root,root,-)
%doc ChangeLog README*
%{_bindir}/pgm2txt
%{_bindir}/srttool
%{_bindir}/subtitle2pgm
%{_bindir}/subtitle2vobsub
#-----------------------------------------------------------------------------
%changelog
* Tue Aug 19 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.3-6
- added _default_patch_fuzz define
* Sun Aug 03 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.3-5
- rebuild
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
- switch to new release field
- drop Epoch
* Wed Sep 21 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0:0.3-0.lvn.4
- Drop BR libpng, too
* Sat Sep 10 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0:0.3-0.lvn.3
- Disable png-support for now cause it does not compile on FC4
* Mon Jun 28 2004 Dams <anvil[AT]livna.org> 0:0.3-0.lvn.2.4
- BuildReq libpng-devel
- Fix for libnetpbm on FC2
* Mon Jun 28 2004 Dams <anvil[AT]livna.org> 0:0.3.4-0.lvn.1
- Updated to 0.3-4
* Wed May 14 2003 Dams <anvil[AT]livna.org> 0:0.3-0.fdr.2
- Added missing zlib-devel BuildRequires
* Sat May 10 2003 Dams <anvil[AT]livna.org>
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/subtitleripper/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Jul 2008 16:55:08 -0000 1.1
+++ .cvsignore 19 Aug 2008 17:57:46 -0000 1.2
@@ -0,0 +1 @@
+subtitleripper-0.3-4.tgz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/subtitleripper/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Jul 2008 16:55:08 -0000 1.1
+++ sources 19 Aug 2008 17:57:46 -0000 1.2
@@ -0,0 +1 @@
+c0bd49a88f667c68c4430ad25bbed510 subtitleripper-0.3-4.tgz