Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > ad6ba88ead32d9711e619095630a7d8f > files > 2

perl-Apache-SSI-2.19-2mdk.src.rpm

%define module	Apache-SSI
%define version	2.19
%define release	2mdk

Summary:	%{module} implements Server Side Includes in Perl
Name:		perl-%{module}
Version:	%{version}
Release:	%{release}
License:	GPL or Artistic
Group:		Development/Perl
Source0:	%{module}-%{version}.tar.bz2
Url:		http://search.cpan.org/dist/%{module}
BuildRoot:	%{_tmppath}/%{name}-buildroot/
Requires:	perl perl-HTML-SimpleParse apache-mod_perl
BuildRequires:	apache-mod_perl perl-devel perl-HTML-SimpleParse perl-Module-Build
BuildArch:	noarch

%description
Apache::SSI implements the functionality of mod_include for handling
server-parsed html documents (a.k.a. server side includes). It runs under
Apache/mod_perl.

There are two main reasons you might want to use this module: you can sub-class
it to implement your own custom SSI directives, and/or you can parse the output
of other mod_perl handlers, or send the SSI output through another handler (use
Apache::Filter to do this).

This module supports the same directives as mod_include.

%prep
%setup -q -n %{module}-%{version}

%build
perl Build.PL installdirs=vendor <<EOM
%{_sbindir}/httpd-perl





EOM
./Build
./Build test

%clean 
rm -rf $RPM_BUILD_ROOT

%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README Changes
%{_mandir}/*/*
%{perl_vendorlib}/Apache

%changelog
* Wed Feb 23 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.19-2mdk
- buildrequires

* Thu Feb 17 2005 Rafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> 2.19-1mdk
- 2.19
- Add tests
- Fix build

* Tue Aug 12 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.17-4mdk
- rebuild
- drop Prefix tag
- don't use PREFIX
- use %%makeinstall_std macro

* Tue Jan 28 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.17-3mdk
- better summary & description

* Tue Jul 09 2002 Christian Belisle <cbelisle@mandrakesoft.com> 2.17-2mdk
- rebuild with new perl 5.8.0.
- install in vendor_perl.

* Mon Feb 04 2002 Christian Belisle <cbelisle@mandrakesoft.com> 2.17-1mdk
- 2.17
- Update perl version in Requires.
- Add a make test.

* Tue Oct 16 2001 Stefan van der Eijk <stefan@eijk.nu> 2.16-2mdk
- BuildRequires: perl-devel

* Fri Aug 31 2001 François Pons <fpons@mandrakesoft.com> 2.16-1mdk
- 2.16.
- removed filelist, now use globing directly and macros.
- updated license.

* Sun Jun 17 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 2.13-5mdk
- Rebuild this against perl 5.6.1.
- Remove Vendor and distribution tag.

* Tue Mar 13 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 2.13-4mdk
- BuildArch: noarch
- add docs
- rename spec file
- clean spec a bit

* Sat Sep 16 2000 Stefan van der Eijk <s.vandereijk@chello.nl> 2.13-3mdk
- Call spec-helper before creating filelist

* Wed Aug 09 2000 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.13-2mdk
- added BuildPrereq

* Tue Jul 18 2000 Jean-Michel Dault <jmdault@mandrakesoft.com> 2.13-1mdk
- Macroize package

* Tue Feb 29 2000 Jean-Michel Dault <jmdault@netrevolution.com> 2.11-1mdk
-updated to 2.11

* Wed Jan 19 2000 Jean-Michel Dault <jmdault@netrevolution.com>
- updated to 2.09

* Mon Sep 06 1999 Jean-Michel Dault <jmdault@netrevolution.com>
- fixed dependancies

* Sun Aug 29 1999 Jean-Michel Dault <jmdault@netrevolution.com>
- bzip2'd sources
- updated to 2.07

* Tue May 11 1999 root <root@alien.devel.redhat.com>
- Spec file was autogenerated.