libnsl2-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Summary: Public client interface library for NIS(YP) and NIS+
  2. Name: libnsl2
  3. Version: 1.3.0
  4. Release: 2%{?_dist_release}
  5. Group: system
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. License: BSD and LGPLv2+
  9. URL: https://github.com/thkukuk/libnsl
  10. Source0: https://github.com/thkukuk/libnsl/archive/v%{version}.tar.gz#/libnsl-%{version}.tar.gz
  11. Patch100: libnsl2-1.0.5-include_stdint.patch
  12. BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel
  13. %description
  14. This package contains the libnsl library. This library contains
  15. the public client interface for NIS(YP) and NIS+.
  16. This code was formerly part of glibc, but is now standalone to
  17. be able to link against TI-RPC for IPv6 support.
  18. %package devel
  19. Summary: Development files for libnsl
  20. Group: Development/Libraries
  21. Requires: %{name}%{?_isa} = %{version}-%{release}
  22. Requires: glibc-devel >= 2.28
  23. %description devel
  24. Development files for libnsl2
  25. %debug_package
  26. %prep
  27. %autosetup -n libnsl-%{version} -p1
  28. %build
  29. export CFLAGS="%{optflags}"
  30. autoreconf -fiv
  31. %configure\
  32. --libdir=%{_libdir}\
  33. --includedir=%{_includedir}
  34. %make_build
  35. %install
  36. rm -rf %{buildroot}
  37. %make_install
  38. rm %{buildroot}/%{_libdir}/libnsl.a
  39. rm %{buildroot}/%{_libdir}/libnsl.la
  40. %files
  41. %license COPYING
  42. %{_libdir}/libnsl.so.*
  43. %files devel
  44. %{_libdir}/libnsl.so
  45. %{_includedir}/*
  46. %{_libdir}/pkgconfig/libnsl.pc
  47. %changelog
  48. * Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-2
  49. - rebuilt with current toolchain.
  50. * Sat Apr 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.0-1
  51. - new upstream release.
  52. - dropped Patch1-4.
  53. * Sat Mar 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-2
  54. - rebuilt with current environment.
  55. * Fri Jan 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-1
  56. - initial build for Vine Linux.