automatic rebuild by autodist [release 2.0.7-3mamba;Fri Sep 06 2013]

This commit is contained in:
Automatic Build System 2024-01-06 05:27:49 +01:00
parent 4df9a63c24
commit fa6635d897
2 changed files with 93 additions and 0 deletions

View File

@ -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.

85
libpth.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 2.0.7-3mamba
- automatic rebuild by autodist
* Mon Dec 03 2007 Aleph0 <aleph0@openmamba.org> 2.0.7-2mamba
- specfile updated
* Fri Jan 19 2007 Davide Madrisan <davide.madrisan@qilinux.it> 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 <silvan.calarco@mambasoft.it> 2.0.2-1qilnx
- package created by autospec