Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 63d6c50f9f02995e1e976d88ec2516ec > files > 4

perl-Apache-ProxyRewrite-0.17-5mdv2008.0.src.rpm

%define module	Apache-ProxyRewrite

Summary:	Apache::ProxyRewrite - mod_perl URL-rewriting proxy
Name:		perl-%{module}
Version:	0.17
Release:	%mkrel 5
License:	GPL or Artistic
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{module}
Source0:	ftp://ftp.perl.org/pub/CPAN/modules/by-module/Apache/%{module}-%{version}.tar.bz2
Patch0:		Apache-ProxyRewrite-mpb.diff
Patch1:		Apache-ProxyRewrite-0.17-mod_perl2.diff
BuildRequires:	perl-devel
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
Apache::ProxyRewrite acts as a reverse-proxy that will rewrite
URLs embedded in HTML documents per apache configuration
directives.

This module was written to allow multiple backend services with
discrete URLs to be presented as one service and to allow the
proxy to do authentication on the client's behalf.

%prep

%setup -q -n %{module}-%{version}
%patch0 -p1
%patch1 -p1

find . -type f -exec chmod 644 {} \;

%build

%{__perl} Makefile.PL INSTALLDIRS=vendor

%make

#%make test

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%makeinstall_std

%clean 
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc ChangeLog README SUPPORT
%{perl_vendorlib}/Apache/ProxyRewrite.pm
%{_mandir}/*/*





%changelog

* Fri Oct 27 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.17-5mdv2007.0
+ Revision: 73201
- import perl-Apache-ProxyRewrite-0.17-5mdk

* Fri Apr 28 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.17-5mdk
- Fix SPEC according to Perl Policy
	- URL && Source URL

* Fri Feb 10 2006 Oden Eriksson <oeriksson@mandriva.com> 0.17-4mdk
- rebuild

* Fri Jan 27 2006 Oden Eriksson <oeriksson@mandriva.com> 0.17-3mdk
- use mod_perl2 (P1)

* Sat Sep 10 2005 Oden Eriksson <oeriksson@mandriva.com> 0.17-2mdk
- rebuild

* Fri Aug 27 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 0.17-1mdk
- initial mandrake package
- added P0