diff options
author | Sebastian Zagrodzki | 2001-06-22 12:48:41 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 3483a19700c6423fc338244716a257ace0e9eb99 (patch) | |
tree | 297ef8203a0bd27c8333762a1e107ca0dbdbd705 | |
parent | f8064394c2e3d25d302fe8b7f6d44db7e5efb27b (diff) | |
download | perl-Apache-Session-3483a19700c6423fc338244716a257ace0e9eb99.zip perl-Apache-Session-3483a19700c6423fc338244716a257ace0e9eb99.tar.gz |
- initial release
Changed files:
perl-Apache-Session.spec -> 1.1
-rw-r--r-- | perl-Apache-Session.spec | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/perl-Apache-Session.spec b/perl-Apache-Session.spec new file mode 100644 index 0000000..fd2676f --- /dev/null +++ b/perl-Apache-Session.spec @@ -0,0 +1,49 @@ +%include /usr/lib/rpm/macros.perl +Summary: Apache-Session perl module +Summary(pl): Moduł perla Apache-Session +Name: perl-Apache-Session +Version: 1.53 +Release: 1 +License: GPL +Group: Development/Languages/Perl +Group(de): Entwicklung/Sprachen/Perl +Group(pl): Programowanie/Języki/Perl +Source0: http://www.cpan.org/modules/by-module/Apache/Apache-Session-%{version}.tar.gz +Patch0: %{name}-md5.patch +BuildRequires: rpm-perlprov >= 3.0.3-16 +BuildRequires: perl >= 5.6 +BuildRequires: perl-Digest-MD5 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Apache-Session perl module. + +%description -l pl +Moduł perla Apache-Session. + +%prep +%setup -q -n Apache-Session-%{version} +%patch0 -p1 + +%build +perl Makefile.PL +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name} +%{__make} install DESTDIR=$RPM_BUILD_ROOT +install eg/example.perl $RPM_BUILD_ROOT%{_examplesdir}/%{name} + +gzip -9nf README CHANGES + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc *.gz +%{perl_sitelib}/Apache/Session +%{_mandir}/man3/* +%{_examplesdir}/%{name}/example.perl |