Group :: Sistema/Servidores
RPM: apache2-mod_geoip2
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: apache2-mod_geoip2
Version: 1.2.2
Release: alt1
Summary: Apache2 module for finding the country and city that a web request originated from
License: Apache Software License v1.1
Group: System/Servers
Url: http://www.maxmind.com/app/mod_geoip/
Source0: http://www.maxmind.com/download/geoip/api/mod_geoip2/mod_geoip2_%version.tar.gz
Source1: apache2-mod_geoip2-load.conf
Source2: apache2-mod_geoip2.conf
# Mmmm... Is such strong prereg really needed??
PreReq: apache2 >= %apache_version-%apache_release
# Automatically added by buildreq on Sun Feb 18 2007
BuildRequires: apache2-devel libGeoIP-devel
%description
mod_geoip is an Apache module for finding the country that a web request
originated from. It uses the GeoIP library and database to perform the lookup.
%prep
%setup -n mod_geoip2_%version
%build
%apache_apxs -lGeoIP -c mod_geoip.c
%install
install -pD -m 0644 %SOURCE1 %buildroot%apache_confdir/modules.d/A.500_geoip2.conf
install -pD -m 0644 %SOURCE2 %buildroot%apache_addonconfdir/A.mod_geoip2.conf
install -pD -m 0755 .libs/mod_geoip.so %buildroot%apache_moduledir/mod_geoip.so
%files
%config(noreplace) %apache_confdir/modules.d/A.500_geoip2.conf
%config(noreplace) %apache_addonconfdir/A.mod_geoip2.conf
%apache_moduledir/mod_geoip.so
%doc Changes INSTALL README README.php
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.2.2
Release: alt1
Summary: Apache2 module for finding the country and city that a web request originated from
License: Apache Software License v1.1
Group: System/Servers
Url: http://www.maxmind.com/app/mod_geoip/
Source0: http://www.maxmind.com/download/geoip/api/mod_geoip2/mod_geoip2_%version.tar.gz
Source1: apache2-mod_geoip2-load.conf
Source2: apache2-mod_geoip2.conf
# Mmmm... Is such strong prereg really needed??
PreReq: apache2 >= %apache_version-%apache_release
# Automatically added by buildreq on Sun Feb 18 2007
BuildRequires: apache2-devel libGeoIP-devel
%description
mod_geoip is an Apache module for finding the country that a web request
originated from. It uses the GeoIP library and database to perform the lookup.
%prep
%setup -n mod_geoip2_%version
%build
%apache_apxs -lGeoIP -c mod_geoip.c
%install
install -pD -m 0644 %SOURCE1 %buildroot%apache_confdir/modules.d/A.500_geoip2.conf
install -pD -m 0644 %SOURCE2 %buildroot%apache_addonconfdir/A.mod_geoip2.conf
install -pD -m 0755 .libs/mod_geoip.so %buildroot%apache_moduledir/mod_geoip.so
%files
%config(noreplace) %apache_confdir/modules.d/A.500_geoip2.conf
%config(noreplace) %apache_addonconfdir/A.mod_geoip2.conf
%apache_moduledir/mod_geoip.so
%doc Changes INSTALL README README.php
%changelog
…
Todas as alterações você pod ver aqui