# RPM Spec file for mod_spkac %define name mod_spkac %define summary Apache mod_spkac module %define license ASL 2.0 %define version @PACKAGE_VERSION@ %define release 1 %define group Web/Applications %define source %{name}-%{version}.tar.bz2 %define packager Graham Leggett %define buildroot %{_builddir}/%{name}-root %define modroot %{_libdir}/httpd/modules Name: %{name} Version: %{version} Release: %{release} Packager: %{packager} Summary: %{summary} License: %{license} Group: %{group} Source: %{source} Prefix: %{_prefix} Buildroot: %{buildroot} Requires: httpd BuildRequires: httpd-devel, mod_ca-devel %description The Apache mod_spkac module provides a mechanism to create certificates from SPKAC packages. %prep %setup -q %build %configure --with-apxs=/usr/bin/apxs make %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %{modroot}/mod_spkac.so