Summary: Multi-format archive and compression library Name: libarchive Version: 3.1.2 Release: 2%{?dist} License: BSD 2-Clause License URL: http://www.libarchive.org/ Group: System Environment/Development Vendor: VMware, Inc. Distribution: Photon Source0: http://www.libarchive.org/downloads/%{name}-%{version}.tar.gz %define sha1 libarchive=6a991777ecb0f890be931cec4aec856d1a195489 %description Multi-format archive and compression library %package devel Summary: Header and development files Requires: %{name} = %{version} %description devel It contains the libraries and header files to create applications %prep %setup -q %build export CFLAGS="%{optflags}" ./configure --prefix=%{_prefix} make %{?_smp_mflags} %install rm -rf %{buildroot}%{_infodir} make DESTDIR=%{buildroot} install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir} %{_bindir} %exclude %{_libdir}/debug/ %files devel %defattr(-,root,root) %{_includedir} %{_mandir} %changelog * Wed Jul 8 2015 Alexey Makhalov <amakhalov@vmware.com> 3.1.2-2 - Added devel package, dist tag. Use macroses part. * Fri Jun 5 2015 Touseef Liaqat <tliaqat@vmware.com> 3.1.2-1 - Initial build. First version