From 5c9f61fe5c05e4ea988a8d5870c388b2117491af Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:12:08 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.1.0-1mamba;Sun Sep 24 2017] --- README.md | 2 ++ libnsl.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 libnsl.spec diff --git a/README.md b/README.md index a88ee1e..f4bc01f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libnsl +This library contains the public client interface for NIS(YP) and NIS+ in a IPv6 ready version. + diff --git a/libnsl.spec b/libnsl.spec new file mode 100644 index 0000000..d78736a --- /dev/null +++ b/libnsl.spec @@ -0,0 +1,71 @@ +Name: libnsl +Version: 1.1.0 +Release: 1mamba +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.git +Source: https://github.com/thkukuk/libnsl.git/%{version}/libnsl-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libe2fs-devel +BuildRequires: libkrb5-devel +BuildRequires: libtirpc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 + +%build +./autogen.sh +%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 +* Sun Sep 24 2017 Silvan Calarco 1.1.0-1mamba +- package created using the webbuild interface