Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37536533
en ru br
Репозитории ALT

Группа :: Сети/Прочее
Пакет: geoipupdate

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

%define _unpackaged_files_terminate_build 1

Name: geoipupdate
Version: 6.0.0
Release: alt1

Summary: GeoIP update client code
Group: Networking/Other
License: Apache-2.0 or MIT
URL: https://github.com/maxmind/geoipupdate

Source0: %name-%version.tar
Source1: %name-%version-vendor.tar

BuildRequires(pre): rpm-build-golang rpm-macros-golang
BuildRequires: pandoc

%description
The GeoIP Update program performs automatic updates of GeoIP2 and
GeoIP Legacy binary databases. CSV databases are not supported.

%prep
%setup
%setup -a 1

%build
export BUILDDIR="$PWD/.build"
export IMPORT_PATH="github.com/maxmind/geoipupdate"
export GOPATH="%go_path"
export GOFLAGS="-mod=vendor"
%golang_prepare
%golang_build cmd/geoipupdate
rm -rf $BUILDDIR/src

%install
export BUILDDIR="$PWD/.build"
export GOPATH="%go_path"
%golang_install

%files
%doc README.md
%_bindir/geoipupdate

%changelog

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

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