# $Id: perl-CGI-Persistent.spec,v 1.1 2007/11/25 23:13:29 slords Exp $ # Authority: dag # Upstream: Vipul Ved Prakash %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) %define real_name CGI-Persistent Summary: Transparent state persistence for CGI applications Name: perl-CGI-Persistent Version: 1.00 Release: 2.0.1%{dist} License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/CGI-Persistent/ Packager: Dag Wieers Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ Source: http://www.cpan.org/modules/by-module/CGI/CGI-Persistent-%{version}.tar.gz Patch0: perl-CGI-Persistent-1.00-relpath.patch Patch1: perl-CGI-Persistent-1.00-relpath.patch2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl %description Transparent state persistence for CGI applications. %prep %setup -n %{real_name}-%{version} %patch0 -p1 %patch1 -p1 %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} {} \; %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc MANIFEST META.yml %doc %{_mandir}/man3/CGI::Persistent.3pm* %dir %{perl_vendorlib}/CGI/ #%{perl_vendorlib}/CGI/Persistent/ %{perl_vendorlib}/CGI/Persistent.pm %changelog * Sun Nov 25 2007 Shad L. Lords - 1.00-2.0.1 - Added no-xhtml pragma to 'use CGI' to avoid l10n weirdness [skud 3390] - Changed to not use full paths in .id field, and to store session directory from new() [markk 4652] - Better handling of session directory to eliminate some warnings [markk 4768] - Gracefully handle missing $id arg in constructor. - Added stringify of cgi params as black magic workaround to undetermined crash in Data::Dumper::Dumpxs. [sme 1837] - Avoid portability problem with File::Basename::basename. [SME: 2472] - Update base package to 1.00, with all SME fixes applied. [SME: 3584] - Sync with rpmforge package to make pushing update upstream easier. [SME: 3584] * Sun Nov 25 2007 Dag Wieers - 1.00-2 - 6014+/dag - Added patch to restrict access. (Shad L. Lords) * Fri Nov 23 2007 Dag Wieers - 1.00-1 - Initial package. (using DAR)