Summary: The GNU Portable Threads library Name: pth Version: 2.0.7 Release: 1 License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gnu.org/software/pth/ Source: ftp://ftp.gnu.org/gnu/pth/pth-%{version}.tar.gz Source1: ftp://ftp.gnu.org/gnu/pth/pth-%{version}.tar.gz.sig Patch0: pth-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-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 ("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: Development headers and libraries for GNU Pth Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Development headers and libraries for GNU Pth. %prep %setup -q %patch0 %build export CC=gcc export CFLAGS="-O" ./configure --prefix=%{_prefix} \ --enable-static --enable-shared --with-fdsetsize=1024 make make test %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ANNOUNCE AUTHORS COPYING ChangeLog HISTORY NEWS PORTING README %doc SUPPORT TESTS THANKS USERS %{_libdir}/*.a %files devel %defattr(-,root,root,-) %doc HACKING %{_bindir}/* %{_includedir}/* %{_libdir}/*.la %{_mandir}/*/* %{_datadir}/aclocal/* %changelog * Fri Oct 05 2007 Michael Perzl - 2.0.7-1 - first version for AIX V5.1 and higher