c-ares-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: A library that performs asynchronous DNS operations
  3. Name: c-ares
  4. Version: 1.33.0
  5. Release: 1%{?_dist_release}
  6. Group: system
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: MIT
  10. URL: https://c-ares.org/
  11. Source0: https://github.com/c-ares/c-ares/releases/download/v%{version}/%{name}-%{version}.tar.gz
  12. Patch1: c-ares-1.10.0-multilib.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  14. BuildRequires: autoconf
  15. BuildRequires: automake
  16. BuildRequires: libtool
  17. %description
  18. c-ares is a C library that performs DNS requests and name resolves
  19. asynchronously. c-ares is a fork of the library named 'ares', written
  20. by Greg Hudson at MIT.
  21. %package devel
  22. Summary: Development files for c-ares
  23. Group: programming
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: pkgconfig
  26. %description devel
  27. This package contains the header files and libraries needed to
  28. compile applications or shared objects that use c-ares.
  29. %package -n compat32-%{name}
  30. Summary: A library that performs asynchronous DNS operations
  31. Group: system,legacy
  32. %description -n compat32-%{name}
  33. c-ares is a C library that performs DNS requests and name resolves
  34. asynchronously. c-ares is a fork of the library named 'ares', written
  35. by Greg Hudson at MIT.
  36. %package -n compat32-%{name}-devel
  37. Summary: Development files for c-ares
  38. Group: programming,legacy
  39. Requires: compat32-%{name} = %{version}-%{release}
  40. Requires: %{name}-devel = %{version}-%{release}
  41. %description -n compat32-%{name}-devel
  42. This package contains the header files and libraries needed to
  43. compile applications or shared objects that use c-ares.
  44. %debug_package
  45. %prep
  46. %setup -q
  47. #%patch1 -p1 -b .multilib
  48. %build
  49. autoreconf -if
  50. %configure --enable-shared --disable-static \
  51. --disable-dependency-tracking \
  52. --disable-tests
  53. %{__make} %{?_smp_mflags}
  54. %install
  55. rm -rf $RPM_BUILD_ROOT
  56. make DESTDIR=$RPM_BUILD_ROOT install
  57. rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %files
  61. %defattr(-, root, root)
  62. %license LICENSE*
  63. %doc AUTHORS README.md RELEASE-NOTES.md
  64. %{_libdir}/*.so.*
  65. %files devel
  66. %defattr(-, root, root, 0755)
  67. %{_includedir}/ares.h
  68. %{_includedir}/ares_build.h
  69. %{_includedir}/ares_dns.h
  70. %{_includedir}/ares_dns_record.h
  71. %{_includedir}/ares_nameser.h
  72. %{_includedir}/ares_version.h
  73. %{_libdir}/*.so
  74. %{_libdir}/pkgconfig/libcares.pc
  75. %{_mandir}/man3/ares_*
  76. %if %{build_compat32}
  77. %files -n compat32-%{name}
  78. %defattr(-, root, root)
  79. %{_libdir}/*.so.*
  80. %files -n compat32-%{name}-devel
  81. %defattr(-, root, root, 0755)
  82. %{_libdir}/*.so
  83. %endif
  84. %changelog
  85. * Sat Aug 03 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.33.0-1
  86. - updated to 1.33.0.
  87. * Wed Jul 24 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.32.3-1
  88. - updated to 1.32.3.
  89. * Mon Jul 15 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.32.2-1
  90. - updated to 1.32.2.
  91. * Mon Jul 08 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.32.1-1
  92. - updated to 1.32.1.
  93. * Fri Jul 05 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.32.0-1
  94. - updated to 1.32.0.
  95. * Tue Jun 18 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.31.0-1
  96. - updated to 1.31.0.
  97. * Sun Jun 09 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.30.0-1
  98. - updated to 1.30.0.
  99. * Sat May 25 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.29.0-1
  100. - updated to 1.29.0.
  101. * Fri Apr 05 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.28.1-1
  102. - updated to 1.28.1.
  103. * Tue Feb 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.27.0-1
  104. - updated to 1.27.0.
  105. * Sat Jan 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.26.0-1
  106. - updated to 1.26.0.
  107. * Fri Jan 05 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.25.0-1
  108. - updated to 1.25.0.
  109. * Mon Dec 18 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.24.0-1
  110. - updated to 1.24.0.
  111. * Thu Nov 30 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.23.0-1
  112. - updated to 1.23.0.
  113. * Mon Nov 20 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.22.1-1
  114. - updated to 1.22.1.
  115. * Wed Nov 15 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.22.0-1
  116. - updated to 1.22.0.
  117. * Fri Oct 27 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.21.0-1
  118. - updated to 1.21.0.
  119. * Mon Oct 09 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.20.1-1
  120. - updated to 1.20.1.
  121. * Sun Oct 08 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.20.0-1
  122. - updated to 1.20.0.
  123. * Mon May 22 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.19.1-1
  124. - updated to 1.19.1.
  125. * Sun Jan 29 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.19.0-1
  126. - updated to 1.19.0.
  127. * Wed Oct 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.18.1-1
  128. - updated to 1.18.1.
  129. * Tue Oct 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.18.0-1
  130. - updated to 1.18.0.
  131. - dropped Patch1000: fixed in upstream.
  132. * Thu Aug 26 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.17.2-1
  133. - updated to 1.17.2.
  134. - imported Patch1000 from upstream.
  135. - dropped ldconfig scriptlets.
  136. * Sat Feb 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.17.1-1
  137. - updated to 1.17.1.
  138. * Tue Jun 09 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.16.1-1
  139. - updated to 1.16.1.
  140. * Sat Nov 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.15.0-1
  141. - updated to 1.15.0.
  142. * Fri Mar 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.14.0-1
  143. - updated to 1.14.0.
  144. - added compat32-* subpackages.
  145. * Sun Dec 24 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.13.0-4
  146. - initial build for Vine Linux.
  147. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-3
  148. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  149. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-2
  150. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  151. * Tue Jun 20 2017 Jakub Hrozek <jhrozek@redhat.com> - 1.13.0-1
  152. - update to 1.13.0
  153. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
  154. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  155. * Thu Sep 29 2016 Tom Callaway <spot@fedoraproject.org> - 1.12.0-1
  156. - update to 1.12.0
  157. * Fri Feb 19 2016 Jakub Hrozek <jhrozek@redhat.com> - 1.11.0
  158. - New upstream version 1.11.0
  159. * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-6
  160. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  161. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-5
  162. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  163. * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-4
  164. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  165. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-3
  166. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  167. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-2
  168. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  169. * Mon May 13 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.10.1-1
  170. - New upstream release 1.10
  171. - Obsolete upstreamed patches
  172. - Amend the multilib patch, there's no need to patch configure since we
  173. are running autoreconf anyways
  174. - https://raw.github.com/bagder/c-ares/cares-1_10_0/RELEASE-NOTES
  175. * Thu Apr 11 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-6
  176. - Apply an upstream patch to override AC_CONFIG_MACRO_DIR only conditionally
  177. * Thu Apr 11 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-5
  178. - Apply a patch by Stephen Gallagher to patch autoconf, not configure to
  179. allow optflags to be passed in by build environment
  180. - Run autoreconf before configure
  181. - git rm obsolete patches
  182. - Apply upstream patch to stop overriding AC_CONFIG_MACRO_DIR
  183. * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-4
  184. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  185. * Wed Aug 8 2012 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-3
  186. - Include URL to the license text
  187. * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-2
  188. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  189. * Mon Jun 25 2012 Tom Callaway <spot@fedoraproject.org> - 1.9.1-1
  190. - update to 1.9.1
  191. * Sat Apr 28 2012 Tom Callaway <spot@fedoraproject.org> - 1.8.0-1
  192. - update to 1.8.0
  193. - fix multilib patch (thanks to Paul Howarth)
  194. * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.5-2
  195. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  196. * Wed Aug 17 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.5-1
  197. - New upstream release 1.7.5
  198. - Obsoletes patch #2
  199. - Rebase patch #1 (optflags) to match the 1.7.5 code
  200. - Fixed Source0 URL to point at the upstream tarball
  201. * Mon Apr 11 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.4-3
  202. - Apply upstream patch to fix rhbz#695424
  203. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-2
  204. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  205. * Fri Dec 10 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.4-1
  206. - update to 1.7.4
  207. * Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-3
  208. - Actually apply the patches
  209. * Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-2
  210. - apply couple of patches from upstream
  211. * Tue Jun 15 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-1
  212. - Upgrade to new upstream release 1.7.3 (obsoletes search/domain patch)
  213. - Fix conflict of -devel packages on multilib architectures (#602880)
  214. * Thu Jun 3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-2
  215. - Use last instance of search/domain, not the first one (#597286)
  216. * Tue Mar 23 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-1
  217. - update to 1.7.1 which contains the IPv6 nameserver patch
  218. * Sun Mar 7 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-3
  219. - Change IPv6 nameserver patch according to upstream changes
  220. (upstream revisions 1199,1201,1202)
  221. * Wed Mar 3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-2
  222. - Add a patch to allow usage of IPv6 nameservers
  223. * Tue Dec 1 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.0-1
  224. - update to 1.7.0
  225. * Sat Jul 25 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.6.0-3
  226. - Patch to make upstream build system honor our CFLAGS and friends.
  227. - Don't bother building throwaway static libs.
  228. - Disable autotools dependency tracking for cleaner build logs and possible
  229. slight build speedup.
  230. - Convert docs to UTF-8.
  231. - Update URLs.
  232. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
  233. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  234. * Wed Jul 22 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.0-1
  235. - update to 1.6.0
  236. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
  237. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  238. * Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.3-1
  239. - update to 1.5.3
  240. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.1-2
  241. - Autorebuild for GCC 4.3
  242. * Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.5.1-1
  243. - update to 1.5.1
  244. * Thu Aug 23 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-2
  245. - rebuild for ppc32
  246. * Wed Jun 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-1
  247. - bump to 1.4.0 (resolves bugzilla 243591)
  248. - get rid of static library (.a)
  249. * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.2-1
  250. - bump to 1.3.2
  251. * Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-2
  252. - FC-6 bump
  253. * Mon Jul 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-1
  254. - bump to 1.3.1
  255. * Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-2
  256. - bump for FC-5 rebuild
  257. * Sun Sep 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-1
  258. - include LICENSE text
  259. - bump to 1.3.0
  260. * Tue May 31 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-4
  261. - use dist tag to prevent EVR overlap
  262. * Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-2
  263. - fix license (MIT, not LGPL)
  264. - get rid of libcares.la
  265. * Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1
  266. - initial package creation