Репозиторий Sisyphus
Последнее обновление: 18 августа 2018 | Пакетов: 18645 | Посещений: 12091389
en ru br
Репозитории ALT
S:1.14.0-alt1.S1
5.1: 1.6.0-alt1
4.1: 1.6.0-alt0.M41.1
www.altlinux.org/Changes

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

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

Name: c-ares
Version: 1.14.0
Release: alt1%ubt

Summary: A library that performs asynchronous DNS operations
License: MIT
Group: System/Libraries

Url: http://c-ares.haxx.se/
Source: %url/download/c-ares-%version.tar

# need for test/configure

BuildRequires: gcc-c++
BuildRequires(pre):rpm-build-ubt

%description -n c-ares
c-ares is a C library that performs DNS requests and name resolves
asynchronously. This package contains little utilities built with
this library.

%package -n libcares
Summary: A library that performs asynchronous DNS operations
Group: System/Libraries

%description -n libcares
c-ares is a C library that performs DNS requests and name resolves
asynchronously. c-ares is a fork of the library named 'ares', written
by Greg Hudson at MIT.

%package -n libcares-devel
Summary: Libraries, includes, etc. to develop applications used c-ares
Group: System/Libraries
Requires: libcares = %version-%release

%description -n libcares-devel
This package contains the header files and libraries links needed to
compile applications or shared objects that use c-ares.

%prep
%setup -n c-ares-%version

%build
%autoreconf
%configure \
--enable-shared \
--disable-static \
--enable-debug
# strip rpath
subst 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
subst 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build

%install
%makeinstall_std
install -d %buildroot%_bindir
install -pm755 .libs/{acountry,adig,ahost} %buildroot%_bindir/

%files -n c-ares
%_bindir/*

%files -n libcares
%_libdir/*.so.*

%files -n libcares-devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%_man3dir/*

%changelog

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

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