f559d78
Summary: A library that performs asynchronous DNS operations
f559d78
Name: c-ares
6603e0b
Version: 1.9.1
3c1ab0a
Release: 4%{?dist}
f559d78
License: MIT
f559d78
Group: System Environment/Libraries
e392669
URL: http://c-ares.haxx.se/
e2cb3f7
Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
ab23a40
# The license can be obtained at http://c-ares.haxx.se/license.html
2b573b7
Source1: LICENSE
e2cb3f7
Patch0: %{name}-1.7.5-optflags.patch
ab2c75f
Patch1: c-ares-1.8.0-multilib.patch
2d340ce
f559d78
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
f559d78
f559d78
%description
f559d78
c-ares is a C library that performs DNS requests and name resolves 
f559d78
asynchronously. c-ares is a fork of the library named 'ares', written 
f559d78
by Greg Hudson at MIT.
f559d78
f559d78
%package devel
f559d78
Summary: Development files for c-ares
f559d78
Group: Development/Libraries
f559d78
Requires: %{name} = %{version}-%{release}
d87cd90
Requires: pkgconfig
f559d78
f559d78
%description devel
41be15e
This package contains the header files and libraries needed to
f559d78
compile applications or shared objects that use c-ares.
f559d78
f559d78
%prep
f559d78
%setup -q
e392669
%patch0 -p1 -b .optflags
ab2c75f
%patch1 -p0 -b .multilib
2b573b7
cp %{SOURCE1} .
e392669
f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f
f559d78
f559d78
%build
e392669
%configure --enable-shared --disable-static \
e392669
           --disable-dependency-tracking
f559d78
%{__make} %{?_smp_mflags}
f559d78
f559d78
%install
f559d78
rm -rf $RPM_BUILD_ROOT
f559d78
make DESTDIR=$RPM_BUILD_ROOT install
e392669
rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
f559d78
f559d78
%clean
f559d78
rm -rf $RPM_BUILD_ROOT
f559d78
f559d78
%post -p /sbin/ldconfig
f559d78
%postun -p /sbin/ldconfig
f559d78
f559d78
%files
f559d78
%defattr(-, root, root)
2b573b7
%doc README README.cares CHANGES NEWS LICENSE
f559d78
%{_libdir}/*.so.*
f559d78
f559d78
%files devel
f559d78
%defattr(-, root, root, 0755)
f559d78
%{_includedir}/ares.h
a07a0f2
%{_includedir}/ares_build.h
ea4ceb4
%{_includedir}/ares_dns.h
a07a0f2
%{_includedir}/ares_rules.h
f559d78
%{_includedir}/ares_version.h
f559d78
%{_libdir}/*.so
d87cd90
%{_libdir}/pkgconfig/libcares.pc
f559d78
%{_mandir}/man3/ares_*
f559d78
f559d78
%changelog
3c1ab0a
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-4
3c1ab0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3c1ab0a
ab23a40
* Wed Aug 9 2012 Jakub Hrozek <jhrozek@redhat.com> - 1.9.1-3
ab23a40
- Include URL to the license text
ab23a40
795027f
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-2
795027f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
795027f
6603e0b
* Mon Jun 25 2012 Tom Callaway <spot@fedoraproject.org> - 1.9.1-1
6603e0b
- update to 1.9.1
6603e0b
ab2c75f
* Sat Apr 28 2012 Tom Callaway <spot@fedoraproject.org> - 1.8.0-1
ab2c75f
- update to 1.8.0
ab2c75f
- fix multilib patch (thanks to Paul Howarth)
ab2c75f
dd6af9b
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.5-2
dd6af9b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
dd6af9b
e2cb3f7
* Wed Aug 17 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.5-1
e2cb3f7
- New upstream release 1.7.5
e2cb3f7
- Obsoletes patch #2
e2cb3f7
- Rebase patch #1 (optflags) to match the 1.7.5 code
e2cb3f7
- Fixed Source0 URL to point at the upstream tarball
e2cb3f7
7d83209
* Mon Apr 11 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.4-3
7d83209
- Apply upstream patch to fix rhbz#695424
7d83209
c29dd4b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-2
c29dd4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c29dd4b
ee9ba88
* Fri Dec 10 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.4-1
ee9ba88
- update to 1.7.4
ee9ba88
3ae2097
* Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-3
3ae2097
- Actually apply the patches
3ae2097
2d340ce
* Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-2
2d340ce
- apply couple of patches from upstream
2d340ce
7a22fd9
* Tue Jun 15 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-1
7a22fd9
- Upgrade to new upstream release 1.7.3 (obsoletes search/domain patch)
7a22fd9
- Fix conflict of -devel packages on multilib architectures (#602880)
7a22fd9
d6fe1b4
* Thu Jun 3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-2
d6fe1b4
- Use last instance of search/domain, not the first one (#597286)
d6fe1b4
3a33442
* Tue Mar 23 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-1
3a33442
- update to 1.7.1 which contains the IPv6 nameserver patch
3a33442
ba51447
* Sun Mar  7 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-3
ba51447
- Change IPv6 nameserver patch according to upstream changes
ba51447
  (upstream revisions 1199,1201,1202)
ba51447
5c5aa0b
* Wed Mar  3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-2
5c5aa0b
- Add a patch to allow usage of IPv6 nameservers
5c5aa0b
a07a0f2
* Tue Dec  1 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.0-1
a07a0f2
- update to 1.7.0
a07a0f2
e392669
* Sat Jul 25 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.6.0-3
e392669
- Patch to make upstream build system honor our CFLAGS and friends.
e392669
- Don't bother building throwaway static libs.
e392669
- Disable autotools dependency tracking for cleaner build logs and possible
e392669
  slight build speedup.
e392669
- Convert docs to UTF-8.
e392669
- Update URLs.
e392669
4709241
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
4709241
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
4709241
b25d73c
* Wed Jul 22 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.0-1
b25d73c
- update to 1.6.0
b25d73c
3c1c0f0
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
3c1c0f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3c1c0f0
d87cd90
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.3-1
d87cd90
- update to 1.5.3
d87cd90
7b40652
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.1-2
7b40652
- Autorebuild for GCC 4.3
7b40652
7654faf
* Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.5.1-1
7654faf
- update to 1.5.1
7654faf
b7eac8a
* Thu Aug 23 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-2
b7eac8a
- rebuild for ppc32
b7eac8a
ea4ceb4
* Wed Jun 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-1
ea4ceb4
- bump to 1.4.0 (resolves bugzilla 243591)
ea4ceb4
- get rid of static library (.a)
ea4ceb4
0055680
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.2-1
0055680
- bump to 1.3.2
0055680
6d1428a
* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-2
6d1428a
- FC-6 bump
6d1428a
deef6d8
* Mon Jul 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-1
deef6d8
- bump to 1.3.1
deef6d8
a5fc130
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-2
a5fc130
- bump for FC-5 rebuild
a5fc130
2b573b7
* Sun Sep  4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-1
2b573b7
- include LICENSE text
2b573b7
- bump to 1.3.0
2b573b7
ff21115
* Tue May 31 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-4
d9ef2ff
- use dist tag to prevent EVR overlap
d9ef2ff
f559d78
* Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-2
f559d78
- fix license (MIT, not LGPL)
f559d78
- get rid of libcares.la
f559d78
f559d78
* Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1
f559d78
- initial package creation
f559d78