[521] | 1 | Summary: Asynchronous Name Service Library |
---|
| 2 | Summary(ja): 非同期ネームサービスライブラリ |
---|
| 3 | |
---|
| 4 | Name: libasyncns |
---|
| 5 | Version: 0.4 |
---|
[1897] | 6 | Release: 2%{?_dist_release} |
---|
[521] | 7 | Group: System Environment/Libraries |
---|
| 8 | Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz |
---|
| 9 | License: LGPLv2+ |
---|
| 10 | Url: http://0pointer.de/lennart/projects/libasyncns/ |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 12 | |
---|
| 13 | %description |
---|
| 14 | A small and lightweight library that implements easy to use asynchronous |
---|
| 15 | wrappers around the libc NSS functions getaddrinfo(), res_query() and related. |
---|
| 16 | |
---|
| 17 | %package devel |
---|
| 18 | Summary: Development Files for libasyncns Client Development |
---|
| 19 | Summary(ja): %{name} クライアント用の開発ファイル |
---|
| 20 | Group: Development/Libraries |
---|
| 21 | Requires: %{name} = %{version}-%{release} |
---|
| 22 | Requires: pkgconfig |
---|
| 23 | |
---|
| 24 | %description devel |
---|
| 25 | Development Files for libasyncns Client Development |
---|
| 26 | |
---|
| 27 | %post -p /sbin/ldconfig |
---|
| 28 | %postun -p /sbin/ldconfig |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | %configure --disable-static --disable-rpath |
---|
| 35 | make |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | rm -rf $RPM_BUILD_ROOT |
---|
| 39 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 40 | find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \; |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | rm -rf $RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | %files |
---|
| 46 | %defattr(-,root,root) |
---|
| 47 | %doc README LICENSE |
---|
| 48 | %{_libdir}/libasyncns.so.* |
---|
| 49 | |
---|
| 50 | %files devel |
---|
| 51 | %defattr(-,root,root) |
---|
| 52 | %{_includedir}/asyncns.h |
---|
| 53 | %{_libdir}/libasyncns.so |
---|
| 54 | %{_libdir}/pkgconfig/libasyncns.pc |
---|
| 55 | |
---|
| 56 | %changelog |
---|
[1897] | 57 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2 |
---|
| 58 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 59 | |
---|
[521] | 60 | * Tue Sep 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1 |
---|
| 61 | - initial build for Vine Linux |
---|
| 62 | |
---|
| 63 | * Sun Jul 27 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-1 |
---|
| 64 | - Initial packaging |
---|