Requires: apache >= 1.3.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _libexecdir %{_libdir}/apache
+%define _htmldocdir /home/httpd/html/docs/%{name}_%{version}
+
%description
This 3rd party module provides support for the FastCGI protocol.
FastCGI is a language independent, scalable, open extension to CGI
that provides high performance and persistence without the limitations
of server specific APIs.
-%define _libexecdir /usr/lib/apache
-%define _htmldocdir /home/httpd/html/docs/%{name}_%{version}
-
%prep
%setup -q -n mod_fastcgi_%{version}
gzip -9nf docs/LICENSE.TERMS CHANGES
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libexecdir}/*
-
%post
%{_sbindir}/apxs -e -a -n fastcgi %{_libexecdir}/mod_fastcgi.so 1>&2
if [ -f /var/lock/subsys/httpd ]; then
%files
%defattr(644,root,root,755)
-%doc docs/*.gz CHANGES.gz
+%doc docs/*.gz *.gz
%doc %{_htmldocdir}
%attr(755,root,root) %{_libexecdir}/*