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
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