# RPM Spec file for @PACKAGE_NAME@ Name: @PACKAGE_NAME@ Version: @PACKAGE_VERSION@ Release: 1%{?dist} Summary: Redwax Apache CMS Signature (RFC5652/pkcs#7) output filter License: ASL 2.0 Group: System Environment/Daemons Source: https://archive.redwax.eu/dist/rs/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2 Url: https://redwax.eu/rs/ BuildRequires: gcc, pkgconfig(apr-1), pkgconfig(apr-util-1), pkgconfig(openssl), mod_ca-devel %if 0%{?is_opensuse} %define moduledir %{_libdir}/apache2 %else %define moduledir %{_libdir}/httpd/modules %endif %description The Apache mod_cms_sign module is an output filter that signs anything passed through it & delivers the signature and payload als a DER encoded Cryptographic Message Syntax package (pkcs#7). %prep %setup -q %build %configure %make_build %install %make_install %files %{moduledir}/%{name}.so