2024-01-06 03:48:45 +01:00
|
|
|
Name: libasyncns
|
|
|
|
Version: 0.8
|
2024-01-06 03:48:46 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 03:48:45 +01:00
|
|
|
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.
|
2024-01-06 03:48:46 +01:00
|
|
|
This package contains static libraries needed for development.
|
2024-01-06 03:48:45 +01:00
|
|
|
|
|
|
|
%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}.
|
|
|
|
|
2024-01-06 03:48:46 +01:00
|
|
|
%debug_package
|
2024-01-06 03:48:45 +01:00
|
|
|
|
2024-01-06 03:48:46 +01:00
|
|
|
%prep
|
2024-01-06 03:48:45 +01:00
|
|
|
%setup -q
|
2024-01-06 03:48:46 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
2024-01-06 03:48:45 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 03:48:46 +01:00
|
|
|
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8-3mamba
|
|
|
|
- added debug package and aarch64 build fix
|
|
|
|
|
2024-01-06 03:48:45 +01:00
|
|
|
* 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
|