Name: libpthread-stubs Version: 0.3 Release: 1mamba Summary: This library provides weak aliases for pthread functions not provided in libc Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://xcb.freedesktop.org Source: http://xcb.freedesktop.org/dist/libpthread-stubs-%{version}.tar.bz2 License: MIT BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This library provides weak aliases for pthread functions not provided in libc or otherwise available by default. Libraries like libxcb rely on pthread stubs to use pthreads optionally, becoming thread-safe when linked to libpthread, while avoiding any performance hit when running single-threaded. libpthread-stubs supports this behavior even on platforms which do not supply all the necessary pthread stubs. On platforms which already supply all the necessary pthread stubs, this package ships only the pkg-config file pthread-stubs.pc, to allow libraries to unconditionally express a dependency on pthread-stubs and still obtain correct behavior. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: %{name} Obsoletes: %{name} %description devel This library provides weak aliases for pthread functions not provided in libc or otherwise available by default. Libraries like libxcb rely on pthread stubs to use pthreads optionally, becoming thread-safe when linked to libpthread, while avoiding any performance hit when running single-threaded. libpthread-stubs supports this behavior even on platforms which do not supply all the necessary pthread stubs. On platforms which already supply all the necessary pthread stubs, this package ships only the pkg-config file pthread-stubs.pc, to allow libraries to unconditionally express a dependency on pthread-stubs and still obtain correct behavior. This package contains static libraries and header files need for development. %prep %setup -q %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" #%files #%defattr(-,root,root) #%{_libdir}/libpthread-stubs.so.* %files devel %defattr(-,root,root) #%{_libdir}/libpthread-stubs.a #%{_libdir}/libpthread-stubs.la #%{_libdir}/libpthread-stubs.so %{_exec_prefix}/lib/pkgconfig/*.pc %doc COPYING README %changelog * Sat May 08 2010 Automatic Build System 0.3-1mamba - automatic update by autodist * Sat Oct 10 2009 Silvan Calarco 0.2-2mamba - devel package: don't obsolete main package * Tue Sep 29 2009 Automatic Build System 0.2-1mamba - automatic update by autodist * Sat Jun 21 2008 Silvan Calarco 0.1-3mamba - correct obsolete for libpthread-stubs * Fri Jun 20 2008 Silvan Calarco 0.1-2mamba - specfile updated - removed libpthread-stubs package and obsoleted by libpthread-stubs-devel * Wed Feb 07 2007 Silvan Calarco 0.1-1qilnx - package created by autospec