From fa6635d897a55fe20c129528ef814953573d0aa6 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:27:49 +0100 Subject: [PATCH] automatic rebuild by autodist [release 2.0.7-3mamba;Fri Sep 06 2013] --- README.md | 8 +++++ libpth.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 93 insertions(+) create mode 100644 libpth.spec diff --git a/README.md b/README.md index 51fd801..4fb95b5 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # libpth +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. + diff --git a/libpth.spec b/libpth.spec new file mode 100644 index 0000000..0aed171 --- /dev/null +++ b/libpth.spec @@ -0,0 +1,85 @@ +Name: libpth +Version: 2.0.7 +Release: 3mamba +Summary: GNU Pth - The GNU Portable Threads Library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.gnu.org/software/pth/ +Source: ftp://ftp.gnu.org/gnu/pth/pth-%{version}.tar.gz +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-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 +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +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. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n pth-%{version} + +%build +%configure +%make -j1 + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libpth.so.* +%doc AUTHORS COPYING ChangeLog NEWS README THANKS + +%files devel +%defattr(-,root,root) +%{_bindir}/pth-config +%{_datadir}/aclocal/pth.m4 +%{_includedir}/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_mandir}/man1/pth-config.* +%{_mandir}/man3/pth.* + +%changelog +* Fri Sep 06 2013 Automatic Build System 2.0.7-3mamba +- automatic rebuild by autodist + +* Mon Dec 03 2007 Aleph0 2.0.7-2mamba +- specfile updated + +* Fri Jan 19 2007 Davide Madrisan 2.0.7-1qilnx +- update to version 2.0.7 by autospec +- man pages moved to the devel package +- modified package URL + +* Tue Oct 12 2004 Silvan Calarco 2.0.2-1qilnx +- package created by autospec