|
|
f559d78 |
Summary: A library that performs asynchronous DNS operations
|
|
|
f559d78 |
Name: c-ares
|
|
|
a07a0f2 |
Version: 1.7.0
|
|
|
5c5aa0b |
Release: 2%{?dist}
|
|
|
f559d78 |
License: MIT
|
|
|
f559d78 |
Group: System Environment/Libraries
|
|
|
e392669 |
URL: http://c-ares.haxx.se/
|
|
|
e392669 |
Source0: http://c-ares.haxx.se/c-ares-%{version}.tar.gz
|
|
|
2b573b7 |
Source1: LICENSE
|
|
|
a07a0f2 |
Patch0: %{name}-1.7.0-optflags.patch
|
|
|
5c5aa0b |
Patch1: 0001-Allow-the-use-of-IPv6-nameservers.patch
|
|
|
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
|
|
|
f559d78 |
This package contains the header files and static libraries needed to
|
|
|
f559d78 |
compile applications or shared objects that use c-ares.
|
|
|
f559d78 |
|
|
|
f559d78 |
%prep
|
|
|
f559d78 |
%setup -q
|
|
|
e392669 |
%patch0 -p1 -b .optflags
|
|
|
5c5aa0b |
%patch1 -p1 -b .ipv6
|
|
|
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
|
|
|
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 |
|