Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37911702
en ru br
Репозитории ALT
5.1: 1.3.4-alt1
4.1: 1.3.1-alt1
4.0: 1.2.9-alt1.0
www.altlinux.org/Changes

Группа :: Система/Серверы
Пакет: mod_geoip

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# override definition from apache-devel
%define apache_addonconfdir %apache_confdir/addon-modules.d
%define apache_moduledir %_libdir/apache

Name: mod_geoip
Version: 1.2.9
Release: alt1.0

Summary: GeoIP database access module for Apache
Group: System/Servers
License: Apache
URL: http://www.maxmind.com/app/mod_geoip

Source: http://www.maxmind.com/download/geoip/api/mod_geoip/mod_geoip_%version.tar.gz
Source2: mod_geoip.conf

# Automatically added by buildreq on Tue May 23 2006

BuildRequires: apache-devel libGeoIP-devel

%description
mod_geoip looks up the IP address of the client end user.

%prep
%setup -q -n mod_geoip_%version

%build
%apache_apxs -c -I/usr/include/GeoIP -lGeoIP mod_geoip.c

%install
%__install -pD -m755 %name.so %buildroot%apache_moduledir/%name.so
%__install -pD -m644 %_sourcedir/%name.conf %buildroot%apache_addonconfdir/%name.conf

%post
/sbin/service httpd condrestart

%postun
/sbin/service httpd condrestart

%files
%apache_moduledir/*
%config(noreplace) %apache_addonconfdir/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin