Upgrade to 1.18.1 61/269261/1 accepted/tizen_7.0_base_hotfix accepted/tizen_8.0_base accepted/tizen_base accepted/tizen_base_dev tizen_7.0_base_hotfix tizen_8.0_base tizen_base accepted/tizen/7.0/base/20221116.030007 accepted/tizen/7.0/base/hotfix/20221116.055416 accepted/tizen/8.0/base/20231005.044622 accepted/tizen/base/20220116.220755 accepted/tizen/base/20221115.103841 accepted/tizen/base/dev/20230602.080931 submit/tizen_base/20220112.070418 tizen_7.0_m2_release tizen_8.0_m2_release
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 12 Jan 2022 06:55:57 +0000 (15:55 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 12 Jan 2022 06:55:57 +0000 (15:55 +0900)
Change-Id: I78d0446c9b8a29e5a5acd91c5399bc89736ca168

1  2 
packaging/c-ares.spec

index 939eeb5,0000000..0be7861
mode 100644,000000..100644
--- /dev/null
@@@ -1,71 -1,0 +1,71 @@@
- Version:        1.17.1
 +Name:           c-ares
++Version:        1.18.1
 +Release:        0
 +License:        MIT
 +Summary:        Library for asynchronous name resolves
 +Group:          Development/Libraries/C and C++
 +Source:         http://daniel.haxx.se/projects/c-ares/%{name}-%{version}.tar.gz
 +Source2:        baselibs.conf
 +Source1001:   c-ares.manifest
 +Source1002:   LICENSE
 +BuildRequires:  pkg-config
 +BuildRequires:  libtool
 +Url:            http://daniel.haxx.se/projects/c-ares
 +
 +%description
 +c-ares is a C library that performs DNS requests and name resolves
 +asynchronously. c-ares is a fork of the library named 'ares', written
 +by Greg Hudson at MIT.
 +
 +%package -n libcares
 +Summary:        Library for asynchronous name resolves
 +Group:          Development/Libraries/C and C++
 +
 +%description -n libcares
 +c-ares is a C library that performs DNS requests and name resolves
 +asynchronously. c-ares is a fork of the library named 'ares', written
 +by Greg Hudson at MIT.
 +
 +%package -n libcares-devel
 +Summary:        Library for asynchronous name resolves
 +Group:          Development/Libraries/C and C++
 +Requires:       libcares = %{version}
 +Requires:       glibc-devel
 +
 +%description -n libcares-devel
 +c-ares is a C library that performs DNS requests and name resolves
 +asynchronously. c-ares is a fork of the library named 'ares', written
 +by Greg Hudson at MIT.
 +
 +%prep
 +%setup -q -n %{name}-%{version}
 +cp %{SOURCE1001} .
 +cp %{SOURCE1002} .
 +
 +%build
 +autoreconf -fiv
 +%configure --enable-symbol-hiding --enable-nonblocking --enable-shared --disable-static --with-pic --disable-tests
 +sed -i -e 's@-g0@-g@g' Makefile
 +make %{?_smp_mflags}
 +
 +%install
 +%make_install
 +
 +%post -p /sbin/ldconfig -n libcares
 +
 +%postun -p /sbin/ldconfig -n libcares
 +
 +%files -n libcares
 +%license LICENSE
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%{_libdir}/libcares.so.2*
 +
 +%files -n libcares-devel
 +%license LICENSE
 +%manifest %{name}.manifest
 +%defattr(-,root,root)
 +%{_libdir}/libcares.so
 +%{_includedir}/*.h
 +%{_mandir}/man3/ares_*
 +%{_libdir}/pkgconfig/libcares.pc