Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-geoip-148
dba-geoip-148.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-geoip-148.spec of Package dba-geoip-148
# # spec file for package dba-geoip # %define maketest 0 %define real_name GeoIP %define version 1.4.8 %define vers 148 %define prefix /DBA/geoip/%{version} Name: dba-geoip-%{vers} Summary: C library for country/city/organization to IP address or hostname mapping Version: %{version} Release: 1 License: LGPLv2+ Group: Development/Libraries Url: http://www.maxmind.com/app/c Source0: http://www.maxmind.com/download/geoip/api/c/GeoIP-%{version}.tar.gz Source1: dba-geoip-rpmlintrc Source2: fetch-geoipdata-city.pl Source3: fetch-geoipdata.pl Source4: filter-requires-geoip.sh Source5: filter-provides-geoip.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %define _use_internal_dependency_generator 0 %define __find_requires %{SOURCE4} %define __find_provides %{SOURCE5} BuildRequires: zlib-devel #!BuildIgnore: nspr dba-geoip-148 dba-geoip-160 %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %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 March 2003. 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. %prep %setup -q -n %{real_name}-%{version} %{__chmod} +x %{SOURCE4} %{SOURCE5} %build export NO_BRP_CHECK_RPATH=true ./configure \ --prefix=%prefix \ --disable-static \ --disable-dependency-tracking make %{?_smp_mflags} %install make DESTDIR=%buildroot install install -D -m755 %{SOURCE2} %{buildroot}%{prefix}/bin/fetch-geoipdata-city.pl install -D -m755 %{SOURCE3} %{buildroot}%{prefix}/bin/fetch-geoipdata.pl export NO_BRP_CHECK_RPATH=true %post cd %{prefix}/.. %{__ln_s} -f %{version} 1.latest %clean rm -rf %buildroot %files %defattr(-,root,root) %dir %{prefix} %{prefix}/bin %{prefix}/etc %{prefix}/include %{prefix}/lib %{prefix}/share %changelog * Fri Jul 14 2017 Holger Manthey <holger.manthey@bertelsmann.de> - fix centos requires * Tue Dec 27 2011 Holger Manthey <holger.manthey@bertelsmann.de> - inital version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor