2007-01-15 23:50:52 +01:00
|
|
|
#
|
2007-08-10 09:49:21 +02:00
|
|
|
# spec file for package adns (Version 1.4)
|
2007-01-15 23:50:52 +01:00
|
|
|
#
|
2007-08-10 09:49:21 +02:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:50:52 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: adns
|
2007-08-10 09:49:21 +02:00
|
|
|
Version: 1.4
|
2007-01-15 23:50:52 +01:00
|
|
|
Release: 1
|
2007-08-10 09:49:21 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-15 23:50:52 +01:00
|
|
|
Group: Productivity/Networking/DNS/Utilities
|
|
|
|
URL: http://www.chiark.greenend.org.uk/~ian/adns/
|
|
|
|
Autoreqprov: on
|
|
|
|
Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities
|
2007-08-10 09:49:21 +02:00
|
|
|
Source: ftp://ftp.chiark.greenend.org.uk/users/ian/adns/%{name}-%{version}.tar.bz2
|
2007-01-15 23:50:52 +01:00
|
|
|
Patch0: adns-destdir.diff
|
|
|
|
Patch1: adns-configure.diff
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
adns includes a collection of useful DNS resolver utilities.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Ian Jackson <adns-maint at chiark dot greenend dot org dot uk>
|
|
|
|
|
2007-08-10 09:49:21 +02:00
|
|
|
%package -n libadns1
|
2007-01-15 23:50:52 +01:00
|
|
|
Summary: Advanced DNS resolver client library
|
|
|
|
Group: System/Libraries
|
2007-08-10 09:49:21 +02:00
|
|
|
Provides: libadns = %{version}
|
|
|
|
#openSUSE 10.2
|
|
|
|
Obsoletes: libadns <= 1.3
|
2007-01-15 23:50:52 +01:00
|
|
|
|
2007-08-10 09:49:21 +02:00
|
|
|
%description -n libadns1
|
2007-01-15 23:50:52 +01:00
|
|
|
Libadns is an advanced, easy to use, asynchronous-capable DNS resolver
|
|
|
|
client library for C (and C++) programs.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Ian Jackson <adns-maint at chiark dot greenend dot org dot uk>
|
|
|
|
|
|
|
|
%package -n libadns-devel
|
2007-08-10 09:49:21 +02:00
|
|
|
Summary: Libraries and header files to develop programs with libadns support
|
2007-01-15 23:50:52 +01:00
|
|
|
Group: Development/Languages/C and C++
|
2007-08-10 09:49:21 +02:00
|
|
|
Requires: libadns1 = %{version} glibc-devel
|
2007-01-15 23:50:52 +01:00
|
|
|
|
|
|
|
%description -n libadns-devel
|
|
|
|
Libadns-devel includes the header file and static library to develop
|
|
|
|
programs with libads support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Ian Jackson <adns-maint at chiark dot greenend dot org dot uk>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0
|
|
|
|
%patch1
|
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -fi
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -Wall"
|
2007-08-10 09:49:21 +02:00
|
|
|
%configure --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs} all
|
2007-01-15 23:50:52 +01:00
|
|
|
|
|
|
|
%install
|
2007-08-10 09:49:21 +02:00
|
|
|
%{__make} DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} check
|
2007-01-15 23:50:52 +01:00
|
|
|
|
|
|
|
%clean
|
2007-08-10 09:49:21 +02:00
|
|
|
%{__rm} -rf %{buildroot}
|
2007-01-15 23:50:52 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/adnshost
|
|
|
|
%{_bindir}/adnslogres
|
|
|
|
%{_bindir}/adnsresfilter
|
|
|
|
%{_bindir}/adnsheloex
|
|
|
|
%doc changelog COPYING GPL-vs-LGPL INSTALL README* TODO
|
|
|
|
|
2007-08-10 09:49:21 +02:00
|
|
|
%files -n libadns1
|
2007-01-15 23:50:52 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libadns.so.1*
|
|
|
|
|
|
|
|
%files -n libadns-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/adns.h
|
|
|
|
%{_libdir}/libadns.so
|
2007-08-10 09:49:21 +02:00
|
|
|
%{_libdir}/libadns.a
|
|
|
|
|
|
|
|
%post -n libadns1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libadns1 -p /sbin/ldconfig
|
2007-01-15 23:50:52 +01:00
|
|
|
|
2007-08-10 09:49:21 +02:00
|
|
|
%changelog
|
|
|
|
* Tue Aug 07 2007 - crrodriguez@suse.de
|
|
|
|
- update to version 1.4
|
|
|
|
- run ldconfig
|
|
|
|
- use library packaging policy
|
|
|
|
- run make check
|
2007-01-15 23:50:52 +01:00
|
|
|
* Fri Sep 01 2006 - mt@suse.de
|
|
|
|
- updated to adns-1.3, providing new support for SRV RRs
|
|
|
|
and unknown RRs as well as several portability fixes.
|
|
|
|
- adopted configure and destdir patches, removed obsolete
|
|
|
|
codecleanup and missing_symlink patches
|
|
|
|
* Thu Apr 27 2006 - mrueckert@suse.de
|
|
|
|
- added adns-missing_symlink.diff:
|
|
|
|
add missing symlink "libadns.so" so you can dynamically
|
|
|
|
link against libadns.
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Mon Dec 19 2005 - ro@suse.de
|
|
|
|
- added libadns.so.1 to filelist
|
|
|
|
* Mon Apr 04 2005 - pth@suse.de
|
|
|
|
- Make declarations of adns__parse_domain match.
|
|
|
|
* Tue Aug 10 2004 - lmuelle@suse.de
|
|
|
|
- Inital SuSE RPM; [#43590].
|