General
Start
APT/YUM/Smart config
List of packages
GPG key
Mirrors
Recent changes
How you can help
Pydar2
Thanks:
Primary buildsystem hosted at ithomi
SUSE and Mandrake builds made by the openSUSE build service
Static site hosted at ULYSSIS
Primary mirrors hosted at BELNET, HEAnet, 3TI
Varia:
Random picture!
Looking for a java job?
Leuven blogt

perl-CGI-Session spec file : Dries RPM Repository

Back to the perl-CGI-Session rpms

Current spec in pydar2:


# $Id: perl-CGI-Session.spec 5984 2007-11-11 22:25:32Z dag $
# Authority: dries
# Upstream: Sherzod Ruzmetov 

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name CGI-Session

Summary: Persistent session data in CGI applications
Name: perl-CGI-Session
Version: 4.20
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/CGI-Session/

Source: http://www.cpan.org/modules/by-module/CGI/CGI-Session-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
CGI-Session is a Perl5 library that provides an easy, reliable and
modular session management system across HTTP requests. Persistency is a
key feature for such applications as shopping carts,
login/authentication routines, and application that need to carry data
accross HTTP requests. CGI::Session does that and many more.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%{__rm} -f %{buildroot}%{perl_vendorlib}/CGI/Session.pm.mine %{buildroot}%{perl_vendorlib}/CGI/Session.pm.r24[29]

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes README
%doc %{_mandir}/man3/*
%{perl_vendorlib}/CGI/Session.pm
%{perl_vendorlib}/CGI/Session

%changelog
* Wed Jan 03 2007 Dries Verachtert  - 4.20-1
- Updated to release 4.20.

* Mon Sep 18 2006 Dries Verachtert  - 4.14-1
- Updated to release 4.14.

* Fri Jun  2 2006 Dries Verachtert  - 4.13-1
- Updated to release 4.13.

* Sun Mar 26 2006 Dries Verachtert  - 4.09-1
- Updated to release 4.09.

* Wed Mar 22 2006 Dries Verachtert  - 4.03-1.2
- Rebuild for Fedora Core 5.

* Sat Nov  5 2005 Dries Verachtert  - 4.03-1
- Updated to release 4.03.

* Sat Apr  9 2005 Dries Verachtert  - 4.00_08-1
- Initial package.