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
This commit is contained in:
2016-11-05 18:48:04 +00:00
committed by Git OBS Bridge
parent 5b050cac96
commit e37d857fc1
2 changed files with 26 additions and 8 deletions

View File

@@ -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 Thu Oct 27 13:27:18 UTC 2016 - mimi.vx@gmail.com

View File

@@ -22,32 +22,44 @@ Version: 0.8
Release: 0 Release: 0
Summary: Asynchronous Name Service Library Summary: Asynchronous Name Service Library
License: LGPL-2.1+ License: LGPL-2.1+
Group: System/Libraries Group: Development/Libraries/C and C++
Url: http://0pointer.de/lennart/projects/libasyncns/ Url: http://0pointer.de/lennart/projects/libasyncns/
Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
A small and lightweight library that implements easy to use asynchronous A C library for executing name service queries asynchronously.
wrappers around the libc NSS functions getaddrinfo(), res_query() and related. 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} %package -n %{so_name}
Summary: Asynchronous Name Service Library Summary: Asynchronous Name Service Library
Group: System/Libraries Group: System/Libraries
%description -n %{so_name} %description -n %{so_name}
A small and lightweight library that implements easy to use asynchronous A C library for executing name service queries asynchronously. It is
wrappers around the libc NSS functions getaddrinfo(), res_query() and related. 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 %package devel
Summary: Development Files for libasyncns Client Development Summary: Development Files for libasyncns Client Development
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{so_name} = %{version}-%{release} Requires: %{so_name} = %{version}-%{release}
Requires: pkgconfig
%description devel %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 %post -n %{so_name} -p /sbin/ldconfig
%postun -n %{so_name} -p /sbin/ldconfig %postun -n %{so_name} -p /sbin/ldconfig
@@ -61,7 +73,7 @@ make %{?_smp_mflags}
%install %install
make %{?_smp_mflags} DESTDIR=%{buildroot} 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/ rm -rf %{buildroot}%{_datadir}/doc/libasyncns/
%files -n %{so_name} %files -n %{so_name}