From b71c2f094559d0f60eb5741491c67fb0f2892a4a Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Wed, 3 Oct 2012 13:22:24 +0200 Subject: [PATCH] Better installation of manual pages for libarchive - and several low-prio problems in spec file found by fedora-review - Resolves: #862605 --- libarchive.spec | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/libarchive.spec b/libarchive.spec index d519fa9..1002c02 100644 --- a/libarchive.spec +++ b/libarchive.spec @@ -1,12 +1,12 @@ Name: libarchive Version: 3.0.4 -Release: 2%{?dist} -Summary: A library for handling streaming archive formats +Release: 3%{?dist} +Summary: A library for handling streaming archive formats Group: System Environment/Libraries License: BSD URL: http://code.google.com/p/libarchive/ -Source0: http://libarchive.googlecode.com/files/libarchive-%{version}.tar.gz +Source0: https://github.com/downloads/libarchive/libarchive/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -24,9 +24,9 @@ BuildRequires: libunistring-devel %description -Libarchive is a programming library that can create and read several different -streaming archive formats, including most popular tar variants, several cpio -formats, and both BSD and GNU ar variants. It can also write shar archives and +Libarchive is a programming library that can create and read several different +streaming archive formats, including most popular tar variants, several cpio +formats, and both BSD and GNU ar variants. It can also write shar archives and read ISO9660 CDROM images and ZIP archives. %package devel @@ -40,7 +40,7 @@ developing applications that use %{name}. %package -n bsdtar -Summary: bsdtar utility +Summary: Manipulate tape archives Group: Applications/File %description -n bsdtar @@ -49,7 +49,7 @@ libarchive packages. %package -n bsdcpio -Summary: bsdcpio utility +Summary: Copy files to and from archives Group: Applications/File %description -n bsdcpio @@ -74,9 +74,6 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' -find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';' -find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';' -find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';' %clean @@ -92,13 +89,17 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc COPYING README NEWS %{_libdir}/libarchive.so.12* +%{_mandir}/*/cpio.* +%{_mandir}/*/mtree.* +%{_mandir}/*/tar.* %files devel %defattr(-,root,root,-) %doc %{_includedir}/*.h -%{_mandir}/*/* +%{_mandir}/*/archive* +%{_mandir}/*/libarchive* %{_libdir}/libarchive.so %{_libdir}/pkgconfig/libarchive.pc @@ -106,14 +107,23 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root,-) %doc COPYING README NEWS %{_bindir}/bsdtar +%{_mandir}/*/bsdtar* %files -n bsdcpio %defattr(-,root,root,-) %doc COPYING README NEWS %{_bindir}/bsdcpio +%{_mandir}/*/bsdcpio* %changelog +* Wed Oct 03 2012 Pavel Raiskup - 3.0.4-3 +- better install manual pages for libarchive/bsdtar/bsdcpio (# ... ) +- several fedora-review fixes ...: +- Source0 has moved to github.com +- remove trailing white spaces +- repair summary to better describe bsdtar/cpiotar utilities + * Thu Jul 19 2012 Fedora Release Engineering - 3.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild