%{!?_httpd_apxs: %{expand: %%global _httpd_apxs %%{_sbindir}/apxs}} %{!?_httpd_mmn: %{expand: %%global _httpd_mmn %%(cat %{_includedir}/httpd/.mmn || echo missinghttpddevel)}} %{!?_httpd_confdir: %{expand: %%global _httpd_confdir %%{_sysconfdir}/httpd/conf.d}} # /etc/httpd/conf.d with httpd < 2.4 and defined as /etc/httpd/conf.modules.d with httpd >= 2.4 %{!?_httpd_modconfdir: %{expand: %%global _httpd_modconfdir %%{_sysconfdir}/httpd/conf.d}} %{!?_httpd_moddir: %{expand: %%global _httpd_moddir %%{_libdir}/httpd/modules}} Name: mod_auth_openid Version: 0.8 Release: 24%{?dist} Summary: OpenID authentication for apache License: MIT URL: http://findingscience.com/mod_auth_openid/ Source0: https://github.com/downloads/bmuller/mod_auth_openid/mod_auth_openid-0.8.tar.gz Source1: 10-mod_auth_openid.conf BuildRequires: make BuildRequires: gcc-c++ BuildRequires: tidy-devel BuildRequires: libopkele-devel BuildRequires: sqlite-devel BuildRequires: pcre-devel BuildRequires: libcurl-devel BuildRequires: httpd-devel BuildRequires: autoconf BuildRequires: libtool Requires: httpd Requires: httpd-mmn = %{_httpd_mmn} %description mod_auth_openid is an authentication module for the Apache 2 webserver. OpenID 2.0 relying party for apache webserver. %prep %setup -q %build ./autogen.sh %configure --with-apxs=%{_httpd_apxs} make %{?_smp_mflags} %install # The install target of the Makefile isn't used because that uses apxs # which tries to enable the module in the build host httpd instead of in # the build root. mkdir -p %{buildroot}%{_httpd_confdir} mkdir -p %{buildroot}%{_libdir}/httpd/modules install -m 700 -d %{buildroot}%{_localstatedir}/lib/%{name} %if "%{_httpd_modconfdir}" != "%{_httpd_confdir}" # 2.4-style install -Dp -m0644 %{SOURCE1} %{buildroot}%{_httpd_modconfdir}/10-mod_auth_openid.conf %else # 2.2-style install -d -m0755 %{buildroot}%{_httpd_confdir} install -Dp -m644 %{SOURCE1} > %{buildroot}%{_httpd_confdir}/mod_auth_openid.conf %endif install -m 755 src/.libs/mod_auth_openid.so %{buildroot}%{_httpd_moddir} %files %doc AUTHORS COPYING README NEWS UPGRADE %{_httpd_moddir}/mod_auth_openid.so %if "%{_httpd_modconfdir}" != "%{_httpd_confdir}" %config(noreplace) %{_httpd_modconfdir}/*.conf %else %config(noreplace) %{_httpd_confdir}/*.conf %endif %attr(700,apache,root) %dir %{_localstatedir}/lib/%{name} %changelog * Thu Jul 18 2024 Fedora Release Engineering - 0.8-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.8-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.8-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.8-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 0.8-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 0.8-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 0.8-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 14 2021 Sahana Prasad - 0.8-17 - Rebuilt with OpenSSL 3.0.0 * Thu Jul 22 2021 Fedora Release Engineering - 0.8-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.8-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 0.8-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.8-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.8-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Nov 19 2015 Kevin Fenzi - 0.8-4 - Rebuild for new libtidy * Sun Jul 05 2015 Kevin Fenzi 0.8-3 - Rebuild with fixed libopkele to fix FTBFS. Fixes bug #1239690 * Wed Jun 17 2015 Fedora Release Engineering - 0.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jul 11 2014 Ricky Elrod - 0.8-1 - Bump to 0.8 * Wed May 29 2013 Patrick Uiterwijk - 0.7-3 - Remove default mod_auth_openid.conf * Tue May 21 2013 Patrick Uiterwijk - 0.7-2 - Remove explicit requires - Add needed buildrequire - Correct conf file name - Shortened description line * Tue May 21 2013 Patrick Uiterwijk - 0.7-1 - Initial packaging