libarchive-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Name: libarchive
  2. Summary: A library for handling streaming archive formats
  3. Version: 2.8.4
  4. Release: 2%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: BSD
  7. URL: http://code.google.com/p/libarchive/
  8. Source0: http://libarchive.googlecode.com/files/%{name}-%{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. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-2
  60. - rebuild with rpm-4.8.1 for pkg-config file
  61. * Sun Sep 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1
  62. - new upstream release
  63. * Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1
  64. - new upstream release
  65. - built with new toolchain
  66. * Wed Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
  67. - new upstream release
  68. * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5
  69. - Build for Vine Linux
  70. * Wed Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
  71. - Initial packaging