package created using the webbuild interface [release 1.4.3-1mamba;Mon Dec 14 2020]
This commit is contained in:
parent
7257951944
commit
2b0fa93416
@ -1,2 +1,4 @@
|
||||
# libmaxminddb
|
||||
|
||||
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.
|
||||
|
||||
|
82
libmaxminddb.spec
Normal file
82
libmaxminddb.spec
Normal file
@ -0,0 +1,82 @@
|
||||
Name: libmaxminddb
|
||||
Version: 1.4.3
|
||||
Release: 1mamba
|
||||
Summary: A C library for reading MaxMind DB files, including the GeoIP2 databases from MaxMind
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/maxmind/libmaxminddb
|
||||
Source: https://github.com/maxmind/libmaxminddb.git/%{version}/libmaxminddb-%{version}.tar.bz2
|
||||
License: Apache License 2.0
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%package tools
|
||||
Group: Applications/Databases
|
||||
Summary: Utility applications for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description tools
|
||||
This package contains utility applications for %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
autoreconf -f -i
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libmaxminddb.so.*
|
||||
%doc LICENSE
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/maxminddb.h
|
||||
%{_includedir}/maxminddb_config.h
|
||||
%{_libdir}/libmaxminddb.a
|
||||
%{_libdir}/libmaxminddb.la
|
||||
%{_libdir}/libmaxminddb.so
|
||||
%{_libdir}/pkgconfig/libmaxminddb.pc
|
||||
%{_mandir}/man3/libmaxminddb.3*
|
||||
%doc README.dev.md README.md
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/mmdblookup
|
||||
%{_mandir}/man1/mmdblookup.1*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user