libarchive-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Name: libarchive
  2. Version: 2.6.0
  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: sharutils
  13. %description
  14. Libarchive is a programming library that can create and read several different
  15. streaming archive formats, including most popular tar variants, several cpio
  16. formats, and both BSD and GNU ar variants. It can also write shar archives and
  17. read ISO9660 CDROM images and ZIP archives.
  18. %package devel
  19. Summary: Development files for %{name}
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. %description devel
  23. The %{name}-devel package contains libraries and header files for
  24. developing applications that use %{name}.
  25. %prep
  26. %setup -q
  27. %build
  28. %configure --disable-static --disable-bsdtar
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. #iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
  34. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  35. find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';'
  36. find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';'
  37. find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';'
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %post -p /sbin/ldconfig
  41. %postun -p /sbin/ldconfig
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc COPYING README NEWS
  45. %{_libdir}/*.so.*
  46. %files devel
  47. %defattr(-,root,root,-)
  48. %doc
  49. %{_includedir}/*
  50. %{_mandir}/*/*
  51. %{_libdir}/*.so
  52. %changelog
  53. * Wed Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
  54. - new upstream release
  55. * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5
  56. - Build for Vine Linux
  57. * Wed Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
  58. - Initial packaging