c-ares-vl.spec 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. Summary: A library that performs asynchronous DNS operations
  2. Name: c-ares
  3. Version: 1.13.0
  4. Release: 4%{?_dist_release}
  5. License: MIT
  6. Group: System Environment/Libraries
  7. URL: http://c-ares.haxx.se/
  8. Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
  9. # The license can be obtained at http://c-ares.haxx.se/license.html
  10. Source1: LICENSE
  11. Patch0: 0001-Use-RPM-compiler-options.patch
  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. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: tomop
  20. %description
  21. c-ares is a C library that performs DNS requests and name resolves
  22. asynchronously. c-ares is a fork of the library named 'ares', written
  23. by Greg Hudson at MIT.
  24. %package devel
  25. Summary: Development files for c-ares
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. %description devel
  30. This package contains the header files and libraries needed to
  31. compile applications or shared objects that use c-ares.
  32. %prep
  33. %setup -q
  34. %patch0 -p1 -b .optflags
  35. #%patch1 -p1 -b .multilib
  36. cp %{SOURCE1} .
  37. f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f
  38. %build
  39. autoreconf -if
  40. %configure --enable-shared --disable-static \
  41. --disable-dependency-tracking
  42. %{__make} %{?_smp_mflags}
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make DESTDIR=$RPM_BUILD_ROOT install
  46. rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-, root, root)
  53. %doc AUTHORS README.md README.cares CHANGES NEWS LICENSE* RELEASE-NOTES SECURITY.md
  54. %{_libdir}/*.so.*
  55. %files devel
  56. %defattr(-, root, root, 0755)
  57. %{_includedir}/ares.h
  58. %{_includedir}/ares_build.h
  59. %{_includedir}/ares_dns.h
  60. %{_includedir}/ares_rules.h
  61. %{_includedir}/ares_version.h
  62. %{_libdir}/*.so
  63. %{_libdir}/pkgconfig/libcares.pc
  64. %{_mandir}/man3/ares_*
  65. %changelog
  66. * Sun Dec 24 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.13.0-4
  67. - initial build for Vine Linux.
  68. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-3
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  70. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-2
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  72. * Tue Jun 20 2017 Jakub Hrozek <jhrozek@redhat.com> - 1.13.0-1
  73. - update to 1.13.0
  74. * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
  75. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  76. * Thu Sep 29 2016 Tom Callaway <spot@fedoraproject.org> - 1.12.0-1
  77. - update to 1.12.0
  78. * Fri Feb 19 2016 Jakub Hrozek <jhrozek@redhat.com> - 1.11.0
  79. - New upstream version 1.11.0
  80. * Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-6
  81. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  82. * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-5
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  84. * Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-4
  85. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  86. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-3
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  88. * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-2
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  90. * Mon May 13 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.10.1-1
  91. - New upstream release 1.10
  92. - Obsolete upstreamed patches
  93. - Amend the multilib patch, there's no need to patch configure since we
  94. are running autoreconf anyways
  95. - https://raw.github.com/bagder/c-ares/cares-1_10_0/RELEASE-NOTES
  96. * Thu Apr 11 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-6
  97. - Apply an upstream patch to override AC_CONFIG_MACRO_DIR only conditionally
  98. * Thu Apr 11 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-5
  99. - Apply a patch by Stephen Gallagher to patch autoconf, not configure to
  100. allow optflags to be passed in by build environment
  101. - Run autoreconf before configure
  102. - git rm obsolete patches
  103. - Apply upstream patch to stop overriding AC_CONFIG_MACRO_DIR
  104. * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-4
  105. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  106. * Wed Aug 8 2012 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-3
  107. - Include URL to the license text
  108. * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-2
  109. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  110. * Mon Jun 25 2012 Tom Callaway <spot@fedoraproject.org> - 1.9.1-1
  111. - update to 1.9.1
  112. * Sat Apr 28 2012 Tom Callaway <spot@fedoraproject.org> - 1.8.0-1
  113. - update to 1.8.0
  114. - fix multilib patch (thanks to Paul Howarth)
  115. * Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.5-2
  116. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  117. * Wed Aug 17 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.5-1
  118. - New upstream release 1.7.5
  119. - Obsoletes patch #2
  120. - Rebase patch #1 (optflags) to match the 1.7.5 code
  121. - Fixed Source0 URL to point at the upstream tarball
  122. * Mon Apr 11 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.4-3
  123. - Apply upstream patch to fix rhbz#695424
  124. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-2
  125. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  126. * Fri Dec 10 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.4-1
  127. - update to 1.7.4
  128. * Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-3
  129. - Actually apply the patches
  130. * Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-2
  131. - apply couple of patches from upstream
  132. * Tue Jun 15 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-1
  133. - Upgrade to new upstream release 1.7.3 (obsoletes search/domain patch)
  134. - Fix conflict of -devel packages on multilib architectures (#602880)
  135. * Thu Jun 3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-2
  136. - Use last instance of search/domain, not the first one (#597286)
  137. * Tue Mar 23 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-1
  138. - update to 1.7.1 which contains the IPv6 nameserver patch
  139. * Sun Mar 7 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-3
  140. - Change IPv6 nameserver patch according to upstream changes
  141. (upstream revisions 1199,1201,1202)
  142. * Wed Mar 3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-2
  143. - Add a patch to allow usage of IPv6 nameservers
  144. * Tue Dec 1 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.0-1
  145. - update to 1.7.0
  146. * Sat Jul 25 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.6.0-3
  147. - Patch to make upstream build system honor our CFLAGS and friends.
  148. - Don't bother building throwaway static libs.
  149. - Disable autotools dependency tracking for cleaner build logs and possible
  150. slight build speedup.
  151. - Convert docs to UTF-8.
  152. - Update URLs.
  153. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
  154. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  155. * Wed Jul 22 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.0-1
  156. - update to 1.6.0
  157. * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
  158. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  159. * Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.3-1
  160. - update to 1.5.3
  161. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.1-2
  162. - Autorebuild for GCC 4.3
  163. * Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.5.1-1
  164. - update to 1.5.1
  165. * Thu Aug 23 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-2
  166. - rebuild for ppc32
  167. * Wed Jun 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-1
  168. - bump to 1.4.0 (resolves bugzilla 243591)
  169. - get rid of static library (.a)
  170. * Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.2-1
  171. - bump to 1.3.2
  172. * Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-2
  173. - FC-6 bump
  174. * Mon Jul 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-1
  175. - bump to 1.3.1
  176. * Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-2
  177. - bump for FC-5 rebuild
  178. * Sun Sep 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-1
  179. - include LICENSE text
  180. - bump to 1.3.0
  181. * Tue May 31 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-4
  182. - use dist tag to prevent EVR overlap
  183. * Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-2
  184. - fix license (MIT, not LGPL)
  185. - get rid of libcares.la
  186. * Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1
  187. - initial package creation