summaryrefslogtreecommitdiff
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
parent218d368fde033409a605095676e2629add9e8b24 (diff)
downloadlibasyncns-43099aa6092d79d7b165fe0462a30f882dfc780f.tar.gz
libasyncns-43099aa6092d79d7b165fe0462a30f882dfc780f.tar.bz2
libasyncns-43099aa6092d79d7b165fe0462a30f882dfc780f.zip
-rw-r--r--packaging/baselibs.conf1
-rw-r--r--packaging/libasyncns.changes4
-rw-r--r--packaging/libasyncns.spec51
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