perl-CGI-Simple-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. Summary: Simple totally OO CGI interface that is CGI.pm compliant
  2. Name: perl-CGI-Simple
  3. Version: 1.112
  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. %description
  15. %{summary}.
  16. %prep
  17. %setup -q -n CGI-Simple-%{version}
  18. chmod -x Changes README
  19. perldoc -t perlartistic > Artistic
  20. perldoc -t perlgpl > COPYING
  21. %build
  22. %{__perl} Makefile.PL INSTALLDIRS=vendor
  23. make
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  27. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  28. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  29. chmod -R u+w $RPM_BUILD_ROOT/*
  30. %check
  31. make test
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %files
  35. %defattr(-,root,root,-)
  36. %doc Artistic COPYING Changes README
  37. %{perl_vendorlib}/CGI
  38. %{_mandir}/man3/*.3*
  39. %changelog
  40. * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.112-1
  41. - new upstream release
  42. - applied new versioning policy
  43. - built with perl 5.10.0
  44. - added BR: perl-IO-stringy (for make test)
  45. * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-0vl1
  46. - new upstream release
  47. - changed Group to Development/Libraries
  48. * Fri Sep 9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.077-5vl1
  49. - rebuild for Vine Linux
  50. * Sun Sep 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-5
  51. - remove BR: perl
  52. - add license texts
  53. * Fri Jul 29 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-4
  54. - cleanup chmod -x
  55. * Wed Jul 27 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-3
  56. - add missing documentation
  57. - fix URL
  58. * Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-2
  59. - cleanups
  60. * Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-1
  61. - Initial package for Fedora Extras