source: projects/specs/branches/6/p/perl-CGI-Session/perl-CGI-Session-vl.spec @ 3923

Revision 3923, 2.3 KB checked in by iwaim, 13 years ago (diff)

perl-CGI-Session-4.43-1

Line 
1Summary: persistent session data in CGI applications with Perl
2Name: perl-CGI-Session
3Version: 4.43
4Release: 1%{?_dist_release}
5License: Artistic
6Group: Development/Libraries
7Source0: http://search.cpan.org/CPAN/authors/id/S/SH/SHERZODR/CGI-Session-%{version}.tar.gz
8URL: http://search.cpan.org/~sherzodr/CGI-Session/
9
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11BuildArch: noarch
12BuildRequires: perl >= 5.8.2
13Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
14
15Vendor: Project Vine
16Distribution: Vine Linux
17
18%description
19CGI-Session is a Perl5 library that provides an easy, reliable and
20modular session management system across HTTP requests. Persistency is a
21key feature for such applications as shopping carts,
22login/authentication routines, and application that need to carry data
23accross HTTP requests. CGI::Session does that and many more
24
25%prep
26%setup -q -n CGI-Session-%{version}
27
28%build
29CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
30make
31
32%install
33rm -rf $RPM_BUILD_ROOT
34mkdir -p $RPM_BUILD_ROOT%{_prefix}
35make DESTDIR=$RPM_BUILD_ROOT install
36
37find $RPM_BUILD_ROOT%{_prefix} -type f -print |
38        sed "s@^$RPM_BUILD_ROOT@@g" |
39        grep -v ^%{_mandir} |
40        grep -v perllocal.pod |
41        grep -v "\.packlist" > %{name}.files
42if [ "$(cat %{name}.files)X" = "X" ] ; then
43    echo "ERROR: EMPTY FILE LIST"
44    exit -1
45fi
46
47%check
48make test
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files -f %{name}.files
54%defattr(-,root,root)
55%doc README Changes
56%{_mandir}/*/*
57%dir %{perl_vendorlib}/CGI
58%dir %{perl_vendorlib}/CGI/Session
59%dir %{perl_vendorlib}/CGI/Session/ID
60%dir %{perl_vendorlib}/CGI/Session/Driver
61%dir %{perl_vendorlib}/CGI/Session/Serialize
62%dir %{perl_vendorlib}/CGI/Session/Test
63
64%changelog
65* Sun May 22 2011 IWAI, Masaharu <iwai@alib.jp> 4.43-1
66- new upstream release
67
68* Thu Nov 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.42-1
69- new upstream release
70- applied new versioning policy
71
72* Wed Jan 02 2008 Shu KONNO <owa@bg.wakwak.com> 4.14-0vl3
73- rebuilt
74
75* Thu Nov 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.14-0vl1
76- updated to 4.14
77- changed Group to Development/Libraries
78
79* Fri Sep  9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.02-0vl1
80- updated to 4.02
81- use vendor_perl dir
82
83* Mon Apr 28 2003 IWAI Masaharu <iwai@alib.jp> 3.93-0vl1
84- first build for Vine Linux
Note: See TracBrowser for help on using the repository browser.