source: projects/specs/trunk/c/c-ares/c-ares-vl.spec @ 11609

Revision 11609, 9.6 KB checked in by tomop, 6 years ago (diff)

c-ares-1.14.0-1

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