8
0
Files
perl-Apache-SessionX/perl-Apache-SessionX.spec

103 lines
3.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Apache-SessionX (Version 2.01)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Url: http://cpan.org/modules/by-module/Apache/
Name: perl-Apache-SessionX
BuildRequires: apache2-devel libapr-util1-devel mysql-client pcre-devel perl-Apache-Session perl-DBD-mysql perl-MLDBM
Version: 2.01
Release: 216
Provides: Apache-SessionX
Requires: perl = %{perl_version}
Requires: apache2-mod_perl perl-URI perl-DBI
Conflicts: perlmod
AutoReqProv: on
Group: Development/Libraries/Perl
License: GPL v2 or later
Summary: Persistent Storage for Arbitrary Data (for Embperl)
Source: Apache-SessionX-%{version}.tar.bz2
Source1: get-apache-version.sh
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Apache::SessionX extends Apache::Session. It was initially written to
use Apache::Session from inside of HTML::Embperl, but is seems to be
useful outside of Embperl as well, so here is it as standalone module.
Authors:
--------
Gerald Richter / ecos gmbh
%prep
%setup -n Apache-SessionX-%{version}
%build
perl Makefile.PL
make all
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
rm -f $RPM_BUILD_ROOT%{perl_vendorlib}/Apache/testcount.pl
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README MANIFEST
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Apache/SessionX/
%{perl_vendorlib}/Apache/SessionX.pm
%{perl_vendorarch}/auto/Apache/SessionX/
%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Dec 09 2005 sf@suse.de
- update to version 2.01
* Fri Jul 29 2005 cthiel@suse.de
- update to version 2.00b5
* Tue Aug 17 2004 ro@suse.de
- updated requires
* Mon Jun 21 2004 ro@suse.de
- build using apache2
* Sat Mar 27 2004 ro@suse.de
- use perl-DBD-mysql instead of perl-Msql-Mysql-modules
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Wed Aug 27 2003 sf@suse.de
- removed unneccessary and not working requires to apache-version
(#29406)
* Fri Aug 22 2003 mjancar@suse.cz
- require the perl version we build with
* Mon Jul 28 2003 ro@suse.de
- install to vendor locations
* Sun May 25 2003 ro@suse.de
- removed unpackaged files from buildroot
* Mon Jul 29 2002 mls@suse.de
- Fixed neededforbuild for perl-5.8.0
* Tue Jul 02 2002 mls@suse.de
- remove race in .packlist generation
* Fri Feb 01 2002 sf@suse.de
- initial version