perl-Archive-Zip-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Summary: Perl library for accessing Zip archives
  2. Name: perl-Archive-Zip
  3. Version: 1.23
  4. Release: 1%{_dist_release}
  5. Group: Development/Libraries
  6. URL: http://search.cpan.org/dist/Archive-Zip/
  7. License: distributable
  8. Source0: http://search.cpan.org/CPAN/authors/id/S/SM/SMPETERS/Archive-Zip-%{version}.tar.gz
  9. BuildArch: noarch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: perl
  12. BuildRequires: perl-File-Which
  13. Requires: perl
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. The Archive::Zip module allows a Perl program to create, manipulate,
  18. read, and write Zip archive files.
  19. Zip archives can be created, or you can read from existing zip files.
  20. Once created, they can be written to files, streams, or strings.
  21. Members can be added, removed, extracted, replaced, rearranged, and
  22. enumerated. They can also be renamed or have their dates, comments,
  23. or other attributes queried or modified. Their data can be compressed
  24. or uncompressed as needed. Members can be created from members in
  25. existing Zip files, or from existing directories, files, or strings.
  26. %prep
  27. %setup -q -n Archive-Zip-%{version}
  28. %{__perl} -pi -e 's|^#!/bin/perl|#!%{__perl}|' examples/*.pl
  29. %{__perl} -pi -e 's|^#!/usr/local/bin/perl|#!%{__perl}|' examples/selfex.pl
  30. %build
  31. %{__perl} Makefile.PL INSTALLDIRS=vendor
  32. %{__make} %{?_smp_mflags}
  33. %install
  34. %{__rm} -rf $RPM_BUILD_ROOT
  35. %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  36. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  37. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  38. %{__chmod} -R u+w $RPM_BUILD_ROOT/*
  39. %check || :
  40. %{__make} test
  41. %clean
  42. %{__rm} -rf $RPM_BUILD_ROOT
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc Changes LICENSE README examples/
  46. %{_bindir}/crc32
  47. %{perl_vendorlib}/Archive/
  48. %{_mandir}/man3/Archive*.3*
  49. %changelog
  50. * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.23-1
  51. - rebuilt with perl-5.10.0.
  52. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.23-0vl1
  53. - new upstream release
  54. * Sun Jul 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.20-0vl1
  55. - new upstream release
  56. * Tue Dec 5 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.18-0vl1
  57. - new upstream release
  58. - added BuildRequires: perl-File-Which
  59. - changed Group to Development/Libraries
  60. * Mon Sep 18 2006 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.16-0vl1
  61. - rebuild for Vine 4.0 beta 2
  62. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com>
  63. - sh: line 0: fg: no job control
  64. - rebuild
  65. * Fri Feb 03 2006 Jason Vas Dias<jvdias@redhat.com> - 1.16-1.2
  66. - rebuilt for new perl-5.8.8
  67. * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
  68. - rebuilt for new gcc
  69. * Mon Jul 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.16-1
  70. - Update to 1.16.
  71. * Thu Apr 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1
  72. - Update to 1.14.
  73. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  74. - rebuilt
  75. * Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
  76. - Update to 1.12.
  77. * Tue Jul 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1
  78. - Update to 1.11.
  79. - Bring up to date with current fedora.us Perl spec template.
  80. * Sun Apr 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1
  81. - Update to 1.10.
  82. - Reduce directory ownership bloat.
  83. - Require perl(:MODULE_COMPAT_*).
  84. * Fri Nov 28 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
  85. - Update to 1.09.
  86. * Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1
  87. - Update to 1.08.
  88. * Tue Oct 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1
  89. - Update to 1.07.
  90. * Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1
  91. - Update to 1.06.
  92. - Specfile cleanups.
  93. * Sun Jun 8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.05-0.fdr.1
  94. - First build.