package created using the webbuild interface [release 1.1-1mamba;Fri Nov 28 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 07:43:06 +01:00
parent 6e711af444
commit dfa05d80f7
2 changed files with 74 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# npth
This is a library to provide the GNU Pth API and thus a non-preemptive threads implementation.

72
npth.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.1-1mamba
- package created using the webbuild interface