+%define apxs /usr/sbin/apxs
Summary: Support for the FastCGI protocol for apache webserver
Summary(pl): Obs³uga protoko³u FastCGI dla serwera apache
Summary(ru): FastCGI - ÂÏÌÅÅ ÂÙÓÔÒÁÑ ×ÅÒÓÉÑ CGI
Source0: http://www.FastCGI.com/dist/mod_fastcgi_%{version}.tar.gz
URL: http://www.FastCGI.com/
BuildRequires: apache-devel
+BuildRequires: %{apxs}
+Prereq: %{_sbindir}/apxs
Requires: apache >= 1.3.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q -n mod_fastcgi_%{version}
%build
-apxs -D SUEXEC_BIN="\"\\\"%{_sbindir}/suexec\\\"\"" -o mod_fastcgi.so -c *.c
+%{apxs} -D SUEXEC_BIN="\"\\\"%{_sbindir}/suexec\\\"\"" -o mod_fastcgi.so -c *.c
%install
rm -rf $RPM_BUILD_ROOT