Package init
This commit is contained in:
commit
698730844b
BIN
libasyncns-0.8.tar.gz
Normal file
BIN
libasyncns-0.8.tar.gz
Normal file
Binary file not shown.
58
libasyncns.spec
Normal file
58
libasyncns.spec
Normal file
@ -0,0 +1,58 @@
|
||||
Name: libasyncns
|
||||
Version: 0.8
|
||||
Release: 16
|
||||
Summary: A C library for Linux/Unix for executing name service queries
|
||||
License: LGPLv2+
|
||||
Url: http://0pointer.de/lennart/projects/libasyncns/
|
||||
Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
libasyncns is a C library for Linux/Unix 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 devel
|
||||
Summary: Development Files and Header files for %{name}
|
||||
Requires: %{name} = %{version}-%{release} pkgconfig
|
||||
|
||||
%description devel
|
||||
This %{name}-devel package contains libraries and header files for developing
|
||||
applications that want to make use of %{name}.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%delete_la
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE
|
||||
%{_libdir}/libasyncns.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/asyncns.h
|
||||
%{_libdir}/pkgconfig/libasyncns.pc
|
||||
%{_libdir}/libasyncns.so
|
||||
%{_libdir}/*.a
|
||||
|
||||
|
||||
%files help
|
||||
%doc README
|
||||
%{_docdir}/libasyncns/*
|
||||
|
||||
%changelog
|
||||
* Mon Sep 2 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8-16
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user