Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > f388d0093e4e97d24cc519fdc105560e > files > 2

perl-CGI-Session-3.9-2mdk.src.rpm

%define module  CGI-Session
%define version 3.9
%define release 2mdk


Summary: 	%{module} module for perl
Name: 		perl-%{module}
Version: 	%{version}
Release: 	%{release}
License: 	GPL or Artistic
Group: 		Development/Perl
Source0: 	%{module}-%{version}.tar.bz2
Url:            http://search.cpan.org/search?dist=%{module}
BuildArch: 	noarch
BuildRoot: 	%{_tmppath}/%{name}-buildroot
Requires: 	perl
Requires: 	perl-base 
BuildRequires:	perl-devel

%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
rm -rf $RPM_BUILD_ROOT
%setup -q -n %{module}-%{version}
perl -pi -e 's/Digest::MD5/"Digest::MD5"/' Makefile.PL

%build
CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor
make

%install
make PREFIX=$RPM_BUILD_ROOT%{_prefix} install

%clean 
rm -rf $RPM_BUILD_ROOT

%files
%defattr(444,root,root,755)
%doc Changes README rfc2965.txt
%{perl_vendorlib}/CGI/*
%{perl_vendorlib}/auto/CGI/*
%{_mandir}/man3pm/*


%changelog
* Sat Jan 04 2003 Guillaume Rousse <g.rousse@linux-mandrake.com> 3.9-2mdk
- rebuild

* Sat Dec 07 2002 Guillaume Rousse <g.rousse@linux-mandrake.com> 3.9-1mdk
- first mdk release