# # spec file for package perl-Apache-Session # # Copyright (c) 2013 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/ # Name: perl-Apache-Session BuildRequires: apache2-devel BuildRequires: apache2-mod_perl BuildRequires: dos2unix BuildRequires: libapr-util1-devel BuildRequires: pcre-devel BuildRequires: perl-DBI BuildRequires: perl-macros Version: 1.90 Release: 0 Provides: Apache-Session Requires: apache2 Requires: apache2-mod_perl Requires: perl-DBI Requires: perl-URI Conflicts: perlmod Url: http://cpan.org/modules/by-module/Apache/ Source: Apache-Session-%{version}.tar.gz Summary: persistent storage for arbitrary data License: Artistic-1.0 Group: Development/Libraries/Perl BuildRoot: %{_tmppath}/%{name}-%{version}-build #BuildRequires: perl(Test::Database) %{perl_requires} %description These modules provide persistent storage for arbitrary data, in arbitrary backing stores. The details of interacting with the backing store are abstracted to make all backing stores behave alike. The programmer simply interacts with a tied hash. %prep %setup -q -n Apache-Session-%{version} dos2unix INSTALL CHANGES TODO README eg/example.perl %build perl Makefile.PL make %{?_smp_mflags} all %check # disable testing as we do not have Test::Deep yet # make test %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %files %defattr(-, root, root) %doc INSTALL README TODO CHANGES README eg %doc %{_mandir}/man?/* %{perl_vendorlib}/Apache %{perl_vendorarch}/auto/Apache %changelog