File perl-Apache-SessionX.spec of Package perl-Apache-SessionX

#
# spec file for package perl-Apache-SessionX (Version 2.01)
#
# Copyright (c) 2010 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
BuildRequires:  perl-macros
Version:        2.01
Release:        225
Provides:       Apache-SessionX
Requires:       apache2-mod_perl perl-URI perl-DBI
Conflicts:      perlmod
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        GPLv2+
Summary:        Persistent Storage for Arbitrary Data (for Embperl)
Source:         Apache-SessionX-%{version}.tar.bz2
Source1:        get-apache-version.sh
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}

%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
openSUSE Build Service is sponsored by