]> git.pld-linux.org Git - packages/perl-CGI-Session.git/blobdiff - perl-CGI-Session.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-CGI-Session.git] / perl-CGI-Session.spec
index 98c575308396b7f15db598490713635a59a0e1a0..b948c844c3c7e8e1911c09c27ac1afa05710a7f1 100644 (file)
@@ -1,26 +1,28 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_with    tests   # do not perform "make test"
 #
-%include       /usr/lib/rpm/macros.perl
-%define        pdir    CGI
-%define        pnam    Session
+%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
+Summary(pl.UTF-8):     CGI::Session - trwałe przechowywanie złożonych struktur danych w CGI
 Name:          perl-CGI-Session
-Version:       3.94
+Version:       4.48
 Release:       1
-License:       GPL/Artistic
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 094bc25436d3a8b70b24a572ae80c832
-BuildRequires: perl-devel >= 5.6
+# Source0-md5: 7f8983aaeb92a0ba77eca8bca6d8d43a
+URL:           http://search.cpan.org/dist/CGI-Session/
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-%if 0%{!?_without_tests:1}
+%if %{with tests}
 BuildRequires: perl-Digest-MD5
 BuildRequires: perl-DB_File
 BuildRequires: perl-FreezeThaw
-BuildRequires: perl-Storable
+BuildRequires: perl-CGI-Simple
+BuildRequires: perl-YAML-Syck
 %endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -29,9 +31,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 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.
+%description -l pl.UTF-8
+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}
@@ -41,12 +43,13 @@ zarz
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -54,7 +57,6 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes
-%{perl_vendorlib}/%{pdir}/*.pm
-%{perl_vendorlib}/%{pdir}/%{pnam}
-%{perl_vendorlib}/auto/%{pdir}/%{pnam}
+%{perl_vendorlib}/CGI/*.pm
+%{perl_vendorlib}/CGI/Session
 %{_mandir}/man3/*
This page took 0.05303 seconds and 4 git commands to generate.