[1872] | 1 | Name: libarchive |
---|
| 2 | Summary: A library for handling streaming archive formats |
---|
[12428] | 3 | Version: 3.4.3 |
---|
[6304] | 4 | Release: 1%{?_dist_release} |
---|
[12299] | 5 | Group: System Environment/Libraries |
---|
| 6 | Vendor: Project Vine |
---|
| 7 | Distribution: Vine Linux |
---|
| 8 | |
---|
[1872] | 9 | License: BSD |
---|
[12299] | 10 | URL: https://www.libarchive.org/ |
---|
| 11 | Source0: https://www.libarchive.org/downloads/%{name}-%{version}.tar.gz |
---|
[521] | 12 | |
---|
[1872] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[521] | 14 | BuildRequires: bzip2-devel |
---|
[827] | 15 | BuildRequires: libacl-devel |
---|
| 16 | BuildRequires: libattr-devel |
---|
[12428] | 17 | BuildRequires: libxml2-devel |
---|
| 18 | BuildRequires: libzstd-devel |
---|
| 19 | BuildRequires: lz4-devel |
---|
[3913] | 20 | BuildRequires: openssl-devel |
---|
[827] | 21 | BuildRequires: xz-devel |
---|
[12428] | 22 | BuildRequires: zlib-devel |
---|
[521] | 23 | |
---|
[8758] | 24 | |
---|
[521] | 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 | |
---|
[1872] | 31 | %package devel |
---|
| 32 | Summary: Development files for %{name} |
---|
| 33 | Group: Development/Libraries |
---|
| 34 | Requires: %{name} = %{version}-%{release} |
---|
[521] | 35 | |
---|
[1872] | 36 | %description devel |
---|
[521] | 37 | The %{name}-devel package contains libraries and header files for |
---|
| 38 | developing applications that use %{name}. |
---|
| 39 | |
---|
[12428] | 40 | |
---|
[521] | 41 | %prep |
---|
| 42 | %setup -q |
---|
| 43 | |
---|
[12428] | 44 | |
---|
[521] | 45 | %build |
---|
[827] | 46 | %configure \ |
---|
| 47 | --disable-static \ |
---|
[10291] | 48 | --disable-bsdtar --disable-bsdcpio --disable-bsdcat |
---|
[521] | 49 | make %{?_smp_mflags} |
---|
| 50 | |
---|
[12428] | 51 | |
---|
[521] | 52 | %install |
---|
| 53 | rm -rf $RPM_BUILD_ROOT |
---|
| 54 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 55 | #iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS |
---|
| 56 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 57 | find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';' |
---|
| 58 | find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';' |
---|
| 59 | find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';' |
---|
| 60 | |
---|
[12428] | 61 | |
---|
[521] | 62 | %clean |
---|
| 63 | rm -rf $RPM_BUILD_ROOT |
---|
| 64 | |
---|
[12428] | 65 | |
---|
[521] | 66 | %post -p /sbin/ldconfig |
---|
| 67 | |
---|
| 68 | %postun -p /sbin/ldconfig |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | %files |
---|
| 72 | %defattr(-,root,root,-) |
---|
[12299] | 73 | %license COPYING |
---|
| 74 | %doc README* NEWS |
---|
[521] | 75 | %{_libdir}/*.so.* |
---|
| 76 | |
---|
| 77 | %files devel |
---|
| 78 | %defattr(-,root,root,-) |
---|
| 79 | %doc |
---|
| 80 | %{_includedir}/* |
---|
| 81 | %{_mandir}/*/* |
---|
| 82 | %{_libdir}/*.so |
---|
[827] | 83 | %{_libdir}/pkgconfig/*.pc |
---|
[521] | 84 | |
---|
| 85 | %changelog |
---|
[12428] | 86 | * Thu Jul 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.3-1 |
---|
| 87 | - new upstream release. |
---|
| 88 | - added BR:lz4-devel. |
---|
| 89 | - added BR:libzstd-devel. |
---|
| 90 | |
---|
[12322] | 91 | * Sun Feb 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.2-1 |
---|
| 92 | - new upstream release. |
---|
| 93 | |
---|
[12299] | 94 | * Sat Oct 26 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.0-1 |
---|
| 95 | - new upstream release. |
---|
| 96 | |
---|
[11957] | 97 | * Fri Nov 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.3-1 |
---|
| 98 | - new upstream release. |
---|
| 99 | |
---|
[11284] | 100 | * Tue Dec 19 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3.2-1 |
---|
| 101 | - new upstream release. |
---|
| 102 | |
---|
[10291] | 103 | * Sun May 15 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
[8758] | 106 | * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.2-1 |
---|
| 107 | - update to 3.1.2 |
---|
| 108 | |
---|
[6304] | 109 | * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1 |
---|
| 110 | - new upstream release |
---|
| 111 | |
---|
[3913] | 112 | * Thu May 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-4 |
---|
| 113 | - add BuildRequires: openssl-devel, libxml2-devel |
---|
| 114 | |
---|
[3909] | 115 | * Thu May 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.4-3 |
---|
| 116 | - rebuild against liblzma.so.5 |
---|
| 117 | |
---|
[1901] | 118 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-2 |
---|
| 119 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 120 | |
---|
[1872] | 121 | * Sun Sep 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[827] | 124 | * Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1 |
---|
| 125 | - new upstream release |
---|
| 126 | - built with new toolchain |
---|
| 127 | |
---|
[8758] | 128 | * Tue Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1 |
---|
[521] | 129 | - new upstream release |
---|
| 130 | |
---|
| 131 | * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5 |
---|
| 132 | - Build for Vine Linux |
---|
| 133 | |
---|
[8758] | 134 | * Tue Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1 |
---|
[521] | 135 | - Initial packaging |
---|