]> git.pld-linux.org Git - packages/perl-CGI-Session.git/blobdiff - perl-CGI-Session.spec
- converted to UTF-8
[packages/perl-CGI-Session.git] / perl-CGI-Session.spec
index 38d34b9c812e3b501859095252bdb0e7b9ec125e..174a1f05381eae6e4bb230a159e0b7a4427f757e 100644 (file)
@@ -1,26 +1,29 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without 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.95
+Version:       4.13
 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: fe9e46496c7c711c54ca13209ded500b
-BuildRequires: perl-devel >= 5.6
+# Source0-md5: 3fa53260d98b24abe1e69f6b514bf131
+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 +32,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 +44,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 +58,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.036058 seconds and 4 git commands to generate.