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