source: projects/specs/trunk/p/perl-CGI-Simple/perl-CGI-Simple-vl.spec @ 521

Revision 521, 2.0 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

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