From e37d857fc17d538765d0481c5372302abd16962847a1b406d6bbab2c7ef4f20a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 5 Nov 2016 18:48:04 +0000 Subject: [PATCH] Accepting request 438752 from home:jengelh:branches:devel:libraries:c_c++ - Update descriptions and groups - Remove unnecessary manual pkgconfig require OBS-URL: https://build.opensuse.org/request/show/438752 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libasyncns?expand=0&rev=2 --- libasyncns.changes | 6 ++++++ libasyncns.spec | 28 ++++++++++++++++++++-------- 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/libasyncns.changes b/libasyncns.changes index c83bef5..06afbc7 100644 --- a/libasyncns.changes +++ b/libasyncns.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Nov 5 01:10:20 UTC 2016 - jengelh@inai.de + +- Update descriptions and groups +- Remove unnecessary manual pkgconfig require + ------------------------------------------------------------------- Thu Oct 27 13:27:18 UTC 2016 - mimi.vx@gmail.com diff --git a/libasyncns.spec b/libasyncns.spec index befde1b..8516231 100644 --- a/libasyncns.spec +++ b/libasyncns.spec @@ -22,32 +22,44 @@ Version: 0.8 Release: 0 Summary: Asynchronous Name Service Library License: LGPL-2.1+ -Group: System/Libraries +Group: Development/Libraries/C and C++ Url: http://0pointer.de/lennart/projects/libasyncns/ Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -A small and lightweight library that implements easy to use asynchronous -wrappers around the libc NSS functions getaddrinfo(), res_query() and related. +A C library for executing name service queries asynchronously. +It is an asynchronous wrapper around getaddrinfo(3), getnameinfo(3), +res_query(3) and res_search(3) from libc and libresolv. %package -n %{so_name} Summary: Asynchronous Name Service Library Group: System/Libraries %description -n %{so_name} -A small and lightweight library that implements easy to use asynchronous -wrappers around the libc NSS functions getaddrinfo(), res_query() and related. +A C library for executing name service queries asynchronously. It is +an asynchronous wrapper around getaddrinfo(3), getnameinfo(3), +res_query(3) and res_search(3) from libc and libresolv. + +In contrast to GNU's asynchronous name resolving API, +getaddrinfo_a(), libasyncns does not make use of UNIX signals for +reporting completion of name queries. Instead, the API exports a +standard UNIX file descriptor which may be integerated into custom +main loops. %package devel Summary: Development Files for libasyncns Client Development Group: Development/Libraries/C and C++ Requires: %{so_name} = %{version}-%{release} -Requires: pkgconfig %description devel -Development Files for libasyncns Client Development +A C library for executing name service queries asynchronously. It is +an asynchronous wrapper around getaddrinfo(3), getnameinfo(3), +res_query(3) and res_search(3) from libc and libresolv. + +This subpackage contains libraries and header files for developing +applications that want to make use of libasyncns. %post -n %{so_name} -p /sbin/ldconfig %postun -n %{so_name} -p /sbin/ldconfig @@ -61,7 +73,7 @@ make %{?_smp_mflags} %install make %{?_smp_mflags} DESTDIR=%{buildroot} install -find %{buildroot} \( -name *.a -o -name *.la \) -exec rm {} \; +find %{buildroot} \( -name *.a -o -name *.la \) -delete rm -rf %{buildroot}%{_datadir}/doc/libasyncns/ %files -n %{so_name}