libarchive-vl.spec 2.9 KB

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