perl-Archive-Zip-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. Summary: Perl library for accessing Zip archives
  2. Name: perl-Archive-Zip
  3. Version: 1.23
  4. Release: 2%{_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. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.23-2
  51. - rebuilt with perl-5.12.3
  52. * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.23-1
  53. - rebuilt with perl-5.10.0.
  54. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.23-0vl1
  55. - new upstream release
  56. * Sun Jul 22 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.20-0vl1
  57. - new upstream release
  58. * Tue Dec 5 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.18-0vl1
  59. - new upstream release
  60. - added BuildRequires: perl-File-Which
  61. - changed Group to Development/Libraries
  62. * Mon Sep 18 2006 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.16-0vl1
  63. - rebuild for Vine 4.0 beta 2
  64. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com>
  65. - sh: line 0: fg: no job control
  66. - rebuild
  67. * Fri Feb 03 2006 Jason Vas Dias<jvdias@redhat.com> - 1.16-1.2
  68. - rebuilt for new perl-5.8.8
  69. * Fri Dec 16 2005 Jesse Keating <jkeating@redhat.com>
  70. - rebuilt for new gcc
  71. * Mon Jul 11 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.16-1
  72. - Update to 1.16.
  73. * Thu Apr 14 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.14-1
  74. - Update to 1.14.
  75. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  76. - rebuilt
  77. * Sun Aug 15 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.12-0.fdr.1
  78. - Update to 1.12.
  79. * Tue Jul 6 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.11-0.fdr.1
  80. - Update to 1.11.
  81. - Bring up to date with current fedora.us Perl spec template.
  82. * Sun Apr 18 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.10-0.fdr.1
  83. - Update to 1.10.
  84. - Reduce directory ownership bloat.
  85. - Require perl(:MODULE_COMPAT_*).
  86. * Fri Nov 28 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.09-0.fdr.1
  87. - Update to 1.09.
  88. * Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.08-0.fdr.1
  89. - Update to 1.08.
  90. * Tue Oct 21 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.07-0.fdr.1
  91. - Update to 1.07.
  92. * Sun Sep 14 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.06-0.fdr.1
  93. - Update to 1.06.
  94. - Specfile cleanups.
  95. * Sun Jun 8 2003 Ville Skyttä <ville.skytta at iki.fi> - 0:1.05-0.fdr.1
  96. - First build.