libarchive-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Name: libarchive
  2. Summary: A library for handling streaming archive formats
  3. Version: 3.0.4
  4. Release: 1%{?_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: openssl-devel
  15. BuildRequires: libxml2-devel
  16. BuildRequires: xz-devel
  17. BuildRequires: sharutils
  18. %description
  19. Libarchive is a programming library that can create and read several different
  20. streaming archive formats, including most popular tar variants, several cpio
  21. formats, and both BSD and GNU ar variants. It can also write shar archives and
  22. read ISO9660 CDROM images and ZIP archives.
  23. %package devel
  24. Summary: Development files for %{name}
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. %description devel
  28. The %{name}-devel package contains libraries and header files for
  29. developing applications that use %{name}.
  30. %prep
  31. %setup -q
  32. %build
  33. %configure \
  34. --disable-static \
  35. --disable-bsdtar --disable-bsdcpio
  36. make %{?_smp_mflags}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install DESTDIR=$RPM_BUILD_ROOT
  40. #iconv -f latin1 -t utf-8 < NEWS > NEWS.utf8; cp NEWS.utf8 NEWS
  41. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  42. find $RPM_BUILD_ROOT -name cpio.5 -exec rm -f {} ';'
  43. find $RPM_BUILD_ROOT -name mtree.5 -exec rm -f {} ';'
  44. find $RPM_BUILD_ROOT -name tar.5 -exec rm -f {} ';'
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc COPYING README NEWS
  52. %{_libdir}/*.so.*
  53. %files devel
  54. %defattr(-,root,root,-)
  55. %doc
  56. %{_includedir}/*
  57. %{_mandir}/*/*
  58. %{_libdir}/*.so
  59. %{_libdir}/pkgconfig/*.pc
  60. %changelog
  61. * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
  62. - new upstream release
  63. * Thu May 19 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-4
  64. - add BuildRequires: openssl-devel, libxml2-devel
  65. * Thu May 19 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.4-3
  66. - rebuild against liblzma.so.5
  67. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.4-2
  68. - rebuild with rpm-4.8.1 for pkg-config file
  69. * Sun Sep 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.4-1
  70. - new upstream release
  71. * Wed Apr 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-1
  72. - new upstream release
  73. - built with new toolchain
  74. * Wed Apr 8 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-1
  75. - new upstream release
  76. * Wed Apr 2 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.14-1vl5
  77. - Build for Vine Linux
  78. * Wed Mar 18 2008 Tomas Bzatek <tbzatek@redhat.com> 2.4.14-1
  79. - Initial packaging