Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-libmaxminddb-120-static
dba-libmaxminddb-120-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-libmaxminddb-120-static.spec of Package dba-libmaxminddb-120-static
# # spec file for package dba-libmaxminddb-120-static # %define maketest 0 %define real_name libmaxminddb %define version 1.2.0 %define vers 120 %define prefix /DBA/%{real_name}/%{version} Name: dba-%{real_name}-%{vers}-static Summary: C library for the MaxMind DB file format version 1.2.0 static build Version: %{version} Release: 1 License: LGPLv2+ Group: Development/Libraries Url: http://dev.maxmind.com/ Source0: https://github.com/maxmind/libmaxminddb/releases/download/%{version}/libmaxminddb-%{version}.tar.gz Source1: dba-libmaxminddb-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: zlib-devel %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description The libmaxminddb library provides a C library for reading MaxMind DB files, including the GeoIP2 databases from MaxMind. This is a custom binary format designed to facilitate fast lookups of IP addresses while allowing for great flexibility in the type of data associated with an address. %prep %setup -q -n %{real_name}-%{version} %build export CFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing -Wall" ./configure \ --prefix=%prefix \ --enable-static \ --disable-shared \ --disable-dependency-tracking make %{?_smp_mflags} %install make DESTDIR=%buildroot install %clean rm -rf %buildroot %files %defattr(-,root,root) %dir %{prefix} %{prefix}/bin %{prefix}/include %{prefix}/lib %{prefix}/share %changelog * Tue Jan 24 2017 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