Name: perl-CGI-Persistent Version: 1.11 Release: 1%{?dist} Summary: CGI::Persistent Perl module License: CHECK(GPL+ or Artistic) Group: Development/Libraries URL: http://search.cpan.org/dist/CGI-Persistent/ Source0: http://www.cpan.org/authors/id/V/VI/VIPUL/CGI-Persistent-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Persistence::Object::Simple) BuildRequires: perl(CGI) Requires: perl(Persistence::Object::Simple) Requires: perl(CGI) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description put roach.cgi in a directory visible to your webserver and create a server writable directory "dope" below it. point your browser to http://localhost/somedir/roach.cgi %prep %setup -q -n CGI-Persistent-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Mar 17 2016 Daniel Berteaud 1.11-1 - First build using cpanspec [SME: 9329]