Группа :: Система/Библиотеки
Пакет: GeoIP-ASNum
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: GeoIP-ASNum
Version: 201106
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
…
Полный changelog можно просмотреть здесь
Version: 201106
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
…
Полный changelog можно просмотреть здесь