[521] | 1 | Name: libarchive |
---|
[827] | 2 | Version: 2.8.3 |
---|
[521] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: A library for handling streaming archive formats |
---|
| 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: BSD |
---|
| 8 | URL: http://people.freebsd.org/~kientzle/libarchive/ |
---|
| 9 | Source0: http://people.freebsd.org/~kientzle/libarchive/src/libarchive-%{version}.tar.gz |
---|
| 10 | |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | BuildRequires: zlib-devel |
---|
| 13 | BuildRequires: bzip2-devel |
---|
[827] | 14 | BuildRequires: libacl-devel |
---|
| 15 | BuildRequires: libattr-devel |
---|
| 16 | BuildRequires: xz-devel |
---|
[521] | 17 | BuildRequires: sharutils |
---|
| 18 | |
---|
| 19 | %description |
---|
| 20 | Libarchive is a programming library that can create and read several different |
---|
| 21 | streaming archive formats, including most popular tar variants, several cpio |
---|
| 22 | formats, and both BSD and GNU ar variants. It can also write shar archives and |
---|
| 23 | read ISO9660 CDROM images and ZIP archives. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for %{name} |
---|
| 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | |
---|
| 30 | %description devel |
---|
| 31 | The %{name}-devel package contains libraries and header files for |
---|
| 32 | developing applications that use %{name}. |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q |
---|
| 36 | |
---|
| 37 | %build |
---|
[827] | 38 | %configure \ |
---|
| 39 | --disable-static \ |
---|
| 40 | --disable-bsdtar --disable-bsdcpio |
---|
[521] | 41 | make %{?_smp_mflags} |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 46 | #iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS |
---|
| 47 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 48 | find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';' |
---|
| 49 | find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';' |
---|
| 50 | find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';' |
---|
| 51 | |
---|
| 52 | %clean |
---|
| 53 | rm -rf $RPM_BUILD_ROOT |
---|
| 54 | |
---|
| 55 | %post -p /sbin/ldconfig |
---|
| 56 | |
---|
| 57 | %postun -p /sbin/ldconfig |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %files |
---|
| 61 | %defattr(-,root,root,-) |
---|
| 62 | %doc COPYING README NEWS |
---|
| 63 | %{_libdir}/*.so.* |
---|
| 64 | |
---|
| 65 | %files devel |
---|
| 66 | %defattr(-,root,root,-) |
---|
| 67 | %doc |
---|
| 68 | %{_includedir}/* |
---|
| 69 | %{_mandir}/*/* |
---|
| 70 | %{_libdir}/*.so |
---|
[827] | 71 | %{_libdir}/pkgconfig/*.pc |
---|
[521] | 72 | |
---|
| 73 | %changelog |
---|
[827] | 74 | * Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1 |
---|
| 75 | - new upstream release |
---|
| 76 | - built with new toolchain |
---|
| 77 | |
---|
[521] | 78 | * Wed Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1 |
---|
| 79 | - new upstream release |
---|
| 80 | |
---|
| 81 | * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5 |
---|
| 82 | - Build for Vine Linux |
---|
| 83 | |
---|
| 84 | * Wed Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1 |
---|
| 85 | - Initial packaging |
---|