summaryrefslogtreecommitdiff
path: root/packaging/libasyncns.spec
diff options
context:
space:
mode:
authorPatrick McCarty <patrick.mccarty@linux.intel.com>2013-02-07 14:06:30 -0800
committerPatrick McCarty <patrick.mccarty@linux.intel.com>2013-02-07 14:30:18 -0800
commit43099aa6092d79d7b165fe0462a30f882dfc780f (patch)
treebfbd78cd5517280a43ba0122d4a4424d8d6ceb6a /packaging/libasyncns.spec
parent218d368fde033409a605095676e2629add9e8b24 (diff)
downloadlibasyncns-43099aa6092d79d7b165fe0462a30f882dfc780f.tar.gz
libasyncns-43099aa6092d79d7b165fe0462a30f882dfc780f.tar.bz2
libasyncns-43099aa6092d79d7b165fe0462a30f882dfc780f.zip
Diffstat (limited to 'packaging/libasyncns.spec')
-rw-r--r--packaging/libasyncns.spec51
1 files changed, 51 insertions, 0 deletions
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