Sisyphus repository
Last update: 22 october 2019 | SRPMs: 17517 | Visits: 15427150
en ru br
ALT Linux repos
S:1.5.1-alt3
5.0: 1.4-alt2
4.1: 1.4-alt1
4.0: 1.4-alt1
3.0: 1.1-alt1

Group :: Networking/Other
RPM: adns

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: adns
Version: 1.5.1
Release: alt3

Summary: GNU adns, an asynchronous DNS resolver
License: GPLv2+
Group: Networking/Other
URL: http://www.gnu.org/software/adns/

Source: adns-%version.tar
Patch0: %name-%version-alt.patch

Requires: lib%name = %version-%release

%package -n lib%name
Summary: GNU adns, an asynchronous DNS resolver (shared library)
Group: System/Libraries

%package -n lib%name-devel
Summary: GNU adns, an asynchronous DNS resolver (header files)
Group: Development/C
Requires: lib%name = %version-%release

%package -n lib%name-devel-static
Summary: GNU adns, an asynchronous DNS resolver (static library)
Group: Development/C
Requires: lib%name-devel = %version-%release

%description
adns is a resolver library for C (and C++) programs,
and a collection of useful DNS resolver utilities.

This package contains %name utilities.

%description -n lib%name
adns is a resolver library for C (and C++) programs,
and a collection of useful DNS resolver utilities.

This package contains %name runtime library.

%description -n lib%name-devel
adns is a resolver library for C (and C++) programs,
and a collection of useful DNS resolver utilities.

This package contains developement library and include file
required for development of %name-based software.

%description -n lib%name-devel-static
adns is a resolver library for C (and C++) programs,
and a collection of useful DNS resolver utilities.

This package contains static library required for
development of statically linked %name-based software.

%prep
%setup
%patch0 -p1

%build
%configure
%make_build srcdir=$PWD/src

%install
mkdir -p %buildroot{%_bindir,%_libdir,%_includedir}
%makeinstall

%files
%_bindir/%{name}*
%doc GPL-vs-LGPL README TODO changelog

%files -n lib%name
%_libdir/lib%name.so.?*

%files -n lib%name-devel
%_includedir/%name.h
%_libdir/lib%name.so

%files -n lib%name-devel-static
%_libdir/lib%name.a

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin