Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37045615
en ru br
ALT Linux repos
S:1.6.0-alt2
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.4
Release: alt2

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

Source: adns-%version-%release.tar

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 -q -n adns-%version-%release

%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