perl-CGI-Simple-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Summary: Simple totally OO CGI interface that is CGI.pm compliant
  2. Name: perl-CGI-Simple
  3. Version: 1.113
  4. Release: 1%{?_dist_release}
  5. Group: Development/Libraries
  6. License: GPL or Artistic
  7. URL: http://search.cpan.org/~andya/CGI-Simple/
  8. Source0: http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/CGI-Simple-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. BuildRequires: perl >= 5.8.2
  12. BuildRequires: perl-IO-stringy
  13. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. %{summary}.
  18. %prep
  19. %setup -q -n CGI-Simple-%{version}
  20. chmod -x Changes README
  21. perldoc -t perlartistic > Artistic
  22. perldoc -t perlgpl > COPYING
  23. %build
  24. %{__perl} Makefile.PL INSTALLDIRS=vendor
  25. make
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  29. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  30. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  31. chmod -R u+w $RPM_BUILD_ROOT/*
  32. %check
  33. make test
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %files
  37. %defattr(-,root,root,-)
  38. %doc Artistic COPYING Changes README
  39. %{perl_vendorlib}/CGI
  40. %{_mandir}/man3/*.3*
  41. %changelog
  42. * Sun May 22 2011 IWAI, Masaharu <iwai@alib.jp> 1.113-1
  43. - new upstream release
  44. - add Vendor and Distribution tags
  45. * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.112-1
  46. - new upstream release
  47. - applied new versioning policy
  48. - built with perl 5.10.0
  49. - added BR: perl-IO-stringy (for make test)
  50. * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-0vl1
  51. - new upstream release
  52. - changed Group to Development/Libraries
  53. * Fri Sep 9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.077-5vl1
  54. - rebuild for Vine Linux
  55. * Sun Sep 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-5
  56. - remove BR: perl
  57. - add license texts
  58. * Fri Jul 29 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-4
  59. - cleanup chmod -x
  60. * Wed Jul 27 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-3
  61. - add missing documentation
  62. - fix URL
  63. * Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-2
  64. - cleanups
  65. * Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-1
  66. - Initial package for Fedora Extras