]> git.pld-linux.org Git - packages/perl-CGI-Session.git/commitdiff
- new, STBR RA-1_0 STABLE perl-CGI-Session-2_94-1
authorradek <radek@pld-linux.org>
Thu, 5 Sep 2002 09:09:37 +0000 (09:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-CGI-Session.spec -> 1.1

perl-CGI-Session.spec [new file with mode: 0644]

diff --git a/perl-CGI-Session.spec b/perl-CGI-Session.spec
new file mode 100644 (file)
index 0000000..8641c3f
--- /dev/null
@@ -0,0 +1,56 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    CGI
+%define        pnam    Session
+Summary:       CGI::Session - Persistent storage of complex data in CGI
+Summary(pl):   CGI::Session - Trwa³e przechowywanie z³o¿onych struktur danych w CGI
+Name:          perl-CGI-Session
+Version:       2.94
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+%if %{?_without_tests:0}%{!?_without_tests:1}
+BuildRequires: perl-Digest-MD5
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+CGI::Session is Perl5 library that provides an easy persistent session
+management system across HTTP requests.
+
+%description -l pl
+CGI::Session jest bibliotek± dla Perla5, udostêpniaj±c± ³atwy system
+zarz±dzania trwa³± sesj± pomiêdzy zapytaniami HTTP.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+mv doc/Session.pod .
+
+%build
+perl Makefile.PL
+%{__make}
+pod2man doc/cgisessioncook.pod --section 3pm > blib/man3/cgisessioncook.3pm
+
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_sitelib}/%{pdir}/*.pm
+%{perl_sitelib}/%{pdir}/%{pnam}
+%{perl_sitelib}/auto/%{pdir}/%{pnam}
+%{_mandir}/man3/*
This page took 0.029491 seconds and 4 git commands to generate.