]>
Commit | Line | Data |
---|---|---|
8fcfc0c0 | 1 | %define pdir Apache |
2 | %define pnam Session | |
86e17fe8 | 3 | Summary: Apache::Session - a persistence framework for session data |
0e0c80fd | 4 | Summary(pl.UTF-8): Apache::Session - szkielet trwałości dla danych w sesji |
3483a197 | 5 | Name: perl-Apache-Session |
6b6ef9c6 | 6 | Version: 1.94 |
c145c9a5 | 7 | Release: 1 |
00999961 | 8 | Epoch: 1 |
86e17fe8 | 9 | # same as perl |
10 | License: GPL v1+ or Artistic | |
3483a197 | 11 | Group: Development/Languages/Perl |
c858d7c5 | 12 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
6b6ef9c6 | 13 | # Source0-md5: 122b69a50cda8a22cb407d56c51a39ba |
55951499 | 14 | URL: http://search.cpan.org/dist/Apache-Session/ |
3483a197 | 15 | BuildRequires: perl-Digest-MD5 |
00999961 | 16 | BuildRequires: perl-devel >= 1:5.8.0 |
004e2043 | 17 | BuildRequires: rpm-perlprov >= 4.1-13 |
86f90127 | 18 | BuildRequires: unzip |
929f1f4a | 19 | BuildArch: noarch |
3483a197 SZ |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
004e2043 | 22 | %define _noautoreq 'perl(Apache)' |
4a4deb6a | 23 | |
3483a197 | 24 | %description |
6050a2f7 | 25 | Apache::Session is a persistence framework, particularly useful for |
8fcfc0c0 | 26 | tracking session data between httpd requests. Apache::Session is |
ccc2a593 | 27 | designed to work with Apache and mod_perl, but it should work under |
28 | CGI and other web servers, and it also works outside of a web server | |
29 | altogether. | |
6050a2f7 | 30 | |
8900da4a JR |
31 | %description -l pl.UTF-8 |
32 | Apache::Session jest szkieletem trwałości szczególnie przydatnym przy | |
33 | przekazywaniu danych pomiędzy zapytaniami HTTP. Apache::Session został | |
34 | zaprojektowany do pracy z Apache i mod_perl, ale działa również z CGI, | |
35 | z innymi serwerami HTTP, a także zupełnie poza serwerem HTTP. | |
4a4deb6a | 36 | |
3483a197 | 37 | %prep |
da0c53cb | 38 | %setup -q -n %{pdir}-%{pnam}-%{version} |
3483a197 SZ |
39 | |
40 | %build | |
19a913f4 | 41 | %{__perl} Makefile.PL \ |
43f56456 | 42 | INSTALLDIRS=vendor |
3483a197 SZ |
43 | %{__make} |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
a82c579b | 47 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
004e2043 JB |
48 | |
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
a82c579b | 52 | install eg/example.perl $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
3483a197 | 53 | |
3483a197 SZ |
54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
ccc2a593 | 59 | %doc README CHANGES TODO |
19a913f4 | 60 | %{perl_vendorlib}/Apache/Session |
61 | %{perl_vendorlib}/Apache/Session.pm | |
3483a197 | 62 | %{_mandir}/man3/* |
a82c579b | 63 | %{_examplesdir}/%{name}-%{version} |