pth/pth.spec

Name: pth
Summary: GNU Portable Threads.
Version: 2.0.1
Release: 1.2
License: GPL
Group: System Environment/Libraries
URL: http://www.ossp.org/pkg/lib/pth/
Description: Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution ("multithreading") inside server applications. All threads run in the same address space of the server application, but each thread has it's own individual program-counter, run-time stack, signal mask and errno variable.

CentOS 7 x86_64

The build was not successful.

Build Status

CentOS 6 x86_64

The build was not successful.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Ralf S. Engelschall <rse$engelschall,com>

### EL6 ships with pth-2.0.7-9.3.el6
### EL5 ships with pth-2.0.7-6.el5
# ExclusiveDist: el2 el3 el4

Summary: GNU Portable Threads.
Name: pth
Version: 2.0.1
Release: 1.2%{?dist}
License: GPL
Group: System Environment/Libraries
URL: http://www.ossp.org/pkg/lib/pth/

Source: ftp://ftp.ossp.org/pkg/lib/pth/pth-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc-c++

%description
Pth is a very portable POSIX/ANSI-C based library for Unix platforms
which provides non-preemptive priority-based scheduling for multiple
threads of execution ("multithreading") inside server applications.
All threads run in the same address space of the server application,
but each thread has it's own individual program-counter, run-time
stack, signal mask and errno variable.

%package devel
Summary: Header files, libraries and development documentation for %{name}.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
This package contains the header files, static libraries and development
documentation for %{name}. If you like to develop programs using %{name},
you will need to install %{name}-devel.

%prep
%setup

%build
%configure
%{__make} %{?_smp_mflags}
%{__make} test

%install
%{__rm} -rf %{buildroot}
%makeinstall

%clean
%{__rm} -rf %{buildroot}

%post
/sbin/ldconfig 2>/dev/null

%postun
/sbin/ldconfig 2>/dev/null

%files
%defattr(-, root, root, 0755)
%doc ANNOUNCE AUTHORS ChangeLog COPYING HISTORY NEWS README SUPPORT
%doc TESTS THANKS USERS
%{_libdir}/*.so.*

%files devel
%defattr(-, root, root, 0755)
%doc HACKING PORTING
%doc %{_mandir}/man?/*
%{_bindir}/*
%{_includedir}/*.h
%{_libdir}/*.a
%{_libdir}/*.so
%{_datadir}/aclocal/*.m4
%exclude %{_libdir}/*.la

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 2.0.1-1.2
- Rebuild for Fedora Core 5.

* Wed Jul 14 2004 Dag Wieers <dag@wieers.com> - 2.0.1-1
- Updated to release 2.0.1.

* Tue Apr 06 2004 Dag Wieers <dag@wieers.com> - 2.0.0-1
- Initial package. (using DAR)