diff --git a/README.md b/README.md index 274940f..a8b3e16 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libnsl2 +This library contains the public client interface for NIS(YP) and NIS+ in a IPv6 ready version. + diff --git a/libnsl2.spec b/libnsl2.spec new file mode 100644 index 0000000..20ec514 --- /dev/null +++ b/libnsl2.spec @@ -0,0 +1,80 @@ +Name: libnsl2 +Version: 1.3.0 +Release: 2mamba +Summary: This library contains the public client interface for NIS(YP) and NIS+ in a IPv6 ready version +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/thkukuk/libnsl +Source: https://github.com/thkukuk/libnsl.git/v%{version}/libnsl-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libe2fs-devel +BuildRequires: libkrb5-devel +BuildRequires: libtirpc-devel +## AUTOBUILDREQ-END + +%description +This library contains the public client interface for NIS(YP) and NIS+ in a IPv6 ready version. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q -n libnsl-%{version} +./autogen.sh + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +#%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +#-f %{name}.lang +%defattr(-,root,root) +%{_libdir}/libnsl.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/rpcsvc +%{_includedir}/rpcsvc/* +%{_libdir}/libnsl.a +%{_libdir}/libnsl.la +%{_libdir}/libnsl.so +%{_libdir}/pkgconfig/libnsl.pc +%doc ChangeLog NEWS README + +%changelog +* Tue Aug 24 2021 Silvan Calarco 1.3.0-2mamba +- legacy package + +* Sat Aug 22 2020 Automatic Build System 1.3.0-1mamba +- automatic version update by autodist + +* Sun Jul 29 2018 Silvan Calarco 1.2.0-1mamba +- update to 1.2.0 + +* Sun Sep 24 2017 Silvan Calarco 1.1.0-1mamba +- package created using the webbuild interface