Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37712942
en ru br
ALT Linux repositórios
5.0: 0.1a-alt1
4.1: 0.1a-alt1

Group :: Sistema/Bibliotecas
RPM: libdnsres

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: libdnsres
Summary: A non-blocking DNS resolver library
Version: 0.1a
Release: alt1
Group: System/Libraries
License: BSD
Packager: Mikhail Pokidko <pma at altlinux.ru>
URL: http://www.monkey.org/~provos/libdnsres/
Source: http://www.monkey.org/~provos/%{name}-%{version}.tar.gz
Patch1: %name.patch

# Automatically added by buildreq on Thu Sep 20 2007

BuildRequires: gcc-c++ glibc-devel-static libevent-devel

#BuildRequires: XFree86-libs gcc-c++ libevent-devel libstdc++-devel

#xorg-x11-libs

%description
Libdnsres provides a non-blocking thread-safe interface for resolving DNS
names.  It is built on top of libevent and makes heavy use of the *BSD
resolver code.  This is essentially an ugly hack to get a non-blocking
DNS resolver for my own personal use.  That spells out to: use at your
own risk, I know that the code is ugly.

%package devel
Summary: Static library and header files for the libdnsres library
Group: Development/C
Requires: %name = %version
Provides: %name-devel = %version

%description devel
Libdnsres provides a non-blocking thread-safe interface for resolving DNS
names.  It is built on top of libevent and makes heavy use of the *BSD
resolver code.  This is essentially an ugly hack to get a non-blocking
DNS resolver for my own personal use.  That spells out to: use at your
own risk, I know that the code is ugly.

This package contains the static libdnsres library and its header files.

%prep
%setup -q
%patch1 -p1

%build
%__autoreconf
%configure --with-pic --with-gnu-ld
make CFLAGS="-fPIC"


%install
%make install DESTDIR="%buildroot"

%post -p %post_ldconfig
%postun -p %postun_ldconfig


%files
%attr(0755,root,root)
%doc README LICENSE
%_libdir/libdnsres.so.*

%files devel
#attr(0644,root,root)
%_includedir/*
%_libdir/*
%_man3dir/*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009