libzip-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Summary: C library for reading, creating, and modifying zip archives
  2. Name: libzip
  3. Version: 0.9.3
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: BSD
  7. URL: http://www.nih.at/libzip/index.html
  8. Source0: http://www.nih.at/libzip/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: zlib-devel >= 1.2.2
  11. BuildRequires: pkgconfig
  12. %description
  13. libzip is a C library for reading, creating, and modifying zip archives. Files
  14. can be added from data buffers, files, or compressed data copied directly from
  15. other zip archives. Changes made without closing the archive can be reverted.
  16. The API is documented by man pages.
  17. %package devel
  18. Summary: Development files for %{name}
  19. Group: Development/Libraries
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: pkgconfig
  22. Requires: zlib-devel
  23. %description devel
  24. The %{name}-devel package contains libraries and header files for
  25. developing applications that use %{name}.
  26. %prep
  27. %setup -q
  28. %build
  29. %configure --disable-static
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  34. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %post -p /sbin/ldconfig
  38. %postun -p /sbin/ldconfig
  39. %files
  40. %defattr(-,root,root,-)
  41. %doc AUTHORS NEWS README THANKS TODO
  42. %{_bindir}/zipcmp
  43. %{_bindir}/zipmerge
  44. %{_bindir}/ziptorrent
  45. %{_libdir}/libzip.so.1*
  46. %{_mandir}/man1/*zip*
  47. %files devel
  48. %defattr(-,root,root,-)
  49. %{_includedir}/zip.h
  50. %{_libdir}/libzip.so
  51. %{_libdir}/pkgconfig/libzip.pc
  52. %{_mandir}/man3/*zip*
  53. %changelog
  54. * Sat Mar 6 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.3-1
  55. - new upstream release
  56. - built with new toolchain
  57. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9-5
  58. - fixed %%changelog based on libzip-0.9-1vl5(VinePlus/5.0) package
  59. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9-4
  60. - Initial build for Vine Linux
  61. * Sat Feb 14 2009 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9-1
  62. - initial release