libnsl2-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Name: libnsl2
  2. Version: 1.2.0
  3. Release: 2%{?_dist_release}
  4. Summary: Public client interface library for NIS(YP) and NIS+
  5. Group: System Environment/Libraries
  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. Patch1: 0001-Don-t-include-ltmain.sh-since-this-would-require-the.patch
  12. Patch2: 0002-Remove-outdated-download-url-issue-4.patch
  13. Patch3: 0003-Detect-recursive-lock-between-yp_all-and-do_ypcall.patch
  14. Patch4: 0004-Detect-recursive-NIS-calls.patch
  15. Patch100: libnsl2-1.0.5-include_stdint.patch
  16. BuildRequires: autoconf, automake, gettext-devel, libtool, libtirpc-devel
  17. %description
  18. This package contains the libnsl library. This library contains
  19. the public client interface for NIS(YP) and NIS+.
  20. This code was formerly part of glibc, but is now standalone to
  21. be able to link against TI-RPC for IPv6 support.
  22. %package devel
  23. Summary: Development files for libnsl
  24. Group: Development/Libraries
  25. Requires: %{name}%{?_isa} = %{version}-%{release}
  26. Requires: glibc-devel >= 2.28
  27. %description devel
  28. Development files for libnsl2
  29. %prep
  30. %autosetup -n libnsl-%{version} -p1
  31. %build
  32. export CFLAGS="%{optflags}"
  33. autoreconf -fiv
  34. %configure\
  35. --libdir=%{_libdir}\
  36. --includedir=%{_includedir}
  37. %make_build
  38. %install
  39. rm -rf %{buildroot}
  40. %make_install
  41. rm %{buildroot}/%{_libdir}/libnsl.a
  42. rm %{buildroot}/%{_libdir}/libnsl.la
  43. %files
  44. %license COPYING
  45. %{_libdir}/libnsl.so.2
  46. %{_libdir}/libnsl.so.2.0.0
  47. %files devel
  48. %{_libdir}/libnsl.so
  49. %{_includedir}/*
  50. %{_libdir}/pkgconfig/libnsl.pc
  51. %changelog
  52. * Sat Mar 28 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-2
  53. - rebuilt with current environment.
  54. * Fri Jan 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.2.0-1
  55. - initial build for Vine Linux.