2024-01-06 05:01:21 +01:00
|
|
|
Name: libmaxminddb
|
2024-01-06 05:01:21 +01:00
|
|
|
Version: 1.8.0
|
2024-01-06 05:01:21 +01:00
|
|
|
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
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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.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
|
2024-01-06 05:01:21 +01:00
|
|
|
* Wed Nov 08 2023 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:01:21 +01:00
|
|
|
* Sat Oct 01 2022 Automatic Build System <autodist@mambasoft.it> 1.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:01:21 +01:00
|
|
|
* Fri Apr 30 2021 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:01:21 +01:00
|
|
|
* Fri Feb 19 2021 Automatic Build System <autodist@mambasoft.it> 1.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:01:21 +01:00
|
|
|
* Fri Jan 08 2021 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:01:21 +01:00
|
|
|
* Mon Dec 14 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.3-1mamba
|
|
|
|
- package created using the webbuild interface
|