Index: ossp-pkg/pth/README RCS File: /v/ossp/cvs/ossp-pkg/pth/README,v rcsdiff -q -kk '-r1.185' '-r1.186' -u '/v/ossp/cvs/ossp-pkg/pth/README,v' 2>/dev/null --- README 2000/07/01 12:40:50 1.185 +++ README 2000/07/18 09:03:20 1.186 @@ -5,7 +5,7 @@ |_| \__|_| |_| the impossible.'' GNU Pth - The GNU Portable Threads - Version 1.4a2 (01-Jul-2000) + Version 1.4a3 (18-Jul-2000) ABSTRACT Index: ossp-pkg/pth/pth-config.1 RCS File: /v/ossp/cvs/ossp-pkg/pth/Attic/pth-config.1,v rcsdiff -q -kk '-r1.124' '-r1.125' -u '/v/ossp/cvs/ossp-pkg/pth/Attic/pth-config.1,v' 2>/dev/null --- pth-config.1 2000/07/01 12:40:51 1.124 +++ pth-config.1 2000/07/18 09:03:20 1.125 @@ -2,7 +2,7 @@ ''' $RCSfile$$Revision$$Date$ ''' ''' $Log$ -''' Revision 1.124 2000/07/01 12:40:51 rse +''' Revision 1.125 2000/07/18 09:03:20 rse ''' *** empty log message *** ''' ''' @@ -96,7 +96,7 @@ .nr % 0 .rr F .\} -.TH PTH-CONFIG 1 "01-Jul-2000" "GNU Pth 1.4a2" "GNU Portable Threads" +.TH PTH-CONFIG 1 "18-Jul-2000" "GNU Pth 1.4a3" "GNU Portable Threads" .UC .if n .hy 0 .if n .na @@ -193,7 +193,7 @@ .SH "NAME" \fBpth-config\fR \- Pth library build utility .SH "VERSION" -GNU Pth 1.4a2 (01-Jul-2000) +GNU Pth 1.4a3 (18-Jul-2000) .SH "SYNOPSIS" \fBpth-config\fR [\fB--help\fR] Index: ossp-pkg/pth/pth.3 RCS File: /v/ossp/cvs/ossp-pkg/pth/Attic/pth.3,v rcsdiff -q -kk '-r1.219' '-r1.220' -u '/v/ossp/cvs/ossp-pkg/pth/Attic/pth.3,v' 2>/dev/null --- pth.3 2000/07/10 06:18:08 1.219 +++ pth.3 2000/07/18 09:03:20 1.220 @@ -2,7 +2,7 @@ ''' $RCSfile$$Revision$$Date$ ''' ''' $Log$ -''' Revision 1.219 2000/07/10 06:18:08 rse +''' Revision 1.220 2000/07/18 09:03:20 rse ''' *** empty log message *** ''' ''' @@ -96,7 +96,7 @@ .nr % 0 .rr F .\} -.TH pth 3 "01-Jul-2000" "GNU Pth 1.4a2" "GNU Portable Threads" +.TH pth 3 "18-Jul-2000" "GNU Pth 1.4a3" "GNU Portable Threads" .UC .if n .hy 0 .if n .na @@ -193,7 +193,7 @@ .SH "NAME" \fBpth\fR \- GNU Portable Threads .SH "VERSION" -GNU Pth 1.4a2 (01-Jul-2000) +GNU Pth 1.4a3 (18-Jul-2000) .SH "SYNOPSIS" .Ip "\fBGlobal Library Management\fR" 4 pth_init, Index: ossp-pkg/pth/pth.spec RCS File: /v/ossp/cvs/ossp-pkg/pth/pth.spec,v co -q -kk -p'1.3' '/v/ossp/cvs/ossp-pkg/pth/pth.spec,v' | diff -u /dev/null - -L'ossp-pkg/pth/pth.spec' 2>/dev/null --- ossp-pkg/pth/pth.spec +++ - 2024-05-08 22:13:41.540159017 +0200 @@ -0,0 +1,111 @@ +## +## GNU Pth - The GNU Portable Threads +## Copyright (c) 2000 Ralf S. Engelschall +## +## This file is part of GNU Pth, a non-preemptive thread scheduling +## library which can be found at http://www.gnu.org/software/pth/. +## +## This library is free software; you can redistribute it and/or +## modify it under the terms of the GNU Lesser General Public +## License as published by the Free Software Foundation; either +## version 2.1 of the License, or (at your option) any later version. +## +## This library is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## Lesser General Public License for more details. +## +## You should have received a copy of the GNU Lesser General Public +## License along with this library; if not, write to the Free Software +## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 +## USA, or contact Ralf S. Engelschall . +## +## pth.spec: RPM specification +## + +# This is a specification file for the RedHat Package Manager (RPM). +# It is part of the Pth source tree and this way directly included in +# Pth distribution tarballs. This way one can use a simple `rpm -tb +# pth-1.X.Y.tar.gz' command to build binary RPM packages from a Pth +# distribution tarball. + +%define prefix /usr +%define ver 1.4a3 +%define rel 1 + +Name: pth +Version: %{ver} +Release: %{rel} +Group: System Environment/Libraries +Copyright: LGPL +URL: http://www.gnu.org/software/pth/ +Summary: GNU Pth - The GNU Portable Threads + +Source: ftp://ftp.gnu.org/gnu/pth/pth-%{ver}.tar.gz +BuildRoot: /tmp/pth-%{ver}-root + +%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 (aka ``multithreading'') inside event-driven 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. + +The thread scheduling itself is done in a cooperative way, i.e., the +threads are managed by a priority- and event-based non-preemptive +scheduler. The intention is that this way one can achieve better +portability and run-time performance than with preemptive scheduling. The +event facility allows threads to wait until various types of events occur, +including pending I/O on filedescriptors, asynchronous signals, elapsed +timers, pending I/O on message ports, thread and process termination, and +even customized callback functions. + +Additionally Pth provides an optional emulation API for POSIX.1c threads +("Pthreads") which can be used for backward compatibility to existing +multithreaded applications. + +%package devel +Summary: GNU Pth development package +Group: Development/Libraries +Requires: pth = %{ver} + +%description devel +Headers, static libraries, and documentation for GNU Portable Threads. + +%prep + +%setup + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --enable-batch --enable-optimize --enable-syscall-soft +make +make test + +%install +rm -rf $RPM_BUILD_ROOT +make install prefix=$RPM_BUILD_ROOT%{prefix} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc ANNOUNCE AUTHORS COPYING ChangeLog HACKING HISTORY INSTALL NEWS PORTING README SUPPORT TESTS THANKS USERS +%{prefix}/lib/libpth.so +%{prefix}/lib/libpth.so.* + +%files devel +%defattr(-,root,root) +%{prefix}/bin/pth-config +%{prefix}/include/pth.h +%{prefix}/lib/libpth.a +%{prefix}/lib/libpth.la +%{prefix}/man/man1/pth-config.1 +%{prefix}/man/man3/pth.3 +%{prefix}/share/aclocal/pth.m4 + Index: ossp-pkg/pth/pth_vers.c RCS File: /v/ossp/cvs/ossp-pkg/pth/pth_vers.c,v rcsdiff -q -kk '-r1.132' '-r1.133' -u '/v/ossp/cvs/ossp-pkg/pth/pth_vers.c,v' 2>/dev/null --- pth_vers.c 2000/07/01 12:40:51 1.132 +++ pth_vers.c 2000/07/18 09:03:20 1.133 @@ -8,7 +8,7 @@ #ifndef _PTH_VERS_C_ #define _PTH_VERS_C_ -#define PTH_INTERNAL_VERSION 0x104002 +#define PTH_INTERNAL_VERSION 0x104003 typedef struct { const int v_hex; @@ -32,13 +32,13 @@ #undef _PTH_VERS_C_AS_HEADER_ pth_internal_version_t pth_internal_version = { - 0x104002, - "1.4a2", - "1.4a2 (01-Jul-2000)", - "This is GNU Pth, Version 1.4a2 (01-Jul-2000)", - "GNU Pth 1.4a2 (01-Jul-2000)", - "GNU Pth/1.4a2", - "@(#)GNU Pth 1.4a2 (01-Jul-2000)", + 0x104003, + "1.4a3", + "1.4a3 (18-Jul-2000)", + "This is GNU Pth, Version 1.4a3 (18-Jul-2000)", + "GNU Pth 1.4a3 (18-Jul-2000)", + "GNU Pth/1.4a3", + "@(#)GNU Pth 1.4a3 (18-Jul-2000)", "$Id$" }; Index: ossp-pkg/pth/pthread-config.1 RCS File: /v/ossp/cvs/ossp-pkg/pth/Attic/pthread-config.1,v rcsdiff -q -kk '-r1.90' '-r1.91' -u '/v/ossp/cvs/ossp-pkg/pth/Attic/pthread-config.1,v' 2>/dev/null --- pthread-config.1 2000/07/01 12:40:51 1.90 +++ pthread-config.1 2000/07/18 09:03:20 1.91 @@ -2,7 +2,7 @@ ''' $RCSfile$$Revision$$Date$ ''' ''' $Log$ -''' Revision 1.90 2000/07/01 12:40:51 rse +''' Revision 1.91 2000/07/18 09:03:20 rse ''' *** empty log message *** ''' ''' @@ -96,7 +96,7 @@ .nr % 0 .rr F .\} -.TH PTHREAD-CONFIG 1 "01-Jul-2000" "GNU Pth 1.4a2" "POSIX Threading API of GNU Pth" +.TH PTHREAD-CONFIG 1 "18-Jul-2000" "GNU Pth 1.4a3" "POSIX Threading API of GNU Pth" .UC .if n .hy 0 .if n .na @@ -193,7 +193,7 @@ .SH "NAME" \fBpthread-config\fR \- Pth pthread library build utility .SH "VERSION" -GNU Pth 1.4a2 (01-Jul-2000) +GNU Pth 1.4a3 (18-Jul-2000) .SH "SYNOPSIS" \fBpthread-config\fR [\fB--help\fR] Index: ossp-pkg/pth/pthread.3 RCS File: /v/ossp/cvs/ossp-pkg/pth/Attic/pthread.3,v rcsdiff -q -kk '-r1.94' '-r1.95' -u '/v/ossp/cvs/ossp-pkg/pth/Attic/pthread.3,v' 2>/dev/null --- pthread.3 2000/07/01 12:40:51 1.94 +++ pthread.3 2000/07/18 09:03:20 1.95 @@ -2,7 +2,7 @@ ''' $RCSfile$$Revision$$Date$ ''' ''' $Log$ -''' Revision 1.94 2000/07/01 12:40:51 rse +''' Revision 1.95 2000/07/18 09:03:20 rse ''' *** empty log message *** ''' ''' @@ -96,7 +96,7 @@ .nr % 0 .rr F .\} -.TH pthread 3 "01-Jul-2000" "GNU Pth 1.4a2" "POSIX Threading API of GNU Pth" +.TH pthread 3 "18-Jul-2000" "GNU Pth 1.4a3" "POSIX Threading API of GNU Pth" .UC .if n .hy 0 .if n .na @@ -193,7 +193,7 @@ .SH "NAME" \fBpthread\fR \- POSIX.1c Threading API of GNU Pth .SH "VERSION" -GNU Pth 1.4a2 (01-Jul-2000) +GNU Pth 1.4a3 (18-Jul-2000) .SH "SYNOPSIS" \fBApplication Makefiles:\fR .PP