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

Revision 11836, 9.7 KB checked in by tomop, 6 years ago (diff)

c-ares-1.15.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.15.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* Sat Nov 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.15.0-1
119- updated to 1.15.0.
120
121* Fri Mar 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.14.0-1
122- updated to 1.14.0.
123- added compat32-* subpackages.
124
125* Sun Dec 24 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.13.0-4
126- initial build for Vine Linux.
127
128* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-3
129- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
130
131* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-2
132- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
133
134* Tue Jun 20 2017 Jakub Hrozek <jhrozek@redhat.com> - 1.13.0-1
135- update to 1.13.0
136
137* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
138- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
139
140* Thu Sep 29 2016 Tom Callaway <spot@fedoraproject.org> - 1.12.0-1
141- update to 1.12.0
142
143* Fri Feb 19 2016 Jakub Hrozek <jhrozek@redhat.com> - 1.11.0
144- New upstream version 1.11.0
145
146* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-6
147- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
148
149* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-5
150- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
151
152* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-4
153- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
154
155* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-3
156- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
157
158* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.0-2
159- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
160
161* Mon May 13 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.10.1-1
162- New upstream release 1.10
163- Obsolete upstreamed patches
164- Amend the multilib patch, there's no need to patch configure since we
165  are running autoreconf anyways
166- https://raw.github.com/bagder/c-ares/cares-1_10_0/RELEASE-NOTES
167
168* Thu Apr 11 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-6
169- Apply an upstream patch to override AC_CONFIG_MACRO_DIR only conditionally
170
171* Thu Apr 11 2013 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-5
172- Apply a patch by Stephen Gallagher to patch autoconf, not configure to
173  allow optflags to be passed in by build environment
174- Run autoreconf before configure
175- git rm obsolete patches
176- Apply upstream patch to stop overriding AC_CONFIG_MACRO_DIR
177
178* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-4
179- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
180
181* Wed Aug 8 2012 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-3
182- Include URL to the license text
183
184* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-2
185- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
186
187* Mon Jun 25 2012 Tom Callaway <spot@fedoraproject.org> - 1.9.1-1
188- update to 1.9.1
189
190* Sat Apr 28 2012 Tom Callaway <spot@fedoraproject.org> - 1.8.0-1
191- update to 1.8.0
192- fix multilib patch (thanks to Paul Howarth)
193
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
197* Wed Aug 17 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.5-1
198- New upstream release 1.7.5
199- Obsoletes patch #2
200- Rebase patch #1 (optflags) to match the 1.7.5 code
201- Fixed Source0 URL to point at the upstream tarball
202
203* Mon Apr 11 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.4-3
204- Apply upstream patch to fix rhbz#695424
205
206* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-2
207- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
208
209* Fri Dec 10 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.4-1
210- update to 1.7.4
211
212* Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-3
213- Actually apply the patches
214
215* Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-2
216- apply couple of patches from upstream
217
218* Tue Jun 15 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-1
219- Upgrade to new upstream release 1.7.3 (obsoletes search/domain patch)
220- Fix conflict of -devel packages on multilib architectures (#602880)
221
222* Thu Jun 3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-2
223- Use last instance of search/domain, not the first one (#597286)
224
225* Tue Mar 23 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-1
226- update to 1.7.1 which contains the IPv6 nameserver patch
227
228* Sun Mar  7 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-3
229- Change IPv6 nameserver patch according to upstream changes
230  (upstream revisions 1199,1201,1202)
231
232* Wed Mar  3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-2
233- Add a patch to allow usage of IPv6 nameservers
234
235* Tue Dec  1 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.0-1
236- update to 1.7.0
237
238* Sat Jul 25 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.6.0-3
239- Patch to make upstream build system honor our CFLAGS and friends.
240- Don't bother building throwaway static libs.
241- Disable autotools dependency tracking for cleaner build logs and possible
242  slight build speedup.
243- Convert docs to UTF-8.
244- Update URLs.
245
246* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
247- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
248
249* Wed Jul 22 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.0-1
250- update to 1.6.0
251
252* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
253- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
254
255* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.3-1
256- update to 1.5.3
257
258* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.1-2
259- Autorebuild for GCC 4.3
260
261* Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.5.1-1
262- update to 1.5.1
263
264* Thu Aug 23 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-2
265- rebuild for ppc32
266
267* Wed Jun 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-1
268- bump to 1.4.0 (resolves bugzilla 243591)
269- get rid of static library (.a)
270
271* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.2-1
272- bump to 1.3.2
273
274* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-2
275- FC-6 bump
276
277* Mon Jul 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-1
278- bump to 1.3.1
279
280* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-2
281- bump for FC-5 rebuild
282
283* Sun Sep  4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-1
284- include LICENSE text
285- bump to 1.3.0
286
287* Tue May 31 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-4
288- use dist tag to prevent EVR overlap
289
290* Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-2
291- fix license (MIT, not LGPL)
292- get rid of libcares.la
293
294* Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1
295- initial package creation
296
Note: See TracBrowser for help on using the repository browser.