]> git.pld-linux.org Git - packages/calibre.git/commitdiff
- fix manpages files names (-manpages.patch from fc) and package them
authorlisu <lisu@pld-linux.org>
Thu, 20 May 2010 17:52:30 +0000 (17:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    calibre.spec -> 1.9

calibre.spec

index 4953d035ad15f85f244dde43199306099ff45d81..875e5efb96c771e07789da0ab979d55543f8ac28 100644 (file)
@@ -25,6 +25,7 @@ Group:                Applications/Multimedia
 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
@@ -65,6 +66,7 @@ CBR, CBZ, RTF, TXT, PDF and LRS.
 %prep
 %setup -q -n %{name}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__python} setup.py build
@@ -76,6 +78,8 @@ rm -rf $RPM_BUILD_ROOT
        --root=$RPM_BUILD_ROOT \
        --libdir=%{_libdir}
 
+mv $RPM_BUILD_ROOT%{_datadir}/%{name}/man $RPM_BUILD_ROOT%{_mandir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -85,3 +89,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
 %{_libdir}/%{name}
+%{_mandir}/man1/*.1*
This page took 0.106606 seconds and 4 git commands to generate.