Summary: MaxMind DB Apache Module Name: mod_maxminddb Version: 1.2.0 Release: 1%{?dist} License: Apache-2.0 URL: https://github.com/maxmind/mod_maxminddb Source0: https://github.com/maxmind/mod_maxminddb/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: maxminddb.conf Group: Productivity/Networking/Web/Servers BuildRequires: gcc BuildRequires: httpd-devel BuildRequires: libmaxminddb-devel Requires: httpd-mmn = %{_httpd_mmn} Requires: libmaxminddb %description This module allows you to query MaxMind DB files from Apache 2.2+ using the libmaxminddb library. %prep %autosetup %build %configure \ CFLAGS="%{optflags}" \ LDFLAGS="-Wl,--as-needed -Wl,--strip-all" %{__make} %{?_smp_mflags} %install rm -rf $%{buildroot} mkdir -p %{buildroot}/%{_httpd_moddir} cd src && %{_httpd_apxs} -i -S LIBEXECDIR=%{buildroot}/%{_httpd_moddir} -n %{name} %{name}.la mkdir -p %{buildroot}/%{_httpd_modconfdir} cp -p %SOURCE1 %{buildroot}/%{_httpd_modconfdir} %files %doc Changes.md CONTRIBUTING.md README.md TESTING.md %license LICENSE %config(noreplace) %{_httpd_modconfdir}/maxminddb.conf %{_httpd_moddir}/%{name}.so %changelog * Tue Sep 15 2020 Greg wildman - 1.2.0-1 - Update to new version. * Tue Oct 08 2019 Greg wildman - 1.1.0-2 - Initial spec.