diff options
-rw-r--r-- | packaging/baselibs.conf | 1 | ||||
-rw-r--r-- | packaging/libasyncns.changes | 4 | ||||
-rw-r--r-- | packaging/libasyncns.spec | 51 |
3 files changed, 56 insertions, 0 deletions
diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 0000000..5014378 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1 @@ +libasyncns diff --git a/packaging/libasyncns.changes b/packaging/libasyncns.changes new file mode 100644 index 0000000..f968706 --- /dev/null +++ b/packaging/libasyncns.changes @@ -0,0 +1,4 @@ +* Thu Feb 07 2013 Patrick McCarty <patrick.mccarty@linux.intel.com> 42d4ee0 +- Add packaging +- Imported Upstream version 0.8 + diff --git a/packaging/libasyncns.spec b/packaging/libasyncns.spec new file mode 100644 index 0000000..6e724c8 --- /dev/null +++ b/packaging/libasyncns.spec @@ -0,0 +1,51 @@ +Name: libasyncns +Version: 0.8 +Release: 1 +License: LGPL-2.1+ +Summary: A C library for executing name service queries asynchronously +URL: http://0pointer.de/lennart/projects/libasyncns +Group: System/Libraries +Source: %{name}-%{version}.tar.gz + +%description +Libasyncns is 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 devel +Summary: libasyncns development package +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +Development package for libasyncns, 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. + +%prep +%setup -q + +%build +%configure + +make %{?_smp_mflags} + +%install +%make_install + +rm -rf %{buildroot}%{_datadir}/doc + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%{_libdir}/libasyncns.so.* + +%files devel +%{_includedir}/asyncns.h +%{_libdir}/libasyncns.so +%{_libdir}/pkgconfig/libasyncns.pc |