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