File perl-Apache2-AuthCookieDBI.spec of Package perl-Apache2-AuthCookieDBI

#
# spec file for package perl-Apache2-AuthCookieDBI (Version 2.05)
#
# 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/
#



Name:           perl-Apache2-AuthCookieDBI
Url:            http://search.cpan.org/~matisse/Apache2-AuthCookieDBI/
License:        LGPL v2.1 or later
Group:          Productivity/Networking/Web/Servers
Requires:       perl-base >= 5.10.0 perl(Apache2::AuthCookie) >= 3.08 perl-Apache-DBI perl-Date-Calc
AutoReqProv:    on
Summary:        An AuthCookie module backed by a DBI database
Version:        2.05
Release:        1
Source:         Apache2-AuthCookieDBI-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Apache::AuthCookieDBI is a module that subclasses Apache::AuthCookie
and is designed to be directly used for authentication in a mod_perl
server.

It is a ticket-issuing system that looks up username/passwords in a DBI
database using generic SQL and issues MD5-checksummed tickets valid for
a configurable time period.  Incoming requests with tickets are
checksummed and expire-time checked.



Authors:
--------
    Jacob Davies <jacob@well.com>

%prep
%setup -n Apache2-AuthCookieDBI-%{version}
# ---------------------------------------------------------------------------

%build
perl Makefile.PL
make
# ---------------------------------------------------------------------------

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
#mv $RPM_BUILD_ROOT%{_docdir}/%{name}/eg $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc LICENSE MANIFEST Changes techspec.txt generic_reg_auth_scheme.txt README schema.sql eg
%doc %{_mandir}/man?/Apache2::AuthCookieDBI.3pm.gz
%dir %{perl_vendorlib}/Apache2
%{perl_vendorlib}/Apache2/AuthCookieDBI.pm
%dir %{perl_vendorarch}/auto/Apache2
%dir %{perl_vendorarch}/auto/Apache2/AuthCookieDBI
%{perl_vendorarch}/auto/Apache2/AuthCookieDBI/.packlist
/var/adm/perl-modules/%{name}

%changelog
openSUSE Build Service is sponsored by