Name: libGeoIP Version: 1.6.12 Release: 1mamba Summary: GeoIP is a C library find what country an IP address or hostname originates from. Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/maxmind/geoip-api-c Source: https://github.com/maxmind/geoip-api-c.git/v%{version}/geoip-api-c-%{version}.tar.bz2 License: LGPL Requires: Geo-db-LiteCountry ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END %description GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database that is accurate as of December 2002. This database simply contains IP blocks as keys, and countries as values. This database should be more complete and accurate than using reverse DNS lookups. This module can be used to automatically select the geographically closest mirror, to analyze your web server logs to determine the countries of your visitors, for credit card fraud detection, and for software export controls. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel GeoIP is a C library that enables the user to find the country that any IP address or hostname originates from. It uses a file based database that is accurate as of December 2002. This database simply contains IP blocks as keys, and countries as values. This database should be more complete and accurate than using reverse DNS lookups. This module can be used to automatically select the geographically closest mirror, to analyze your web server logs to determine the countries of your visitors, for credit card fraud detection, and for software export controls. This package contains static libraries and header files needed for development. %package static Summary: GeoIP static libraries Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description static %{name} is a C library that enables the user to find the country that any IP address or hostname originates from. This package contain static libraries for %{name}. %package tools Summary: GeoIP tools Group: System/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description tools %{name} is a C library that enables the user to find the country that any IP address or hostname originates from. This package contain few tools for %{name} such as lookup, export, autoupdate. %debug_package %prep %setup -q -n geoip-api-c-%{version} ./bootstrap %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall rm -f %{buildroot}%{_sysconfdir}/GeoIP.conf.default rm -f %{buildroot}%{_datadir}/GeoIP/GeoIP.dat %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) #%config(noreplace) %{_sysconfdir}/GeoIP.conf %{_libdir}/libGeoIP.so.* %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/libGeoIP.la %{_libdir}/libGeoIP.so %{_libdir}/pkgconfig/geoip.pc %doc ChangeLog README.md %files static %defattr(-,root,root) %{_libdir}/libGeoIP.a %files tools %defattr(-,root,root) %{_bindir}/geoiplookup6 %{_bindir}/geoiplookup %{_mandir}/man1/geoiplookup.1* %{_mandir}/man1/geoiplookup6.1* %changelog * Fri May 21 2021 Silvan Calarco 1.6.12-1mamba - update to 1.6.12 * Tue May 27 2014 Silvan Calarco 1.5.0-2mamba - rebuilt with libnetsnmp 5.7.2 * Fri Apr 19 2013 Automatic Build System 1.5.0-1mamba - automatic version update by autodist * Mon Jun 11 2012 Automatic Build System 1.4.8-1mamba - automatic version update by autodist * Mon May 09 2011 Automatic Build System 1.4.7-1mamba - automatic update by autodist * Fri Mar 20 2009 Silvan Calarco 1.4.6-1mamba - update to 1.4.6 * Fri Oct 03 2008 gil 1.4.5-1mamba - update to 1.4.5 * Sun Sep 07 2008 Silvan Calarco 1.4.4-2mamba - use package as requirement for GeoIP database - added missing defattr - fixed descriptions text formatting * Thu Aug 21 2008 gil 1.4.4-1mamba - package created by autospec