Name: mod_rpaf Version: 0.8 Release: 4 Summary: mod_rpaf Group: System Environment/Daemons License: Apache Software License URL: http://stderr.net/apache/rpaf/download/ #Source0: http://stderr.net/apache/rpaf/download/mod_rpaf-%{version}.tar.gz Source0: http://stderr.net/apache/rpaf/download/mod_rpaf-07152014.tar.gz Source1: mod_rpaf.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: httpd-devel >= 2.0.38 Requires: httpd httpd-mmn = %([ -a %{_includedir}/httpd/.mmn ] && cat %{_includedir}/httpd/.mmn || echo missing) %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. %prep %setup -q -n mod_rpaf-07152014 %build make rpaf %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_libdir}/httpd/modules/ mkdir -p %{buildroot}/%{_sysconfdir}/httpd/conf.d/ make DESTDIR=$RPM_BUILD_ROOT install install -m644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/httpd/conf.d/ %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/httpd/modules/mod_rpaf.so %config(noreplace) /etc/httpd/conf.d/mod_rpaf.conf %changelog * Tue Jul 15 2014 Scott R. Shinn - Build git snapshot (15JUL14) * Tue Sep 4 2012 Scott R. Shinn - build of git snapshot (09SEP12) * Sat Mar 13 2010 Scott R. Shinn - Initial import to Atomic