]> git.pld-linux.org Git - packages/clive.git/blobdiff - clive.spec
- up to 2.2.9
[packages/clive.git] / clive.spec
index 26a64cae3754d883cfa373b096374826364dba83..bff952723332914b4d97b3b58039f1b9a4e2a599 100644 (file)
@@ -1,23 +1,27 @@
+#
+# TODO: fix patches
+#
 %include       /usr/lib/rpm/macros.perl
 Summary:       Video extraction utility for YouTube and Google Video
 Summary(hu.UTF-8):     Videó letöltő a YouTube és a Google Video oldalakról
 Summary(pl.UTF-8):     Narzędzie do wydobywania filmów z YouTube i Google Video
 Name:          clive
-Version:       2.1.11
-Release:       1
-License:       GPL v2+
+Version:       2.2.9
+Release:       0.1
+License:       GPL v3+
 Group:         Applications/System
 Source0:       http://clive.googlecode.com/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 344a68a88cf59359ae2240589117fcfd
+# Source0-md5: 6cc572c429af012f564f81ce3b370ab0
 URL:           http://clive.sourceforge.net/
-Patch0:                %{name}-delfi.patch
-Patch1:                %{name}-reporter.patch
-#Patch2:       %{name}-spz.patch
+#Patch0: %{name}-delfi.patch
+#Patch1: %{name}-reporter.patch
+#Patch2: %{name}-spz.patch
 BuildRequires: perl-tools-pod
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: sed >= 4.0
 Requires:      perl-BerkeleyDB >= 0.34
+Requires:      perl-Class-Singleton
 Requires:      perl-Config-Tiny >= 2.12
+Requires:      perl-Getopt-ArgvFile
 Requires:      perl-HTML-TokeParser-Simple >= 2.37
 Requires:      perl-IO-Pager >= 0.05
 Requires:      perl-WWW-Curl >= 4.0.5
@@ -47,25 +51,26 @@ ffmpegiem) do przekodowywania wyciągniętych filmów do innych formatów
 
 %prep
 %setup -q
-%{__sed} -i -e '1s,#.*perl,#!%{__perl},' clive
-%patch0 -p1
-%patch1 -p1
+#%%patch0 -p1
+#%%patch1 -p1
 #%%patch2 -p1
 
 %build
-pod2man clive > clive.1
+pod2man bin/clive > clive.1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-install %{name} $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{perl_vendorlib}/clive}
+install bin/%{name} $RPM_BUILD_ROOT%{_bindir}
 cp -a clive.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -r lib/clive/* $RPM_BUILD_ROOT%{perl_vendorlib}/clive
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES
+%doc ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/clive
+%{perl_vendorlib}/clive
 %{_mandir}/man1/clive.1*
This page took 0.20966 seconds and 4 git commands to generate.