packages: calibre/calibre.spec - fix manpages files names (-manpages.patch ...

lisu lisu at pld-linux.org
Thu May 20 19:52:35 CEST 2010


Author: lisu                         Date: Thu May 20 17:52:35 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix manpages files names (-manpages.patch from fc) and package them

---- Files affected:
packages/calibre:
   calibre.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/calibre/calibre.spec
diff -u packages/calibre/calibre.spec:1.8 packages/calibre/calibre.spec:1.9
--- packages/calibre/calibre.spec:1.8	Thu May 20 19:31:04 2010
+++ packages/calibre/calibre.spec	Thu May 20 19:52:30 2010
@@ -26,6 +26,7 @@
 Source0:	%{name}-%{version}-nofonts.tar.bz2
 # Source0-md5:	74f8a83e86820b248eb094bde4f1ab69
 Patch0:		%{name}-prefix.patch
+Patch1:		%{name}-manpages.patch
 URL:		http://www.calibre-ebook.com/
 BuildRequires:	ImageMagick-devel
 BuildRequires:	chmlib-devel
@@ -66,6 +67,7 @@
 %prep
 %setup -q -n %{name}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__python} setup.py build
@@ -77,6 +79,8 @@
 	--root=$RPM_BUILD_ROOT \
 	--libdir=%{_libdir}
 
+mv $RPM_BUILD_ROOT%{_datadir}/%{name}/man $RPM_BUILD_ROOT%{_mandir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -86,6 +90,7 @@
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
 %{_libdir}/%{name}
+%{_mandir}/man1/*.1*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -93,6 +98,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2010/05/20 17:52:30  lisu
+- fix manpages files names (-manpages.patch from fc) and package them
+
 Revision 1.8  2010/05/20 17:31:04  lisu
 - Rs: python-dateutil, python-PIL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/calibre/calibre.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list