129 lines
3.4 KiB
RPMSpec
129 lines
3.4 KiB
RPMSpec
|
#
|
||
|
# spec file for package adns (Version 1.3)
|
||
|
#
|
||
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# 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
|
||
|
Version: 1.3
|
||
|
Release: 1
|
||
|
License: GPL
|
||
|
Group: Productivity/Networking/DNS/Utilities
|
||
|
URL: http://www.chiark.greenend.org.uk/~ian/adns/
|
||
|
Autoreqprov: on
|
||
|
Requires: libadns = %{version}
|
||
|
Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities
|
||
|
Source: ftp://ftp.chiark.greenend.org.uk/users/ian/adns/%{name}-%{version}.tar.gz
|
||
|
Source1: ftp://ftp.chiark.greenend.org.uk/users/ian/adns/%{name}-%{version}.tar.gz.sig
|
||
|
Patch0: adns-destdir.diff
|
||
|
Patch1: adns-configure.diff
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
Prefix: /usr
|
||
|
|
||
|
%description
|
||
|
adns includes a collection of useful DNS resolver utilities.
|
||
|
|
||
|
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Ian Jackson <adns-maint at chiark dot greenend dot org dot uk>
|
||
|
|
||
|
%package -n libadns
|
||
|
Summary: Advanced DNS resolver client library
|
||
|
Group: System/Libraries
|
||
|
Autoreqprov: on
|
||
|
|
||
|
%description -n libadns
|
||
|
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
|
||
|
Summary: Libraries and header files to develop programs with libads support.
|
||
|
Group: Development/Languages/C and C++
|
||
|
Autoreqprov: on
|
||
|
Requires: libadns = %{version}, glibc-devel
|
||
|
|
||
|
%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
|
||
|
%{?suse_update_config:%{suse_update_config -f}}
|
||
|
rm acconfig.h
|
||
|
autoreconf -fi
|
||
|
export CFLAGS="$RPM_OPT_FLAGS -Wall"
|
||
|
%configure
|
||
|
%{__make} all
|
||
|
|
||
|
%install
|
||
|
[ "%buildroot" != "/" -a -d %buildroot ] && rm -rf %buildroot
|
||
|
mkdir -p \
|
||
|
%buildroot/%{_bindir} \
|
||
|
%buildroot/%{_libdir} \
|
||
|
%buildroot/%{_includedir}
|
||
|
%{__make} DESTDIR=%buildroot install
|
||
|
|
||
|
%clean
|
||
|
[ "%buildroot" != "/" -a -d %buildroot ] && rm -rf %buildroot
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/adnshost
|
||
|
%{_bindir}/adnslogres
|
||
|
%{_bindir}/adnsresfilter
|
||
|
%{_bindir}/adnsheloex
|
||
|
%doc changelog COPYING GPL-vs-LGPL INSTALL README* TODO
|
||
|
|
||
|
%files -n libadns
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libadns.so.1*
|
||
|
|
||
|
%files -n libadns-devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/adns.h
|
||
|
%{_libdir}/libadns.a
|
||
|
%{_libdir}/libadns.so
|
||
|
|
||
|
%changelog -n adns
|
||
|
* 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].
|