]> git.pld-linux.org Git - packages/libarchive.git/blobdiff - libarchive.spec
- updated to 3.3.1
[packages/libarchive.git] / libarchive.spec
index 8e8728be109f2876c1b6f14ce2b42a7111192384..1c3e16e4a6419f18a1b02371fce0344ba56d2aa4 100644 (file)
@@ -5,12 +5,12 @@
 Summary:       Multi-format archive and compression library
 Summary(pl.UTF-8):     Biblioteka do archiwizacji i kompresji w wielu formatach
 Name:          libarchive
-Version:       3.2.2
+Version:       3.3.1
 Release:       1
 License:       BSD
 Group:         Libraries
 Source0:       http://www.libarchive.org/downloads/%{name}-%{version}.tar.gz
-# Source0-md5: 1ec00b7dcaf969dd2a5712f85f23c764
+# Source0-md5: d2af45480aa5b0db5b5f3919cd0ea65e
 Patch0:                %{name}-man_progname.patch
 URL:           http://www.libarchive.org/
 BuildRequires: acl-devel
@@ -120,12 +120,15 @@ bsdtar - implementacja programu tar(1), oparta na libarchive.
 
 %build
 CPPFLAGS="%{rpmcppflags} -I/usr/include/lz4"
+# disable openssl, nettle has all necessary functionality
 %configure \
        --disable-silent-rules \
        --enable-bsdcat=shared \
        --enable-bsdcpio=shared \
        --enable-bsdtar=shared \
-       --enable-static%{!?with_static_libs:=no}
+       --enable-static%{!?with_static_libs:=no} \
+       --with-lzo2 \
+       --without-openssl
 %{__make} -j1
 
 %install
@@ -133,6 +136,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libarchive.la
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -148,7 +154,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libarchive.so
-%{_libdir}/libarchive.la
 %{_includedir}/archive*.h
 %{_mandir}/man3/archive_*.3*
 %{_mandir}/man3/libarchive.3*
This page took 0.070457 seconds and 4 git commands to generate.