2005-04-22 19:34:04 +00:00
|
|
|
Summary: A library that performs asynchronous DNS operations
|
|
|
|
Name: c-ares
|
2011-08-17 06:27:47 +00:00
|
|
|
Version: 1.7.5
|
2012-01-12 22:57:41 +00:00
|
|
|
Release: 2%{?dist}
|
2005-04-22 19:34:04 +00:00
|
|
|
License: MIT
|
|
|
|
Group: System Environment/Libraries
|
2009-07-27 16:39:49 +00:00
|
|
|
URL: http://c-ares.haxx.se/
|
2011-08-17 06:27:47 +00:00
|
|
|
Source0: http://c-ares.haxx.se/download/%{name}-%{version}.tar.gz
|
2005-09-05 02:54:37 +00:00
|
|
|
Source1: LICENSE
|
2011-08-17 06:27:47 +00:00
|
|
|
Patch0: %{name}-1.7.5-optflags.patch
|
2010-06-15 10:50:20 +00:00
|
|
|
Patch1: c-ares-multilib.patch
|
2010-08-25 08:21:27 +00:00
|
|
|
|
2005-04-22 19:34:04 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
%description
|
|
|
|
c-ares is a C library that performs DNS requests and name resolves
|
|
|
|
asynchronously. c-ares is a fork of the library named 'ares', written
|
|
|
|
by Greg Hudson at MIT.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for c-ares
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2008-09-12 15:35:08 +00:00
|
|
|
Requires: pkgconfig
|
2005-04-22 19:34:04 +00:00
|
|
|
|
|
|
|
%description devel
|
2011-03-28 08:33:47 +00:00
|
|
|
This package contains the header files and libraries needed to
|
2005-04-22 19:34:04 +00:00
|
|
|
compile applications or shared objects that use c-ares.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2009-07-27 16:39:49 +00:00
|
|
|
%patch0 -p1 -b .optflags
|
2010-06-15 10:50:20 +00:00
|
|
|
%patch1 -p1 -b .multilib
|
2005-09-05 02:54:37 +00:00
|
|
|
cp %{SOURCE1} .
|
2009-07-27 16:39:49 +00:00
|
|
|
f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f -o $f.utf8 ; mv $f.utf8 $f
|
2005-04-22 19:34:04 +00:00
|
|
|
|
|
|
|
%build
|
2009-07-27 16:39:49 +00:00
|
|
|
%configure --enable-shared --disable-static \
|
|
|
|
--disable-dependency-tracking
|
2005-04-22 19:34:04 +00:00
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2009-07-27 16:39:49 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libcares.la
|
2005-04-22 19:34:04 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
2005-09-05 02:54:37 +00:00
|
|
|
%doc README README.cares CHANGES NEWS LICENSE
|
2005-04-22 19:34:04 +00:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root, 0755)
|
|
|
|
%{_includedir}/ares.h
|
2009-12-01 16:49:12 +00:00
|
|
|
%{_includedir}/ares_build.h
|
2007-06-27 14:02:37 +00:00
|
|
|
%{_includedir}/ares_dns.h
|
2009-12-01 16:49:12 +00:00
|
|
|
%{_includedir}/ares_rules.h
|
2005-04-22 19:34:04 +00:00
|
|
|
%{_includedir}/ares_version.h
|
|
|
|
%{_libdir}/*.so
|
2008-09-12 15:35:08 +00:00
|
|
|
%{_libdir}/pkgconfig/libcares.pc
|
2005-04-22 19:34:04 +00:00
|
|
|
%{_mandir}/man3/ares_*
|
|
|
|
|
|
|
|
%changelog
|
2012-01-12 22:57:41 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-08-17 06:27:47 +00:00
|
|
|
* Wed Aug 17 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.5-1
|
|
|
|
- New upstream release 1.7.5
|
|
|
|
- Obsoletes patch #2
|
|
|
|
- Rebase patch #1 (optflags) to match the 1.7.5 code
|
|
|
|
- Fixed Source0 URL to point at the upstream tarball
|
|
|
|
|
2011-04-11 19:04:54 +00:00
|
|
|
* Mon Apr 11 2011 Jakub Hrozek <jhrozek@redhat.com> - 1.7.4-3
|
|
|
|
- Apply upstream patch to fix rhbz#695424
|
|
|
|
|
2011-02-08 06:14:01 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-10 16:09:20 +00:00
|
|
|
* Fri Dec 10 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.4-1
|
|
|
|
- update to 1.7.4
|
|
|
|
|
2010-08-25 11:13:41 +00:00
|
|
|
* Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-3
|
|
|
|
- Actually apply the patches
|
|
|
|
|
2010-08-25 08:21:27 +00:00
|
|
|
* Wed Aug 25 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-2
|
|
|
|
- apply couple of patches from upstream
|
|
|
|
|
2010-06-15 10:50:20 +00:00
|
|
|
* Tue Jun 15 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.3-1
|
|
|
|
- Upgrade to new upstream release 1.7.3 (obsoletes search/domain patch)
|
|
|
|
- Fix conflict of -devel packages on multilib architectures (#602880)
|
|
|
|
|
2010-06-03 12:00:25 +00:00
|
|
|
* Thu Jun 3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-2
|
|
|
|
- Use last instance of search/domain, not the first one (#597286)
|
|
|
|
|
2010-03-23 15:03:25 +00:00
|
|
|
* Tue Mar 23 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.1-1
|
|
|
|
- update to 1.7.1 which contains the IPv6 nameserver patch
|
|
|
|
|
2010-03-07 19:53:55 +00:00
|
|
|
* Sun Mar 7 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-3
|
|
|
|
- Change IPv6 nameserver patch according to upstream changes
|
|
|
|
(upstream revisions 1199,1201,1202)
|
|
|
|
|
2010-03-04 11:05:27 +00:00
|
|
|
* Wed Mar 3 2010 Jakub Hrozek <jhrozek@redhat.com> - 1.7.0-2
|
|
|
|
- Add a patch to allow usage of IPv6 nameservers
|
|
|
|
|
2009-12-01 16:49:12 +00:00
|
|
|
* Tue Dec 1 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.7.0-1
|
|
|
|
- update to 1.7.0
|
|
|
|
|
2009-07-27 16:39:49 +00:00
|
|
|
* Sat Jul 25 2009 Ville Skyttä <ville.skytta at iki.fi> - 1.6.0-3
|
|
|
|
- Patch to make upstream build system honor our CFLAGS and friends.
|
|
|
|
- Don't bother building throwaway static libs.
|
|
|
|
- Disable autotools dependency tracking for cleaner build logs and possible
|
|
|
|
slight build speedup.
|
|
|
|
- Convert docs to UTF-8.
|
|
|
|
- Update URLs.
|
|
|
|
|
2009-07-24 18:33:34 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-22 22:54:50 +00:00
|
|
|
* Wed Jul 22 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.6.0-1
|
|
|
|
- update to 1.6.0
|
|
|
|
|
2009-02-24 06:18:23 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-09-12 15:35:08 +00:00
|
|
|
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.5.3-1
|
|
|
|
- update to 1.5.3
|
|
|
|
|
2008-02-20 01:04:44 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.1-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-02-19 16:20:30 +00:00
|
|
|
* Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.5.1-1
|
|
|
|
- update to 1.5.1
|
|
|
|
|
2007-08-23 13:32:56 +00:00
|
|
|
* Thu Aug 23 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-2
|
|
|
|
- rebuild for ppc32
|
|
|
|
|
2007-06-27 14:02:37 +00:00
|
|
|
* Wed Jun 27 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.0-1
|
|
|
|
- bump to 1.4.0 (resolves bugzilla 243591)
|
|
|
|
- get rid of static library (.a)
|
|
|
|
|
2007-01-17 20:42:00 +00:00
|
|
|
* Wed Jan 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.2-1
|
|
|
|
- bump to 1.3.2
|
|
|
|
|
2006-09-11 16:26:28 +00:00
|
|
|
* Mon Sep 11 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-2
|
|
|
|
- FC-6 bump
|
|
|
|
|
2006-07-10 12:21:00 +00:00
|
|
|
* Mon Jul 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.1-1
|
|
|
|
- bump to 1.3.1
|
|
|
|
|
2006-02-28 21:27:12 +00:00
|
|
|
* Tue Feb 28 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-2
|
|
|
|
- bump for FC-5 rebuild
|
|
|
|
|
2005-09-05 02:54:37 +00:00
|
|
|
* Sun Sep 4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.3.0-1
|
|
|
|
- include LICENSE text
|
|
|
|
- bump to 1.3.0
|
|
|
|
|
2005-05-31 14:45:25 +00:00
|
|
|
* Tue May 31 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-4
|
2005-05-31 14:43:59 +00:00
|
|
|
- use dist tag to prevent EVR overlap
|
|
|
|
|
2005-04-22 19:34:04 +00:00
|
|
|
* Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-2
|
|
|
|
- fix license (MIT, not LGPL)
|
|
|
|
- get rid of libcares.la
|
|
|
|
|
|
|
|
* Fri Apr 22 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1
|
|
|
|
- initial package creation
|
|
|
|
|