From e6377e0bac87690ff0fe23ebf8f68880e26fc61b Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:12:01 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.0.2-1mamba;Sun Apr 20 2014] --- README.md | 2 ++ libnscd.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 libnscd.spec diff --git a/README.md b/README.md index e91719f..9bec0e5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libnscd +This library provides an easy interface for normal programs to communicate with the nscd daemon from the GNU C Library. + diff --git a/libnscd.spec b/libnscd.spec new file mode 100644 index 0000000..055ee73 --- /dev/null +++ b/libnscd.spec @@ -0,0 +1,65 @@ +Name: libnscd +Version: 2.0.2 +Release: 1mamba +Summary: An easy interface for normal programs to communicate with the nscd daemon +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/fd00/yacp/tree/master/libnscd +Source: http://ftp.sunet.se/pub/Linux/distributions/suse/people/kukuk/libnscd/libnscd-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This library provides an easy interface for normal programs to communicate with the nscd daemon from the GNU C Library. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%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}/libnscd.so.* +%doc COPYING COPYING.LIB + +%files devel +%defattr(-,root,root) +%{_includedir}/libnscd.h +%{_libdir}/libnscd.a +%{_libdir}/libnscd.la +%{_libdir}/libnscd.so +%{_mandir}/man3/nscd_flush_cache.3* +%doc ChangeLog NEWS README + +%changelog +* Sun Apr 20 2014 Silvan Calarco 2.0.2-1mamba +- package created using the webbuild interface