c-ares/c-ares.spec

129 lines
3.7 KiB
RPMSpec
Raw Normal View History

Summary: A library that performs asynchronous DNS operations
Name: c-ares
2009-12-01 16:49:12 +00:00
Version: 1.7.0
Release: 1%{?dist}
License: MIT
Group: System Environment/Libraries
2009-07-27 16:39:49 +00:00
URL: http://c-ares.haxx.se/
Source0: http://c-ares.haxx.se/c-ares-%{version}.tar.gz
2005-09-05 02:54:37 +00:00
Source1: LICENSE
2009-12-01 16:49:12 +00:00
Patch0: %{name}-1.7.0-optflags.patch
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
%description devel
This package contains the header files and static libraries needed to
compile applications or shared objects that use c-ares.
%prep
%setup -q
2009-07-27 16:39:49 +00:00
%patch0 -p1 -b .optflags
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
%build
2009-07-27 16:39:49 +00:00
%configure --enable-shared --disable-static \
--disable-dependency-tracking
%{__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
%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
%{_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
%{_includedir}/ares_version.h
%{_libdir}/*.so
2008-09-12 15:35:08 +00:00
%{_libdir}/pkgconfig/libcares.pc
%{_mandir}/man3/ares_*
%changelog
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.
* 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
* 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
* 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
* 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