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