%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} Summary: A library that performs asynchronous DNS operations Name: c-ares Version: 1.33.0 Release: 1%{?_dist_release} Group: system Vendor: Project Vine Distribution: Vine Linux License: MIT URL: https://c-ares.org/ Source0: https://github.com/c-ares/c-ares/releases/download/v%{version}/%{name}-%{version}.tar.gz Patch1: c-ares-1.10.0-multilib.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool %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 devel Summary: Development files for c-ares Group: programming Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel This package contains the header files and libraries needed to compile applications or shared objects that use c-ares. %package -n compat32-%{name} Summary: A library that performs asynchronous DNS operations Group: system,legacy %description -n compat32-%{name} 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 compat32-%{name}-devel Summary: Development files for c-ares Group: programming,legacy Requires: compat32-%{name} = %{version}-%{release} Requires: %{name}-devel = %{version}-%{release} %description -n compat32-%{name}-devel This package contains the header files and libraries needed to compile applications or shared objects that use c-ares. %debug_package %prep %setup -q #%patch1 -p1 -b .multilib %build autoreconf -if %configure --enable-shared --disable-static \ --disable-dependency-tracking \ --disable-tests %{__make} %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root) %license LICENSE* %doc AUTHORS README.md RELEASE-NOTES.md %{_libdir}/*.so.* %files devel %defattr(-, root, root, 0755) %{_includedir}/ares.h %{_includedir}/ares_build.h %{_includedir}/ares_dns.h %{_includedir}/ares_dns_record.h %{_includedir}/ares_nameser.h %{_includedir}/ares_version.h %{_libdir}/*.so %{_libdir}/pkgconfig/libcares.pc %{_mandir}/man3/ares_* %if %{build_compat32} %files -n compat32-%{name} %defattr(-, root, root) %{_libdir}/*.so.* %files -n compat32-%{name}-devel %defattr(-, root, root, 0755) %{_libdir}/*.so %endif %changelog * Sat Aug 03 2024 Tomohiro "Tomo-p" KATO - 1.33.0-1 - updated to 1.33.0. * Wed Jul 24 2024 Tomohiro "Tomo-p" KATO - 1.32.3-1 - updated to 1.32.3. * Mon Jul 15 2024 Tomohiro "Tomo-p" KATO - 1.32.2-1 - updated to 1.32.2. * Mon Jul 08 2024 Tomohiro "Tomo-p" KATO - 1.32.1-1 - updated to 1.32.1. * Fri Jul 05 2024 Tomohiro "Tomo-p" KATO - 1.32.0-1 - updated to 1.32.0. * Tue Jun 18 2024 Tomohiro "Tomo-p" KATO - 1.31.0-1 - updated to 1.31.0. * Sun Jun 09 2024 Tomohiro "Tomo-p" KATO - 1.30.0-1 - updated to 1.30.0. * Sat May 25 2024 Tomohiro "Tomo-p" KATO - 1.29.0-1 - updated to 1.29.0. * Fri Apr 05 2024 Tomohiro "Tomo-p" KATO - 1.28.1-1 - updated to 1.28.1. * Tue Feb 27 2024 Tomohiro "Tomo-p" KATO - 1.27.0-1 - updated to 1.27.0. * Sat Jan 27 2024 Tomohiro "Tomo-p" KATO - 1.26.0-1 - updated to 1.26.0. * Fri Jan 05 2024 Tomohiro "Tomo-p" KATO - 1.25.0-1 - updated to 1.25.0. * Mon Dec 18 2023 Tomohiro "Tomo-p" KATO - 1.24.0-1 - updated to 1.24.0. * Thu Nov 30 2023 Tomohiro "Tomo-p" KATO - 1.23.0-1 - updated to 1.23.0. * Mon Nov 20 2023 Tomohiro "Tomo-p" KATO - 1.22.1-1 - updated to 1.22.1. * Wed Nov 15 2023 Tomohiro "Tomo-p" KATO - 1.22.0-1 - updated to 1.22.0. * Fri Oct 27 2023 Tomohiro "Tomo-p" KATO - 1.21.0-1 - updated to 1.21.0. * Mon Oct 09 2023 Tomohiro "Tomo-p" KATO - 1.20.1-1 - updated to 1.20.1. * Sun Oct 08 2023 Tomohiro "Tomo-p" KATO - 1.20.0-1 - updated to 1.20.0. * Mon May 22 2023 Tomohiro "Tomo-p" KATO - 1.19.1-1 - updated to 1.19.1. * Sun Jan 29 2023 Tomohiro "Tomo-p" KATO - 1.19.0-1 - updated to 1.19.0. * Wed Oct 27 2021 Tomohiro "Tomo-p" KATO - 1.18.1-1 - updated to 1.18.1. * Tue Oct 26 2021 Tomohiro "Tomo-p" KATO - 1.18.0-1 - updated to 1.18.0. - dropped Patch1000: fixed in upstream. * Thu Aug 26 2021 Tomohiro "Tomo-p" KATO - 1.17.2-1 - updated to 1.17.2. - imported Patch1000 from upstream. - dropped ldconfig scriptlets. * Sat Feb 20 2021 Tomohiro "Tomo-p" KATO - 1.17.1-1 - updated to 1.17.1. * Tue Jun 09 2020 Tomohiro "Tomo-p" KATO - 1.16.1-1 - updated to 1.16.1. * Sat Nov 03 2018 Tomohiro "Tomo-p" KATO - 1.15.0-1 - updated to 1.15.0. * Fri Mar 30 2018 Tomohiro "Tomo-p" KATO - 1.14.0-1 - updated to 1.14.0. - added compat32-* subpackages. * Sun Dec 24 2017 Tomohiro "Tomo-p" KATO - 1.13.0-4 - initial build for Vine Linux. * Wed Aug 02 2017 Fedora Release Engineering - 1.13.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 20 2017 Jakub Hrozek - 1.13.0-1 - update to 1.13.0 * Fri Feb 10 2017 Fedora Release Engineering - 1.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Sep 29 2016 Tom Callaway - 1.12.0-1 - update to 1.12.0 * Fri Feb 19 2016 Jakub Hrozek - 1.11.0 - New upstream version 1.11.0 * Wed Feb 03 2016 Fedora Release Engineering - 1.10.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.10.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Aug 15 2014 Fedora Release Engineering - 1.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon May 13 2013 Jakub Hrozek - 1.10.1-1 - New upstream release 1.10 - Obsolete upstreamed patches - Amend the multilib patch, there's no need to patch configure since we are running autoreconf anyways - https://raw.github.com/bagder/c-ares/cares-1_10_0/RELEASE-NOTES * Thu Apr 11 2013 Jakub Hrozek - 1.9.1-6 - Apply an upstream patch to override AC_CONFIG_MACRO_DIR only conditionally * Thu Apr 11 2013 Jakub Hrozek - 1.9.1-5 - Apply a patch by Stephen Gallagher to patch autoconf, not configure to allow optflags to be passed in by build environment - Run autoreconf before configure - git rm obsolete patches - Apply upstream patch to stop overriding AC_CONFIG_MACRO_DIR * Wed Feb 13 2013 Fedora Release Engineering - 1.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Aug 8 2012 Jakub Hrozek - 1.9.1-3 - Include URL to the license text * Wed Jul 18 2012 Fedora Release Engineering - 1.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 25 2012 Tom Callaway - 1.9.1-1 - update to 1.9.1 * Sat Apr 28 2012 Tom Callaway - 1.8.0-1 - update to 1.8.0 - fix multilib patch (thanks to Paul Howarth) * Thu Jan 12 2012 Fedora Release Engineering - 1.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Aug 17 2011 Jakub Hrozek - 1.7.5-1 - New upstream release 1.7.5 - Obsoletes patch #2 - Rebase patch #1 (optflags) to match the 1.7.5 code - Fixed Source0 URL to point at the upstream tarball * Mon Apr 11 2011 Jakub Hrozek - 1.7.4-3 - Apply upstream patch to fix rhbz#695424 * Tue Feb 08 2011 Fedora Release Engineering - 1.7.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 10 2010 Tom "spot" Callaway - 1.7.4-1 - update to 1.7.4 * Wed Aug 25 2010 Jakub Hrozek - 1.7.3-3 - Actually apply the patches * Wed Aug 25 2010 Jakub Hrozek - 1.7.3-2 - apply couple of patches from upstream * Tue Jun 15 2010 Jakub Hrozek - 1.7.3-1 - Upgrade to new upstream release 1.7.3 (obsoletes search/domain patch) - Fix conflict of -devel packages on multilib architectures (#602880) * Thu Jun 3 2010 Jakub Hrozek - 1.7.1-2 - Use last instance of search/domain, not the first one (#597286) * Tue Mar 23 2010 Jakub Hrozek - 1.7.1-1 - update to 1.7.1 which contains the IPv6 nameserver patch * Sun Mar 7 2010 Jakub Hrozek - 1.7.0-3 - Change IPv6 nameserver patch according to upstream changes (upstream revisions 1199,1201,1202) * Wed Mar 3 2010 Jakub Hrozek - 1.7.0-2 - Add a patch to allow usage of IPv6 nameservers * Tue Dec 1 2009 Tom "spot" Callaway - 1.7.0-1 - update to 1.7.0 * Sat Jul 25 2009 Ville Skyttä - 1.6.0-3 - Patch to make upstream build system honor our CFLAGS and friends. - Don't bother building throwaway static libs. - Disable autotools dependency tracking for cleaner build logs and possible slight build speedup. - Convert docs to UTF-8. - Update URLs. * Fri Jul 24 2009 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Jul 22 2009 Tom "spot" Callaway - 1.6.0-1 - update to 1.6.0 * Mon Feb 23 2009 Fedora Release Engineering - 1.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Sep 12 2008 Tom "spot" Callaway - 1.5.3-1 - update to 1.5.3 * Tue Feb 19 2008 Fedora Release Engineering - 1.5.1-2 - Autorebuild for GCC 4.3 * Tue Feb 19 2008 Tom "spot" Callaway 1.5.1-1 - update to 1.5.1 * Thu Aug 23 2007 Tom "spot" Callaway 1.4.0-2 - rebuild for ppc32 * Wed Jun 27 2007 Tom "spot" Callaway 1.4.0-1 - bump to 1.4.0 (resolves bugzilla 243591) - get rid of static library (.a) * Wed Jan 17 2007 Tom "spot" Callaway 1.3.2-1 - bump to 1.3.2 * Mon Sep 11 2006 Tom "spot" Callaway 1.3.1-2 - FC-6 bump * Mon Jul 10 2006 Tom "spot" Callaway 1.3.1-1 - bump to 1.3.1 * Tue Feb 28 2006 Tom "spot" Callaway 1.3.0-2 - bump for FC-5 rebuild * Sun Sep 4 2005 Tom "spot" Callaway 1.3.0-1 - include LICENSE text - bump to 1.3.0 * Tue May 31 2005 Tom "spot" Callaway 1.2.1-4 - use dist tag to prevent EVR overlap * Fri Apr 22 2005 Tom "spot" Callaway 1.2.1-2 - fix license (MIT, not LGPL) - get rid of libcares.la * Fri Apr 22 2005 Tom "spot" Callaway 1.2.1-1 - initial package creation