2019-09-30 10:33:59 -04:00
|
|
|
Name: c-ares
|
2022-01-12 10:48:01 +08:00
|
|
|
Version: 1.18.1
|
|
|
|
|
Release: 1
|
2019-09-30 10:33:59 -04:00
|
|
|
Summary: A C library for asynchronous DNS requests
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/c-ares/c-ares
|
2022-01-12 10:48:01 +08:00
|
|
|
Source0: https://github.com/c-ares/c-ares/releases/download/cares-1_18_1/%{name}-%{version}.tar.gz
|
2019-09-30 10:33:59 -04:00
|
|
|
|
|
|
|
|
BuildRequires: gcc autoconf automake libtool
|
|
|
|
|
# Patch0 from Redhat is applied for stopping overriding AC_CONFIG_MACRO_DIR
|
2022-01-12 10:48:01 +08:00
|
|
|
Patch0: 0000-Use-RPM-compiler-options.patch
|
|
|
|
|
|
2019-09-30 10:33:59 -04:00
|
|
|
%description
|
|
|
|
|
This is c-ares, an asynchronous resolver library. It is intended for applications
|
|
|
|
|
which need to perform DNS queries without blocking, or need to perform multiple
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: C-ares development files
|
|
|
|
|
Requires: %{name} = %{version}-%{release} pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The headers and libraries files that c-ares required to compile applications or
|
|
|
|
|
shared objects are contained in %{name}-devel package.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -if
|
2022-01-12 10:48:01 +08:00
|
|
|
%configure --enable-shared --disable-static --disable-dependency-tracking
|
2019-09-30 10:33:59 -04:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
%delete_la
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc CHANGES LICENSE.md
|
2020-07-22 13:45:16 +08:00
|
|
|
%{_libdir}/*.so.*
|
2019-09-30 10:33:59 -04:00
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
%{_libdir}/libcares.so
|
|
|
|
|
%{_includedir}/*.h
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%doc NEWS README.cares README.md
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-01-12 10:48:01 +08:00
|
|
|
* Wed Jan 12 2022 gaihuiying <gaihuiying1@huawei.com> - 1.18.1-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update c-ares to 1.18.1
|
|
|
|
|
|
2021-08-12 15:33:34 +08:00
|
|
|
* Thu Aug 12 2021 gaihuiying <gaihuiying1@huawei.com> - 1.17.1-2
|
|
|
|
|
- fix CVE-2021-3672
|
|
|
|
|
|
2021-01-28 16:26:04 +08:00
|
|
|
* Sat Jan 30 2021 xihaochen <xihaochen@huawei.com> - 1.17.1-1
|
|
|
|
|
- Type:requirements
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update c-ares to 1.17.1
|
|
|
|
|
|
2020-09-08 20:00:49 +08:00
|
|
|
* Tue Sep 8 2020 lunankun <lunankun@huawei.com> - 1.16.1-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix source0 url
|
|
|
|
|
|
2020-07-22 13:45:16 +08:00
|
|
|
* Wed Jul 22 2020 gaihuiying <gaihuiying1@huawei.com> - 1.16.1-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update c-ares version to 1.16.1
|
|
|
|
|
|
2019-09-30 10:33:59 -04:00
|
|
|
* Mon Sep 09 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.15.0-1
|
|
|
|
|
- Package Init
|