/[smeserver]/rpms/perl-CGI-Persistent/sme10/perl-CGI-Persistent.spec
ViewVC logotype

Annotation of /rpms/perl-CGI-Persistent/sme10/perl-CGI-Persistent.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Thu Mar 17 21:48:28 2016 UTC (8 years, 2 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-CGI-Persistent-1_11-1_el7_sme, HEAD
Changes since 1.1: +4 -2 lines
Add missing dependency on perl(CGI)

1 vip-ire 1.1 Name: perl-CGI-Persistent
2     Version: 1.11
3     Release: 1%{?dist}
4     Summary: CGI::Persistent Perl module
5     License: CHECK(GPL+ or Artistic)
6     Group: Development/Libraries
7     URL: http://search.cpan.org/dist/CGI-Persistent/
8     Source0: http://www.cpan.org/authors/id/V/VI/VIPUL/CGI-Persistent-%{version}.tar.gz
9     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10     BuildArch: noarch
11     BuildRequires: perl(ExtUtils::MakeMaker)
12     BuildRequires: perl(Persistence::Object::Simple)
13 vip-ire 1.2 BuildRequires: perl(CGI)
14 vip-ire 1.1 Requires: perl(Persistence::Object::Simple)
15 vip-ire 1.2 Requires: perl(CGI)
16 vip-ire 1.1 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17    
18     %description
19     put roach.cgi in a directory visible to your webserver and create a server
20     writable directory "dope" below it. point your browser to
21     http://localhost/somedir/roach.cgi
22    
23     %prep
24     %setup -q -n CGI-Persistent-%{version}
25    
26     %build
27     %{__perl} Makefile.PL INSTALLDIRS=vendor
28     make %{?_smp_mflags}
29    
30     %install
31     rm -rf $RPM_BUILD_ROOT
32    
33     make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
34    
35     find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
36     find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
37    
38     %{_fixperms} $RPM_BUILD_ROOT/*
39    
40     %check
41     make test
42    
43     %clean
44     rm -rf $RPM_BUILD_ROOT
45    
46     %files
47     %defattr(-,root,root,-)
48     %doc
49     %{perl_vendorlib}/*
50     %{_mandir}/man3/*
51    
52     %changelog
53 vip-ire 1.2 * Thu Mar 17 2016 Daniel Berteaud <daniel@firewall-services.com> 1.11-1
54     - First build using cpanspec [SME: 9329]

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed