Sisyphus repositório
Última atualização: 18 outubro 2019 | SRPMs: 17501 | Visitas: 15289842
en ru br
ALT Linux repositórios
S:20180324-alt1

Group :: Sistema/Bibliotecas
RPM: GeoIP-ASNum

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: GeoIP-ASNum
Version: 20180324
Release: alt1
# OK, day designation in version string is unneeded, this file updates strictly
# monthly. We need to introduce Epoch in order to drop day from version
Epoch: 1

Packager: Alexey Shabalin <shaba at altlinux.ru>

Summary: GeoIPASNum database file
License: OPEN DATA LICENSE (see LICENSE.txt)
Group: System/Libraries

Url: http://www.maxmind.com/app/geolitecity
Source: http://geolite.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
Source1: GeoIP-data-LICENSE.txt

BuildArch: noarch

Requires: libGeoIP > 1.4.2-alt1

# Need to do it explicitly...

Provides: /usr/share/GeoIP/GeoIPASNum.dat

%description
This package contain the maps IPv4 addresses to ASN, including the name of the ASN.

%prep
%setup -T -c

%build
cp %SOURCE1 ./LICENSE.txt

%install
install -d %buildroot%_datadir/GeoIP
gunzip -c %_sourcedir/GeoIPASNum.dat.gz >%buildroot%_datadir/GeoIP/GeoIPASNum.dat

%files
%doc LICENSE.txt
%dir %_datadir/GeoIP/
%_datadir/GeoIP/GeoIPASNum.dat

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009