# # spec file for package perl-Apache-Session # # Copyright (c) 2011 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 Name: perl-Apache-Session BuildRequires: apache2-devel apache2-mod_perl dos2unix libapr-util1-devel pcre-devel perl-DBI BuildRequires: perl-macros Version: 1.89 Release: 3 Provides: Apache-Session Requires: apache2 Requires: apache2-mod_perl perl-URI perl-DBI Conflicts: perlmod AutoReqProv: on Group: Development/Libraries/Perl License: Artistic Url: http://cpan.org/modules/by-module/Apache/ Source: Apache-Session-%{version}.tar.gz Summary: persistent storage for arbitrary data BuildRoot: %{_tmppath}/%{name}-%{version}-build %{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. Authors: -------- Jeffrey William Baker %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 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %doc INSTALL README TODO CHANGES README eg %doc %{_mandir}/man?/* %{perl_vendorlib}/Apache %{perl_vendorarch}/auto/Apache %changelog