Summary: The GNU Portable Threads library Name: pth Version: 2.0.7 Release: 4%{?dist} 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #for iconv Buildrequires: glibc-common %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 #because of /usr/share/aclocal ownership Requires: automake Requires: %{name} = %{version}-%{release} %description devel Development headers and libraries for GNU Pth. %prep %setup -q cp ChangeLog ChangeLog.old iconv --from-code=ISO8859-1 --to-code=UTF-8 ChangeLog.old > ChangeLog cp THANKS THANKS.old iconv --from-code=ISO8859-1 --to-code=UTF-8 THANKS.old > THANKS %build %configure --disable-static ac_cv_func_sigstack='no' sed -i -e 's!@CFLAGS@,!@CFLAGS@,-g !' config.status ; ./config.status # this is necessary; without it make -j fails make pth_p.h make %{?_smp_mflags} %check || : make test %install rm -rf $RPM_BUILD_ROOT make DESTDIR=${RPM_BUILD_ROOT} install rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc ANNOUNCE AUTHORS COPYING ChangeLog HISTORY NEWS PORTING README %doc SUPPORT TESTS THANKS USERS %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %doc HACKING %{_bindir}/* %{_includedir}/* %{_libdir}/*.so %{_mandir}/*/* %{_datadir}/aclocal/* %changelog * Mon Sep 22 2008 Peter Vrabec - 2.0.7-4 - add automake requires * Tue Sep 02 2008 Peter Vrabec - 2.0.7-3 - initial RHEL package - iconv-ing Changelog and Thanks to utf8 * Thu Aug 2 2007 Michael Schwendt - 2.0.7-2 - Clarify licence (LGPLv2+). * Sat Nov 25 2006 Michael Schwendt - 2.0.7-1 - Update to 2.0.7 (very minor maintenance updates only). * Mon Aug 28 2006 Michael Schwendt - 2.0.6-3 - rebuilt * Mon May 22 2006 Michael Schwendt - 2.0.6-2 - Insert -g into CFLAGS after configure script removes it. - Disable configure check for obsolete sigstack(), which segfaults. * Thu Feb 16 2006 Michael Schwendt - 2.0.6-1 - Update to 2.0.6. * Fri Oct 7 2005 Michael Schwendt - 2.0.5-1 - Update to 2.0.5. - Don't build static archive. * Fri May 13 2005 Michael Schwendt - 2.0.4-3 - rebuilt * Thu Apr 7 2005 Michael Schwendt - 2.0.4-2 - rebuilt * Thu Feb 24 2005 Michael Schwendt - 0:2.0.4-1 - Update to 2.0.4. - Remove ancient changelog entries which even pre-date Fedora. * Tue Dec 14 2004 Michael Schwendt - 0:2.0.3-1 - Update to 2.0.3, minor and common spec adjustments + LGPL, %%check, use URLs for official GNU companion sites. * Thu Oct 07 2004 Adrian Reber - 0:2.0.2-0.fdr.2 - iconv-ing spec to utf8 * Wed Oct 06 2004 Adrian Reber - 0:2.0.2-0.fdr.1 - Update to 2.0.2 and current Fedora guidelines. - added workaround for make -j problem * Sat Mar 22 2003 Ville Skyttä - 0:2.0.0-0.fdr.1 - Update to 2.0.0 and current Fedora guidelines. - Exclude %%{_libdir}/*.la * Fri Feb 7 2003 Ville Skyttä - 1.4.1-1.fedora.1 - First Fedora release, based on Ryan Weaver's work. - Move (most of) docs to main package.