]> git.pld-linux.org Git - packages/clive.git/blobdiff - clive.spec
- adjusted for 2.1.2
[packages/clive.git] / clive.spec
index 5e007ed4ed231280daf175059cb308631aac7abf..e84c88fcec8853e50be10db3e5377639f2857e3f 100644 (file)
@@ -1,24 +1,32 @@
+# TODO
+# - update patches
+# - check if it work
 #
-# TODO: check if it work
-#
+%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.0
+Version:       2.1.2
 Release:       0.1
 License:       GPL v2+
 Group:         Applications/System
 Source0:       http://clive.googlecode.com/files/%{name}-%{version}.tar.bz2
-# Source0-md5: cfa070cae349b812b8dddfc0409a5196
-URL:           http://home.gna.org/clive/
-Requires:      perl >= 1:5.8.0
+# Source0-md5: ba55efeb1e0dec8726ab42719c166212
+URL:           http://clive.sourceforge.net/
+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-Config-Tiny >= 2.12
 Requires:      perl-HTML-TokeParser-Simple >= 2.37
 Requires:      perl-IO-Pager >= 0.05
 Requires:      perl-WWW-Curl >= 4.0.5
 Requires:      perl-XML-Simple >= 2.18
+Requires:      perl-base >= 1:5.8.0
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -43,12 +51,19 @@ 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
+#%%patch2 -p1
+
+%build
+pod2man clive > clive.1
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
 install %{name} $RPM_BUILD_ROOT%{_bindir}
+cp -a clive.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -57,3 +72,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS CHANGES TODO
 %attr(755,root,root) %{_bindir}/clive
+%{_mandir}/man1/clive.1*
This page took 0.055228 seconds and 4 git commands to generate.