File perl-CGI-Session.spec of Package perl-CGI-Session

#
# spec file for package perl-CGI-Session (Version 4.42)
#
# 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


Name:           perl-CGI-Session
Summary:        Persistent session data in CGI applications
Version:        4.42
Release:        1
Group:          Development/Libraries/Perl
License:        Artistic License ..
Url:            http://search.cpan.org/perldoc?CGI::Session
BuildRequires:  perl
BuildRequires:  perl-macros
# DB tests need a running database and the following
# variables set to proceed: DBI_DSN/DBI_USER/DBI_PASS
# Disabled by not installing the perl modules for now, as
# this needs to be done for all backends during build which 
# increases the dependencies of the package
# running SQLite tests should be enough for now
#BuildRequires:  perl(DBI)
#BuildRequires:  perl(DBD::mysql)
BuildRequires:  perl-DBD-SQLite
BuildRequires:  perl(CGI::Simple)
BuildRequires:  perl(FreezeThaw)
Requires:       perl = %{perl_version}
Source:         CGI-Session-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
CGI-Session is a Perl5 library that provides an easy, reliable and
modular session management system across HTTP requests. Persistency is
a key feature for such applications as shopping carts,
login/authentication routines, and application that need to carry data
across HTTP requests. CGI::Session does that and many more.



Authors:
--------
    Sherzod Ruzmetov <sherzodr@cpan.org>

%prep
%setup -q -n CGI-Session-%{version}

%build
perl Makefile.PL
make %{?jobs:-j%jobs}

%check
make test

%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.files
%defattr(-, root, root)
%doc Changes MANIFEST  MANIFEST.SKIP README examples 

%changelog
openSUSE Build Service is sponsored by