automatic port from devel-java [release 0.8-2mamba;Sun Dec 26 2010]

This commit is contained in:
Silvan Calarco 2024-01-06 03:48:45 +01:00
parent 9b7cc902e9
commit f128c4f7ae
2 changed files with 105 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libasyncns
A small and lightweight library that implements easy to use asynchronous wrappers around the libc NSS functions getaddrinfo(), res_query() and related.

103
libasyncns.spec Normal file
View File

@ -0,0 +1,103 @@
Name: libasyncns
Version: 0.8
Release: 2mamba
Summary: A library for executing name service queries asynchronously
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://0pointer.de/lennart/projects/libasyncns
Source: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: lynx
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A small and lightweight library that implements easy to use asynchronous wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
%package devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
A small and lightweight library that implements easy to use asynchronous
wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
This package contains libraries and headers files need for development.
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
A small and lightweight library that implements easy to use asynchronous
wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
This package contains static libraries need for development.
%package docs
Group: Documentation
Summary: Documentation for %{name}.
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description docs
A small and lightweight library that implements easy to use asynchronous
wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
Documentation for %{name}.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libasyncns.so.*
%doc LICENSE README
%files devel
%defattr(-,root,root)
%{_includedir}/asyncns.h
%{_libdir}/libasyncns.so
%{_libdir}/pkgconfig/libasyncns.pc
%files static
%defattr(-,root,root)
%{_libdir}/libasyncns.*a
%files docs
%defattr(-,root,root)
%dir %{_docdir}/libasyncns
%doc %{_docdir}/libasyncns/*
%changelog
* Sun Dec 26 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8-2mamba
- automatic port from devel-java
* Wed Dec 08 2010 gil <puntogil@libero.it> 0.8-1mamba
- update to 0.8
* Sun Nov 23 2008 gil <puntogil@libero.it> 0.7-1mamba
- update to 0.7
* Thu Jul 31 2008 gil <puntogil@libero.it> 0.4-1mamba
- package created by autospec