Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37707691
en ru br
Репозитории ALT
S:1.8.1-alt2
5.1: 1.6.10-alt0.M51.1
4.1: 1.3.0_pre_20080229-alt1.M41.1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: ldns

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

Name: ldns
Version: 1.6.10
Release: alt0.M51.1
License: BSD
Url: http://www.nlnetlabs.nl/%name/
Source: %name-%version.tar
Group: System/Libraries
Summary: Lowlevel DNS(SEC) library with API
Packager: Slava Dubrovskiy <dubrsl at altlinux.ru>

BuildRequires: gcc-c++ libssl-devel doxygen perl

%def_disable examples

%description
ldns is a library with the aim to simplify DNS programing in C. All
lowlevel DNS/DNSSEC operations are supported. We also define a higher
level API which allows a programmer to (for instance) create or sign
packets.

%package -n drill
Summary: Drill  is a tool to designed to get all sorts of information out of the DNS
Group: Networking/DNS

%description -n drill
Drill  is a tool to designed to get all sorts of information out of the DNS.
It is specificly designed to be used with DNSSEC

The name drill is a pun on dig. With drill you should be able get  even
more information than with dig.

%package -n lib%name
Summary: Lowlevel DNS(SEC) library with API
Group: System/Libraries
Provides: %name = %version-%release

%description -n lib%name
libldns is a library with the aim to simplify DNS programing in C. All
lowlevel DNS/DNSSEC operations are supported. We also define a higher
level API which allows a programmer to (for instance) create or sign
packets.

%package -n lib%name-devel-static
Summary: Lowlevel DNS(SEC) static library with API
Group: System/Libraries

%description -n lib%name-devel-static
libldns is a static library with the aim to simplify DNS programing in C.
All lowlevel DNS/DNSSEC operations are supported. We also define a higher
level API which allows a programmer to (for instance) create or sign
packets.

%package -n lib%name-devel
Summary: Development package that includes the ldns header files
Group: Development/C
Requires: lib%name = %version-%release libssl-devel

%description -n lib%name-devel
The devel package contains the ldns library and the include files

%if_enabled examples
%package -n lib%name-examples
Summary: Examples for library
Group: Development/C

%description -n lib%name-examples
Examples for library
%endif

%set_compress_method skip

%prep
%setup
%autoreconf
%configure --disable-rpath --disable-gost

%build
%make_build
%make  doc

# Make drill

cd drill
%configure --disable-rpath --with-ldns=..
make
cd ..


%if_enabled examples
# Make examples
cd examples
%autoreconf
%configure --disable-rpath --with-ldns=..
make
cd ..
%endif

%install
%make DESTDIR=%buildroot install
%make DESTDIR=%buildroot install-doc

# don't package building script in doc

rm doc/doxyparse.pl
#remove doc stubs
rm -rf doc/.svn
#remove double set of man pages
rm -rf doc/man

cd drill
make DESTDIR=%buildroot install
cd ..

%if_enabled examples
cd examples
make DESTDIR=%buildroot install
%endif

%check
#make test

%files -n drill
%_bindir/drill
%_mandir/man1/drill*

%files -n lib%name
%_libdir/libldns*.so.*
%doc README LICENSE

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

%files -n lib%name-devel
%_includedir/ldns
%_libdir/libldns*so
%doc doc Changelog README
%_mandir/man3/*

%if_enabled examples
%files -n lib%name-examples
%_bindir/ldns-*
%_bindir/ldnsd
%_mandir/man1/ldns-*
%_mandir/man1/ldnsd*
%endif

%changelog

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

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