Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37493763
en ru br
Репозитории ALT
S:1.6.0-alt2
5.1: 1.4-alt2
4.1: 1.4-alt1
4.0: 1.4-alt1
3.0: 1.1-alt1
www.altlinux.org/Changes

Группа :: Сети/Прочее
Пакет: adns

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

# LTO causes errors, disable it

%global optflags_lto %nil

Name: adns
Version: 1.6.0
Release: alt2

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 = %EVR

%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 = %EVR

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

%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
%add_optflags -D_FILE_OFFSET_BITS=64

%autoreconf
%configure
%make

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

%check
make check

%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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin