| 1 | Name: libarchive |
|---|
| 2 | Summary: A library for handling streaming archive formats |
|---|
| 3 | Version: 3.3.2 |
|---|
| 4 | Release: 1%{?_dist_release} |
|---|
| 5 | |
|---|
| 6 | Group: System Environment/Libraries |
|---|
| 7 | License: BSD |
|---|
| 8 | URL: http://www.libarchive.org/ |
|---|
| 9 | |
|---|
| 10 | Source0: http://www.libarchive.org/downloads/%{name}-%{version}.tar.gz |
|---|
| 11 | |
|---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 13 | BuildRequires: zlib-devel |
|---|
| 14 | BuildRequires: bzip2-devel |
|---|
| 15 | BuildRequires: libacl-devel |
|---|
| 16 | BuildRequires: libattr-devel |
|---|
| 17 | BuildRequires: openssl-devel |
|---|
| 18 | BuildRequires: libxml2-devel |
|---|
| 19 | BuildRequires: xz-devel |
|---|
| 20 | |
|---|
| 21 | Vendor: Project Vine |
|---|
| 22 | Distribution: Vine Linux |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | %description |
|---|
| 26 | Libarchive is a programming library that can create and read several different |
|---|
| 27 | streaming archive formats, including most popular tar variants, several cpio |
|---|
| 28 | formats, and both BSD and GNU ar variants. It can also write shar archives and |
|---|
| 29 | read ISO9660 CDROM images and ZIP archives. |
|---|
| 30 | |
|---|
| 31 | %package devel |
|---|
| 32 | Summary: Development files for %{name} |
|---|
| 33 | Group: Development/Libraries |
|---|
| 34 | Requires: %{name} = %{version}-%{release} |
|---|
| 35 | |
|---|
| 36 | %description devel |
|---|
| 37 | The %{name}-devel package contains libraries and header files for |
|---|
| 38 | developing applications that use %{name}. |
|---|
| 39 | |
|---|
| 40 | %prep |
|---|
| 41 | %setup -q |
|---|
| 42 | |
|---|
| 43 | %build |
|---|
| 44 | %configure \ |
|---|
| 45 | --disable-static \ |
|---|
| 46 | --disable-bsdtar --disable-bsdcpio --disable-bsdcat |
|---|
| 47 | make %{?_smp_mflags} |
|---|
| 48 | |
|---|
| 49 | %install |
|---|
| 50 | rm -rf $RPM_BUILD_ROOT |
|---|
| 51 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 52 | #iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS |
|---|
| 53 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
|---|
| 54 | find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';' |
|---|
| 55 | find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';' |
|---|
| 56 | find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';' |
|---|
| 57 | |
|---|
| 58 | %clean |
|---|
| 59 | rm -rf $RPM_BUILD_ROOT |
|---|
| 60 | |
|---|
| 61 | %post -p /sbin/ldconfig |
|---|
| 62 | |
|---|
| 63 | %postun -p /sbin/ldconfig |
|---|
| 64 | |
|---|
| 65 | |
|---|
| 66 | %files |
|---|
| 67 | %defattr(-,root,root,-) |
|---|
| 68 | %doc COPYING README* NEWS |
|---|
| 69 | %{_libdir}/*.so.* |
|---|
| 70 | |
|---|
| 71 | %files devel |
|---|
| 72 | %defattr(-,root,root,-) |
|---|
| 73 | %doc |
|---|
| 74 | %{_includedir}/* |
|---|
| 75 | %{_mandir}/*/* |
|---|
| 76 | %{_libdir}/*.so |
|---|
| 77 | %{_libdir}/pkgconfig/*.pc |
|---|
| 78 | |
|---|
| 79 | %changelog |
|---|
| 80 | * Tue Dec 19 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.2-1 |
|---|
| 81 | - new upstream release. |
|---|
| 82 | |
|---|
| 83 | * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
|---|
| 84 | - new upstream release |
|---|
| 85 | |
|---|
| 86 | * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1 |
|---|
| 87 | - update to 3.1.2 |
|---|
| 88 | |
|---|
| 89 | * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1 |
|---|
| 90 | - new upstream release |
|---|
| 91 | |
|---|
| 92 | * Thu May 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-4 |
|---|
| 93 | - add BuildRequires: openssl-devel, libxml2-devel |
|---|
| 94 | |
|---|
| 95 | * Thu May 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.4-3 |
|---|
| 96 | - rebuild against liblzma.so.5 |
|---|
| 97 | |
|---|
| 98 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-2 |
|---|
| 99 | - rebuild with rpm-4.8.1 for pkg-config file |
|---|
| 100 | |
|---|
| 101 | * Sun Sep 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1 |
|---|
| 102 | - new upstream release |
|---|
| 103 | |
|---|
| 104 | * Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1 |
|---|
| 105 | - new upstream release |
|---|
| 106 | - built with new toolchain |
|---|
| 107 | |
|---|
| 108 | * Tue Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1 |
|---|
| 109 | - new upstream release |
|---|
| 110 | |
|---|
| 111 | * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5 |
|---|
| 112 | - Build for Vine Linux |
|---|
| 113 | |
|---|
| 114 | * Tue Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1 |
|---|
| 115 | - Initial packaging |
|---|