perl-IO-Compress-Zlib-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. %define module IO-Compress-Zlib
  2. %define name perl-%{module}
  3. %define version 2.008
  4. %define release 0vl1
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Summary: A Perl interface to allow reading and writing gzip and zip files/buffers
  9. License: GPL or Artistic
  10. Group: Development/Languages
  11. Source0: http://search.cpan.org/CPAN/authors/id/P/PM/PMQS/%{module}-%{version}.tar.gz
  12. Url: http://search.cpan.org/dist/%{module}/
  13. BuildRoot: %{_tmppath}/%{name}-%{version}
  14. BuildRequires: perl(Compress::Raw::Zlib) >= %version
  15. BuildRequires: perl(IO::Compress::Base) >= %version
  16. BuildArch: noarch
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. A Perl interface to allow reading and writing of RFC
  21. 1950, 1951, 1952 (i.e. gzip) and zip files/buffers.
  22. %prep
  23. %setup -q -n %{module}-%{version}
  24. %build
  25. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
  26. %{__make}
  27. %check
  28. %{__make} test
  29. %clean
  30. rm -rf %{buildroot}
  31. %install
  32. rm -rf %{buildroot}
  33. %makeinstall
  34. rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  35. rm -rf %{buildroot}%{perl_vendorarch}
  36. %files
  37. %defattr(-,root,root)
  38. %doc README Changes
  39. %{_mandir}/*/*
  40. %{perl_vendorlib}/*
  41. %changelog
  42. * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.008-0vl1
  43. - built for release
  44. * Sun Mar 02 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.008-0vl0.1
  45. - test package for VineSeed
  46. - new upstream release
  47. * Sun Sep 02 2007 Guillaume Rousse <guillomovitch@mandriva.org> 2.006-1mdv2008.0
  48. + Revision: 78408
  49. - update to new version 2.006
  50. * Fri Jul 06 2007 Olivier Thauvin <nanardon@mandriva.org> 2.005-1mdv2008.0
  51. + Revision: 48847
  52. - 2.005
  53. * Tue Mar 06 2007 Olivier Thauvin <nanardon@mandriva.org> 2.004-1mdv2007.0
  54. + Revision: 133978
  55. - 2.004
  56. * Sat Jan 06 2007 Olivier Thauvin <nanardon@mandriva.org> 2.003-3mdv2007.1
  57. + Revision: 104978
  58. - 2.003
  59. * Fri Nov 17 2006 Olivier Thauvin <nanardon@mandriva.org> 2.001-3mdv2007.1
  60. + Revision: 85396
  61. - bump release again to be allow to retry a build
  62. * Mon Nov 13 2006 Olivier Thauvin <nanardon@mandriva.org> 2.001-2mdv2007.1
  63. + Revision: 83940
  64. - remove useless buildrequires
  65. - first mdv package
  66. - Create perl-IO-Compress-Zlib