From 194332e4e97cfa2baedad9d051a6d142a702de03 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:14:31 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.3-1mamba;Sun Sep 24 2017] --- README.md | 2 ++ libnss_nis.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 libnss_nis.spec diff --git a/README.md b/README.md index 77a2198..4dc4004 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libnss_nis +NSS module for glibc, to provide NIS support for glibc. + diff --git a/libnss_nis.spec b/libnss_nis.spec new file mode 100644 index 0000000..cc14754 --- /dev/null +++ b/libnss_nis.spec @@ -0,0 +1,66 @@ +Name: libnss_nis +Version: 1.3 +Release: 1mamba +Summary: NSS module for glibc, to provide NIS support for glibc +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/thkukuk/libnss_nis.git +Source: https://github.com/thkukuk/libnss_nis.git/libnss_nis-%{version}/libnss_nis-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libe2fs-devel +BuildRequires: libkrb5-devel +BuildRequires: libnsl-devel +BuildRequires: libtirpc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +NSS module for glibc, to provide NIS support for glibc. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%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 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libnss_nis.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_libdir}/libnss_nis.a +%{_libdir}/libnss_nis.la +%{_libdir}/libnss_nis.so +%doc ChangeLog NEWS README + +%changelog +* Sun Sep 24 2017 Silvan Calarco 1.3-1mamba +- package created using the webbuild interface