libarchive-vl.spec 2.2 KB

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