|
|
6e50b46 |
Summary: DNS resolver library for both synchronous and asynchronous DNS queries
|
|
|
6e50b46 |
Name: udns
|
|
|
6e50b46 |
Version: 0.0.9
|
|
|
7af788e |
Release: 5%{?dist}
|
|
|
6e50b46 |
License: LGPLv2+
|
|
|
6e50b46 |
Group: System Environment/Libraries
|
|
|
6e50b46 |
URL: http://www.corpit.ru/mjt/udns.html
|
|
|
6e50b46 |
Source: http://www.corpit.ru/mjt/udns/udns_%{version}.tar.gz
|
|
|
6e50b46 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%description
|
|
|
6e50b46 |
udns is a resolver library for C (and C++) programs, and a collection
|
|
|
6e50b46 |
of useful DNS resolver utilities.
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%package devel
|
|
|
6e50b46 |
Summary: Header files, libraries and development documentation for %{name}
|
|
|
6e50b46 |
Group: Development/Libraries
|
|
|
6e50b46 |
Requires: %{name} = %{version}-%{release}
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%description devel
|
|
|
6e50b46 |
This package contains the header files, static libraries and development
|
|
|
6e50b46 |
documentation for %{name}. If you like to develop programs using %{name},
|
|
|
6e50b46 |
you will need to install %{name}-devel.
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%prep
|
|
|
6e50b46 |
%setup -q
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%build
|
|
|
6e50b46 |
CFLAGS="%{optflags}" ./configure --enable-ipv6
|
|
|
6e50b46 |
%{__make} %{?_smp_mflags} all sharedlib
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%install
|
|
|
6e50b46 |
%{__rm} -rf %{buildroot}
|
|
|
6e50b46 |
%{__install} -Dp -m0755 libudns.so.0 %{buildroot}%{_libdir}/libudns.so.0
|
|
|
6e50b46 |
%{__ln_s} -f libudns.so.0 %{buildroot}%{_libdir}/libudns.so
|
|
|
6e50b46 |
%{__install} -Dp -m0755 dnsget %{buildroot}%{_bindir}/dnsget
|
|
|
6e50b46 |
%{__install} -Dp -m0444 dnsget.1 %{buildroot}%{_mandir}/man1/dnsget.1
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%{__install} -Dp -m0444 udns.3 %{buildroot}%{_mandir}/man3/udns.3
|
|
|
6e50b46 |
%{__install} -Dp -m0644 udns.h %{buildroot}%{_includedir}/udns.h
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%post -p /sbin/ldconfig
|
|
|
6e50b46 |
%postun -p /sbin/ldconfig
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%clean
|
|
|
6e50b46 |
%{__rm} -rf %{buildroot}
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%files
|
|
|
6e50b46 |
%defattr(-, root, root, 0755)
|
|
|
6e50b46 |
%doc COPYING.LGPL NEWS NOTES TODO
|
|
|
6e50b46 |
%doc %{_mandir}/man1/dnsget.1*
|
|
|
6e50b46 |
%{_bindir}/dnsget
|
|
|
6e50b46 |
%{_libdir}/libudns.so.*
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%files devel
|
|
|
6e50b46 |
%defattr(-, root, root, 0755)
|
|
|
6e50b46 |
%doc %{_mandir}/man3/udns.3*
|
|
|
6e50b46 |
%{_includedir}/udns.h
|
|
|
6e50b46 |
%{_libdir}/libudns.so
|
|
|
6e50b46 |
|
|
|
6e50b46 |
%changelog
|
|
|
7af788e |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-5
|
|
|
7af788e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
7af788e |
|
|
|
494bc17 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-4
|
|
|
494bc17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
494bc17 |
|
|
|
33fc79d |
* Sun Sep 14 2008 Adrian Reber <adrian@lisas.de> - 0.0.9-3
|
|
|
33fc79d |
- removed rblcheck binary to resolve conflict with package rblcheck
|
|
|
33fc79d |
|
|
|
6e50b46 |
* Wed Jul 16 2008 Adrian Reber <adrian@lisas.de> - 0.0.9-2
|
|
|
6e50b46 |
- removed static library
|
|
|
6e50b46 |
- added correct optflags
|
|
|
6e50b46 |
- fixed license tag
|
|
|
6e50b46 |
|
|
|
6e50b46 |
* Thu Nov 22 2007 Dag Wieers <dag@wieers.com> - 0.0.9-1 - +/
|
|
|
6e50b46 |
- Initial package. (using DAR)
|