1 Summary: Library to create and read several different archive formats
7 Source0: http://libarchive.org/downloads/%{name}-%{version}.tar.gz
8 URL: http:/libarchive.org/
13 BuildRequires: gcc-c++
15 BuildRequires: zlib-devel
17 BuildRoot: %{_tmppath}/%{name}-%{version}-build
20 Libarchive is a programming library that can create and read several
21 different streaming archive formats, including most popular TAR
22 variants and several CPIO formats. It can also write SHAR archives.
25 Summary: Header files for libarchive library
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
30 Header files for libarchive library.
33 Summary: Static libarchive library
34 Group: Development/Libraries
35 Requires: %{name}-devel = %{version}-%{release}
38 Static libarchive library.
41 Summary: bsdtar - tar(1) implementation based on libarchive
42 Group: Applications/Archiving
43 Requires: %{name} = %{version}-%{release}
45 %description -n bsdtar
46 bsdtar - tar(1) implementation based on libarchive.
49 Summary: bsdcpio - cpio(1) implementation based on libarchive
50 Group: Applications/Archiving
51 Requires: %{name} = %{version}-%{release}
53 %description -n bsdcpio
54 bsdcpio - cpio(1) implementation based on libarchive
63 --libexecdir=%{_libexecdir} \
66 --infodir=%{_infodir} \
69 | tee %{buildroot}/config.log
70 make | tee %{buildroot}/make.log
73 [ "%buildroot" != "/" ] && [ -d %buildroot ] && rm -rf %buildroot;
74 make DESTDIR=%buildroot install
80 %{_libdir}/libarchive.so*
83 %{_libdir}/libarchive.a
86 %{_libdir}/pkgconfig/libarchive.pc
87 %{_libdir}/libarchive.la
89 %doc %{_mandir}/man3/*
90 %doc %{_mandir}/man5/*
93 %attr(755,root,root) %{_bindir}/bsdtar
94 %doc %{_mandir}/man1/bsdtar.1*
97 %attr(755,root,root) %{_bindir}/bsdcpio
98 %doc %{_mandir}/man1/bsdcpio.1*
101 * Wed May 01 2013 Nikolai Lifanov <lifanov@mail.lifanov.com> - 3.1.2-1
103 - contrib/libarchive.spec by PLD team overhaul
104 - Added "bsdcpio" package
105 - Fixed build on x86_64 platform