# # spec file for package perl-Apache-AuthCookie (Version 3.12) # # 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 Name: perl-Apache-AuthCookie BuildRequires: apache2-mod_perl Url: http://search.cpan.org/~mschout/Apache-AuthCookie License: Artistic Group: Development/Libraries/Perl Requires: apache2-mod_perl >= 2 AutoReqProv: on Summary: Apache/Perl Authentication and Authorization via cookies Version: 3.12 Release: 2 Source: Apache-AuthCookie-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Apache::AuthCookie allows you to intercept a user's first unauthenticated access to a protected document. The user will be presented with a custom form where they can enter authentication credentials. The credentials are posted to the server where AuthCookie verifies them and returns a session key. The session key is returned to the user's browser as a cookie. As a cookie, the browser will pass the session key on every subsequent accesses. AuthCookie will verify the session key and re-authenticate the user. All you have to do is write a custom module that inherits from AuthCookie. Authors: -------- Michael Schout Ken Williams %prep %setup -n Apache-AuthCookie-%{version} # --------------------------------------------------------------------------- %build perl Makefile.PL make %{?_smp_mflags} # --------------------------------------------------------------------------- %install make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_process_packlist %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes README README.modperl2 %doc %{_mandir}/man?/Apache::AuthCookie.3pm.gz %doc %{_mandir}/man?/Apache2::AuthCookie.3pm.gz %dir %{perl_vendorlib}/Apache %dir %{perl_vendorlib}/Apache/AuthCookie %dir %{perl_vendorlib}/Apache2 %{perl_vendorlib}/Apache/AuthCookie.pm %{perl_vendorlib}/Apache/AuthCookie/Util.pm %{perl_vendorlib}/Apache2/AuthCookie.pm %dir %{perl_vendorarch}/auto/Apache %dir %{perl_vendorarch}/auto/Apache/AuthCookie %{perl_vendorarch}/auto/Apache/AuthCookie/.packlist /var/adm/perl-modules/%{name} %changelog