Changes of Revision 7
[-] | Added | apache2-mod_rpaf-CentOS_5.spec |
x 1
2 +Name: mod_rpaf 3 +Version: 0.6 4 +Release: 3%{?dist} 5 +Summary: opposite of mod_proxy_add_forward 6 + 7 +Group: System Environment/Daemons 8 +License: GPL 9 +Url: http://stderr.net/apache/rpaf/ 10 +Source0: http://stderr.net/apache/rpaf/download/%{name}-%{version}.tar.gz 11 +Source1: mod_rpaf.conf 12 + 13 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 14 + 15 +BuildRequires: httpd-devel 16 +Requires: httpd 17 +Requires: httpd-mmn = %([ -a %{_includedir}/httpd/.mmn ] && cat %{_includedir}/httpd/.mmn || echo missing) 18 + 19 +%description 20 +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. 21 + 22 +%debug_package 23 +%prep 24 +%setup -n %{name}-%{version} 25 + 26 +%build 27 +%{_sbindir}/apxs -Wc,"%{optflags}" -a -n %{name}.so -c %{name}-2.0.c 28 + 29 + 30 + 31 +%install 32 +rm -rf $RPM_BUILD_ROOT 33 +mkdir -pm 755 \ 34 + $RPM_BUILD_ROOT%{_libdir}/httpd/modules \ 35 + $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d 36 +install -pm 755 .libs/mod_rpaf-2.0.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules/ 37 +install -pm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/ 38 + 39 + 40 +%clean 41 +rm -rf $RPM_BUILD_ROOT 42 + 43 + 44 +%files 45 +%defattr(-,root,root,-) 46 +%doc README LICENSE CHANGELOG test.pl 47 +%config(noreplace) %{_sysconfdir}/httpd/conf.d/* 48 +%{_libdir}/httpd/modules/* 49 + 50 + 51 +%changelog 52 +* Thu Feb 05 2009 Carsten Schoene <cs@linux-administrator.com> - 0.6 53 +- initial CentOS 5 build 54 |
||
[+] | Deleted | mod_rpaf-CentOS_5.spec ^ |
@@ -1,52 +0,0 @@ -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 -Requires: 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. - -%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 README LICENSE CHANGELOG test.pl -%config(noreplace) %{_sysconfdir}/httpd/conf.d/* -%{_libdir}/httpd/modules/* - - -%changelog -* Thu Feb 05 2009 Carsten Schoene <cs@linux-administrator.com> - 0.6 -- initial CentOS 5 build |