diff options
author | Patrick McCarty <patrick.mccarty@linux.intel.com> | 2013-02-07 14:06:30 -0800 |
---|---|---|
committer | Patrick McCarty <patrick.mccarty@linux.intel.com> | 2013-02-07 14:30:18 -0800 |
commit | 43099aa6092d79d7b165fe0462a30f882dfc780f (patch) | |
tree | bfbd78cd5517280a43ba0122d4a4424d8d6ceb6a /packaging/libasyncns.spec | |
parent | 218d368fde033409a605095676e2629add9e8b24 (diff) | |
download | libasyncns-43099aa6092d79d7b165fe0462a30f882dfc780f.tar.gz libasyncns-43099aa6092d79d7b165fe0462a30f882dfc780f.tar.bz2 libasyncns-43099aa6092d79d7b165fe0462a30f882dfc780f.zip |
Add packagingsubmit/trunk/20130207.223456submit/tizen/20130517.023000submit/tizen/20130509.180945submit/tizen/20130503.223528accepted/trunk/20130207.230107accepted/tizen/20130520.095838accepted/tizen/20130503.222412
Diffstat (limited to 'packaging/libasyncns.spec')
-rw-r--r-- | packaging/libasyncns.spec | 51 |
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 |