%define module Apache2-SiteControl %define name perl-%{module} %define version 1.05 %define release %mkrel 4 Name: %{name} Version: %{version} Release: %{release} Summary: Perl web site authentication/authorization system License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Apache2/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildRequires: apache-mod_perl BuildRequires: perl(Apache::AuthCookie) >= 3.08 BuildRequires: perl(Apache::Session) >= 1.54 BuildRequires: perl(Apache::Test) >= 1.25 BuildRequires: perl(Authen::Radius) >= 0.10 BuildRequires: perl(Carp::Assert) >= 0.18 BuildRequires: perl(Crypt::CAST5) >= 0.04 BuildRequires: perl(Crypt::CBC) >= 2.14 BuildRequires: perl(Data::Dumper) >= 2.101 BuildRequires: perl-libapreq2 >= 2.05 BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description Apache2::SiteControl is a set of perl object-oriented classes that implement a fine-grained security control system for a web-based application. The intent is to provide a clear, easy-to-integrate system that does not require the policies to be written into your application components. It attempts to separate the concerns of how to show and manipulate data from the concerns of who is allowed to view and manipulate data and why. For example, say your web application is written in HTML::Mason. Your individual "screens" are composed of Mason modules, and you would like to keep those as clean as possible, but decisions have to be made about what to allow as the component is processed. SiteControl attempts to make that as easy as possible. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc Changes README* docs/apache sample %{perl_vendorlib}/Apache2 %{_mandir}/*/* %changelog * Wed Jul 30 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.05-4mdv2009.0 + Revision: 255271 - rebuild * Sat Dec 22 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.05-2mdv2008.1 + Revision: 136884 - rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Fri Oct 27 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.05-1mdv2007.0 + Revision: 73267 - import perl-Apache2-SiteControl-1.05-1mdv2007.0 * Tue Aug 29 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.05-1mdv2007.0 - New version 1.05 * Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.03-2mdk - Fix SPEC according to Perl Policy - BuildRequires - Source URL * Mon Mar 20 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.03-1mdk - New release 1.03 * Wed Jan 25 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.02-1mdk - New release 1.02 - spec cleanup - %%{1}mdv2007.1 * Fri Aug 19 2005 Guillaume Rousse <guillomovitch@mandriva.org> 1.01-1mdk - New release 1.01 * Fri Jul 15 2005 Oden Eriksson <oeriksson@mandriva.com> 1.00-1mdk - initial Mandriva package