Summary: Libraries for the public client interface for NIS(YP) and NIS+. Name: libnsl Version: 1.2.0 Release: 1%{?dist} Source0: https://github.com/thkukuk/libnsl/archive/v1.2.0/libnsl-1.2.0.tar.gz %define sha1 libnsl=f141c7cf0ff96d96e369dda36af8ed19af0fc3ca License: GPLv2+ Group: System Environment/Libraries URL: https://github.com/thkukuk/libnsl Vendor: VMware, Inc. Distribution: Photon Requires: libtirpc Requires: rpcsvc-proto BuildRequires: libtirpc-devel BuildRequires: rpcsvc-proto-devel %description The libnsl package contains the public client interface for NIS(YP) and NIS+. It replaces the NIS library that used to be in glibc. %package devel Summary: Development files for the libnsl library Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libtirpc-devel Requires: rpcsvc-proto-devel %description devel This package includes header files and libraries necessary for developing programs which use the nsl library. %prep %setup -q %build autoreconf -fi %configure make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %post /sbin/ldconfig %postun /sbin/ldconfig %files %{_libdir}/*.so %{_libdir}/*.so.* %files devel %{_includedir}/rpcsvc/* %{_libdir}/pkgconfig/* %{_libdir}/*.a %{_libdir}/*.la %changelog * Fri Sep 21 2018 Alexey Makhalov <amakhalov@vmware.com> 1.2.0-1 - Initial version