libasyncns-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: Asynchronous Name Service Library
  3. Summary(ja): 非同期ネームサービスライブラリ
  4. Name: libasyncns
  5. Version: 0.8
  6. Release: 4%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: LGPLv2+
  11. URL: http://0pointer.de/lennart/projects/libasyncns/
  12. Source0: http://0pointer.de/lennart/projects/libasyncns/libasyncns-%{version}.tar.gz
  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. %package devel
  17. Summary: Development Files for libasyncns Client Development
  18. Summary(ja): %{name} クライアント用の開発ファイル
  19. Group: programming
  20. Requires: %{name} = %{version}-%{release}
  21. Requires: pkgconfig
  22. %description devel
  23. Development Files for libasyncns Client Development
  24. # compat32
  25. %package -n compat32-%{name}
  26. Summary: Asynchronous Name Service Library
  27. Summary(ja): 非同期ネームサービスライブラリ
  28. Group: system,legacy
  29. Requires: %{name} = %{version}-%{release}
  30. %description -n compat32-%{name}
  31. A small and lightweight library that implements easy to use asynchronous
  32. wrappers around the libc NSS functions getaddrinfo(), res_query() and related.
  33. %package -n compat32-%{name}-devel
  34. Summary: Development Files for libasyncns Client Development
  35. Summary(ja): %{name} クライアント用の開発ファイル
  36. Group: programming,legacy
  37. Requires: compat32-%{name} = %{version}-%{release}
  38. Requires: %{name}-devel = %{version}-%{release}
  39. %description -n compat32-%{name}-devel
  40. Development Files for libasyncns Client Development
  41. %debug_package
  42. %prep
  43. %setup -q
  44. %build
  45. %configure --disable-static
  46. make %{?_smp_mflags}
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. make DESTDIR=$RPM_BUILD_ROOT install
  50. find $RPM_BUILD_ROOT \( -name *.a -o -name *.la \) -exec rm {} \;
  51. rm -rf $RPM_BUILD_ROOT/usr/share/doc/libasyncns/
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %files
  55. %defattr(-,root,root)
  56. %license LICENSE
  57. %doc README
  58. %{_libdir}/libasyncns.so.*
  59. %files devel
  60. %defattr(-,root,root)
  61. %{_includedir}/asyncns.h
  62. %{_libdir}/libasyncns.so
  63. %{_libdir}/pkgconfig/libasyncns.pc
  64. # compat32
  65. %if %{build_compat32}
  66. %files -n compat32-%{name}
  67. %defattr(-,root,root,-)
  68. %{_libdir}/libasyncns.so.*
  69. %files -n compat32-%{name}-devel
  70. %defattr(-,root,root)
  71. %{_libdir}/libasyncns.so
  72. %{_libdir}/pkgconfig/libasyncns.pc
  73. %endif
  74. %changelog
  75. * Wed Nov 24 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-4
  76. - rebuilt with current environment.
  77. - dropped ldconfig scriptlets.
  78. * Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8-3
  79. - rebuilt with current environment.
  80. * Wed Jan 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8-2
  81. - rebuild with VineSeed environment
  82. * Wed Dec 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.8-1
  83. - new upstream release
  84. - create compat32-libasyncns sub package
  85. - remove unrecognized configure options "--disable-rpath"
  86. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4-2
  87. - rebuild with rpm-4.8.1 for pkg-config file
  88. * Tue Sep 30 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4-1
  89. - initial build for Vine Linux
  90. * Sun Jul 27 2008 Lennart Poettering <lpoetter@redhat.com> 0.4-1
  91. - Initial packaging