Search
j0ke.net Open Build Service
>
Projects
>
Apache
:
Modules
>
apache2-mod_rpaf
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 10
[-]
[+]
Added
apache2-mod_rpaf-RHEL_5.spec
@@ -0,0 +1,51 @@ +Name: mod_rpaf +Version: 0.6 +Release: 3%{?dist} +Summary: opposite of mod_proxy_add_forward + +Group: System Environment/Daemons +License: GPL +Url: http://stderr.net/apache/rpaf/ +Source0: http://stderr.net/apache/rpaf/download/%{name}-%{version}.tar.gz +Source1: mod_rpaf.conf + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: httpd-devel +Requires: httpd + +%description +rpaf is for backend Apache servers what mod_proxy_add_forward is for frontend Apache servers. It does excactly the opposite of mod_proxy_add_forward written by Ask Bjørn Hansen. It will also work with mod_proxy in Apache starting with release 1.3.25 and mod_proxy that is distributed with Apache2 from version 2.0.36. + +%debug_package +%prep +%setup -n %{name}-%{version} + +%build +%{_sbindir}/apxs -Wc,"%{optflags}" -a -n %{name}.so -c %{name}-2.0.c + + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -pm 755 \ + $RPM_BUILD_ROOT%{_libdir}/httpd/modules \ + $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d +install -pm 755 .libs/mod_rpaf-2.0.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules/ +install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/ + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc CHANGES README +%config(noreplace) %{_sysconfdir}/httpd/conf.d/* +%{_libdir}/httpd/modules/* + + +%changelog +* Thu Mar 10 2009 Carsten Schoene <cs@linux-administrator.com> - 0.6 +- initial RHEL 5 build