%define data_stamp 20060201 Name: GeoIP-data Version: %{data_stamp} Release: 1.n0i.10 Summary: GeoIP database file Group: System Environment/Libraries License: GPL URL: http://www.maxmind.com/app/c Vendor: Maxmind Source0: http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz Requires: GeoIP BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description This package contain the database for GeoIP, version %{data_stamp}. %prep %build %install %{__rm} -rf $RPM_BUILD_ROOT %{__install} -d $RPM_BUILD_ROOT/%{_localstatedir}/lib/GeoIP/ %{__gzip} -cd %{SOURCE0} > $RPM_BUILD_ROOT/%{_localstatedir}/lib/GeoIP/GeoIP.dat %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_localstatedir}/lib/GeoIP/* %changelog * Thu Feb 02 2006 Marius FERARU 20060201-1.n0i.10 - 20060201 * Mon Sep 05 2005 Marius FERARU 20050901-1.n0i.9 - 20050901 * Mon Aug 01 2005 Marius FERARU 20050705-1.n0i.8 - 20050705 * Sat Jul 23 2005 Marius FERARU 20050201-1.n0i.7 - minor spec tweaks - rebuild (sorry, no db update for the moment - network unreacheable) * Sun Feb 06 2005 Marius FERARU 0:1.3.8-6.n0i.20050201 - database from 2005.02.01 * Sat Dec 04 2004 Marius FERARU 0:1.3.8-5.n0i.20041201 - database from 2004.12.01 * Mon Jul 12 2004 Marius FERARU 0:1.3.1-5.n0i.20040701 - database from 2004.07.01 * Wed Jun 23 2004 Marius FERARU 0:1.3.1-4.n0i.20040602 - database from 2004.06.02 * Sun May 16 2004 Marius FERARU 0:1.3.1-3.n0i.20040502 - database from 2004.05.02 * Sun Apr 25 2004 Marius FERARU 0:1.3.1-2.n0i.20040401 - database from 2004.04.01 * Thu Mar 25 2004 Marius FERARU 0:1.3.1-1.n0i.20040304 - database from 2004.03.04 * Thu Jan 08 2004 Marius FERARU 0:1.3.1-0.n0i.20040106 - Initial RPM Build for the separate GeoIP database file - database from 2004.01.06 - please keep the version synchronized with the latest GeoIP version.