代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/libmaxminddb 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: libmaxminddb
Version: 1.7.1
Release: 1
Summary: C library for working with MaxMind DB files
License: ASL 2.0 and BSD
URL: https://github.com/maxmind/libmaxminddb
Source0: https://github.com/maxmind/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
Source1: maxminddb_config.h
BuildRequires: gcc perl-interpreter make libtool automake autoconf gcc-c++
BuildRequires: perl-File-Temp perl-Test-Simple >= 0.88 perl-Test-Output
%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.
The MaxMind DB format is an open format. The spec is available at http://maxmind.github.io/MaxMind-DB/.
This spec is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
See http://dev.maxmind.com/ for more details about MaxMind's GeoIP2 products.
%package devel
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
Summary: Development header files for libmaxminddb
%description devel
libmaxminddb header files and mmdblookup utility for ip address lookup in maxmind DB file.
%package help
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: man information and changelog document for user
%description help
the help package include man information and changelog document for user.
%prep
%setup -q
autoreconf --force --install
%build
%configure --disable-static
%disable_rpath
sed -i -e 's/ -shared / -Wl,--as-needed\0/g' libtool
%make_build
%check
LD_PRELOAD=%{buildroot}%{_libdir}/libmaxminddb.so make check
%install
%make_install
%ldconfig_scriptlets
%files
%license LICENSE NOTICE
%{_libdir}/libmaxminddb.so.*
%exclude %{_libdir}/*.la
%files devel
%{_bindir}/mmdblookup
%{_includedir}/maxminddb.h
%{_includedir}/maxminddb_config.h
%{_libdir}/libmaxminddb.so
%{_libdir}/pkgconfig/libmaxminddb.pc
%files help
%doc Changes.md
%{_mandir}/man1/*
%{_mandir}/man3/*
%changelog
* Fri Feb 17 2023 li-long315 <lilong@kylinos.cn> - 1.7.1-1
- Upgrade to 1.7.1
* Mon Jun 27 2022 dillon chen <dillon.chen@gmail.com> - 1.5.2-1
- update to 1.5.2
* Tue Jan 26 2021 liudabo <liudabo1@huawei.com> - 1.5.0-1
- upgrade version to 1.5.0
* Tue Sep 3 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.2.0-7
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。