perl-CGI-Simple-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. Summary: Simple totally OO CGI interface that is CGI.pm compliant
  2. Name: perl-CGI-Simple
  3. Version: 1.115
  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. * Sat Oct 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.115-1
  43. - new upstream release
  44. - built with perl 5.16.3
  45. * Sun May 22 2011 IWAI, Masaharu <iwai@alib.jp> 1.113-1
  46. - new upstream release
  47. - add Vendor and Distribution tags
  48. * Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.112-1
  49. - new upstream release
  50. - applied new versioning policy
  51. - built with perl 5.10.0
  52. - added BR: perl-IO-stringy (for make test)
  53. * Sat Jul 21 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1-0vl1
  54. - new upstream release
  55. - changed Group to Development/Libraries
  56. * Fri Sep 9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.077-5vl1
  57. - rebuild for Vine Linux
  58. * Sun Sep 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-5
  59. - remove BR: perl
  60. - add license texts
  61. * Fri Jul 29 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-4
  62. - cleanup chmod -x
  63. * Wed Jul 27 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-3
  64. - add missing documentation
  65. - fix URL
  66. * Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-2
  67. - cleanups
  68. * Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.077-1
  69. - Initial package for Fedora Extras