npth/npth.spec

85 lines
2.3 KiB
RPMSpec
Raw Normal View History

Name: npth
Version: 1.6
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.LIB
%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
* Wed Jul 18 2018 Automatic Build System <autodist@mambasoft.it> 1.6-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 1.5-1mamba
- automatic version update by autodist
* Sat Dec 03 2016 Automatic Build System <autodist@mambasoft.it> 1.3-1mamba
- automatic version update by autodist
* Sun May 03 2015 Automatic Build System <autodist@mambasoft.it> 1.2-1mamba
- automatic update by autodist
* Fri Nov 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
- package created using the webbuild interface