From dfa05d80f7638de76a6a707d6117f6262715e2e4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:43:06 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.1-1mamba;Fri Nov 28 2014] --- README.md | 2 ++ npth.spec | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 npth.spec diff --git a/README.md b/README.md index faddfae..1551701 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # npth +This is a library to provide the GNU Pth API and thus a non-preemptive threads implementation. + diff --git a/npth.spec b/npth.spec new file mode 100644 index 0000000..6379ef8 --- /dev/null +++ b/npth.spec @@ -0,0 +1,72 @@ +Name: npth +Version: 1.1 +Release: 1mamba +Summary: A library to provide the GNU Pth API and thus a non-preemptive threads implementation +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www,gnupg.org +Source: ftp://ftp.gnupg.org/gcrypt/npth/npth-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +This is a library to provide the GNU Pth API and thus a non-preemptive threads implementation. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-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 -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libnpth.so.* +%doc AUTHORS COPYING COPYING.LESSER + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_bindir}/npth-config +%{_includedir}/npth.h +%{_libdir}/libnpth.la +%{_libdir}/libnpth.so +%{_datadir}/aclocal/npth.m4 +%doc ChangeLog NEWS README + +%changelog +* Fri Nov 28 2014 Silvan Calarco 1.1-1mamba +- package created using the webbuild interface