# # spec file for package geoipupdate # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: geoipupdate Version: 2.2.2 Release: 2.1 Summary: GeoIP update client code License: GPL-2.0 Group: Productivity/Networking/System Url: https://www.maxmind.com Source0: https://github.com/maxmind/geoipupdate/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: pkg-config BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(zlib) Conflicts: GeoIP < 1.6.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The GeoIP Update program performs automatic updates of GeoIP2 and GeoIP Legacy binary databases. Currently the program only supports Linux and other Unix- like systems. %prep %setup -q %build %configure \ --datadir=%{_localstatedir}/lib make %{?_smp_mflags} %install %make_install install -d %{buildroot}%{_localstatedir}/lib/GeoIP %files %defattr(-,root,root) %doc README.md ChangeLog.md LICENSE %config(noreplace) %{_sysconfdir}/GeoIP.conf %config %{_sysconfdir}/GeoIP.conf.default %dir %{_localstatedir}/lib/GeoIP %{_bindir}/geoipupdate %{_mandir}/man1/geoipupdate.1%{ext_man} %{_mandir}/man5/GeoIP.conf.5%{ext_man} %changelog * Fri Jul 1 2016 toddrme2178@gmail.com - Fix Group tag. * Thu Feb 4 2016 mpluskal@suse.com - Update to version 2.2.2 * geoipupdate now calls fsync on the database directory after a rename to make it durable in the event of a crash. * Sun Nov 8 2015 p.drouand@gmail.com - Update to version 2.2.1 * Version bump to fix PPA issue - Changes from version 2.2.0 * geoipupdate now verifies the MD5 of the new database before deploying it. If the database MD5 does not match the expected MD5, geoipupdate will exit with an error. * The copy of base64.c and base64.h was switched to a version under GPL 2+ to prevent a license conflict. * The LICENSE file was added to the distribution. * Several issues in the documentation were fixed. - Remove gpl-2.0.txt; now included in the tarball - Perform a spec-cleaner * Sat Feb 21 2015 mpluskal@suse.com - Initial packaging