SHA256
1
0
forked from pool/adns
OBS User unknown 2007-08-10 07:49:21 +00:00 committed by Git OBS Bridge
parent 6bdae8ef03
commit e3b8670b98
5 changed files with 42 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6e2452ca82481d9da88d7745cdb0ffd6c1e54c906f58f57624ad37d353e0d16
size 252263

Binary file not shown.

3
adns-1.4.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b95fd77fb1658825c79e05722965a32b44859c063bb5de864d3c6414a5e076b2
size 193004

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Aug 7 04:23:16 CEST 2007 - crrodriguez@suse.de
- update to version 1.4
- run ldconfig
- use library packaging policy
- run make check
-------------------------------------------------------------------
Fri Sep 1 15:19:17 CEST 2006 - mt@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package adns (Version 1.3)
# spec file for package adns (Version 1.4)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2007 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.
#
@ -11,20 +11,17 @@
# norootforbuild
Name: adns
Version: 1.3
Version: 1.4
Release: 1
License: GPL
License: GPL v2 or later
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
Source: ftp://ftp.chiark.greenend.org.uk/users/ian/adns/%{name}-%{version}.tar.bz2
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.
@ -35,12 +32,14 @@ Authors:
--------
Ian Jackson <adns-maint at chiark dot greenend dot org dot uk>
%package -n libadns
%package -n libadns1
Summary: Advanced DNS resolver client library
Group: System/Libraries
Autoreqprov: on
Provides: libadns = %{version}
#openSUSE 10.2
Obsoletes: libadns <= 1.3
%description -n libadns
%description -n libadns1
Libadns is an advanced, easy to use, asynchronous-capable DNS resolver
client library for C (and C++) programs.
@ -51,10 +50,9 @@ 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.
Summary: Libraries and header files to develop programs with libadns support
Group: Development/Languages/C and C++
Autoreqprov: on
Requires: libadns = %{version}, glibc-devel
Requires: libadns1 = %{version} glibc-devel
%description -n libadns-devel
Libadns-devel includes the header file and static library to develop
@ -72,23 +70,19 @@ Authors:
%patch1
%build
%{?suse_update_config:%{suse_update_config -f}}
rm acconfig.h
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS -Wall"
%configure
%{__make} all
%configure --with-pic
%{__make} %{?jobs:-j%jobs} all
%install
[ "%buildroot" != "/" -a -d %buildroot ] && rm -rf %buildroot
mkdir -p \
%buildroot/%{_bindir} \
%buildroot/%{_libdir} \
%buildroot/%{_includedir}
%{__make} DESTDIR=%buildroot install
%{__make} DESTDIR=%{buildroot} install
%check
%{__make} check
%clean
[ "%buildroot" != "/" -a -d %buildroot ] && rm -rf %buildroot
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
@ -98,17 +92,26 @@ mkdir -p \
%{_bindir}/adnsheloex
%doc changelog COPYING GPL-vs-LGPL INSTALL README* TODO
%files -n libadns
%files -n libadns1
%defattr(-,root,root)
%{_libdir}/libadns.so.1*
%files -n libadns-devel
%defattr(-,root,root)
%{_includedir}/adns.h
%{_libdir}/libadns.a
%{_libdir}/libadns.so
%{_libdir}/libadns.a
%changelog -n adns
%post -n libadns1 -p /sbin/ldconfig
%postun -n libadns1 -p /sbin/ldconfig
%changelog
* Tue Aug 07 2007 - crrodriguez@suse.de
- update to version 1.4
- run ldconfig
- use library packaging policy
- run make check
* 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.