libasyncns-vl.spec 1.6 KB

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