"Fossies" - the Fresh Open Source Software Archive

Member "mod_rpaf-0.8.4/mod_rpaf.spec" (3 Sep 2014, 1316 Bytes) of package /linux/www/apache_httpd_modules/old/mod_rpaf-0.8.4.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) RPM Spec source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Summary: Reverse Proxy Add Forward module for Apache
    2 Name: mod_rpaf
    3 Version: 0.8
    4 Release: 1
    5 License: Apache
    6 Group: System Environment/Daemons
    7 URL: https://github.com/gnif/mod_rpaf
    8 Source0: %{name}-%{version}.tar.gz
    9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
   10 BuildRequires: httpd-devel
   11 Requires: httpd httpd-devel
   12 
   13 %description
   14 rpaf is for backend Apache servers what mod_proxy_add_forward is for
   15 frontend Apache servers. It does excactly the opposite of
   16 mod_proxy_add_forward written by Ask Bjørn Hansen. It will also work
   17 with mod_proxy in Apache starting with release 1.3.25 and mod_proxy
   18 that is distributed with Apache2 from version 2.0.36.
   19 
   20 %prep
   21 %setup -q
   22 
   23 %build
   24 make rpaf
   25 
   26 %install
   27 rm -rf $RPM_BUILD_ROOT
   28 install -m0755 -d $RPM_BUILD_ROOT$(apxs -q LIBEXECDIR)
   29 make DESTDIR=$RPM_BUILD_ROOT install
   30 install -m0644 -D debian/conf/rpaf.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/mod_rpaf.conf
   31 
   32 %clean
   33 rm -rf $RPM_BUILD_ROOT
   34 
   35 %files
   36 %defattr(-,root,root,-)
   37 %{_libdir}/httpd/modules/mod_rpaf.so
   38 %config(noreplace) %{_sysconfdir}/httpd/conf.d/mod_rpaf.conf
   39 
   40 %post
   41 /usr/sbin/apxs -e -A -n rpaf $(apxs -q LIBEXECDIR)/mod_rpaf.so
   42 
   43 %preun
   44 /usr/sbin/apxs -e -A -n rpaf $(apxs -q LIBEXECDIR)/mod_rpaf.so
   45 
   46 
   47 %changelog
   48 * Mon Oct 17 2011 Ben Walton <bwalton@artsci.utoronto.ca> - 0.7
   49 - Initial spec file creation