Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37596984
en ru br
ALT Linux repositórios
S:2.0.7-alt6
4.1: 2.0.6-alt1
4.0: 2.0.6-alt1
3.0: 2.0.0-alt1

Group :: Sistema/Bibliotecas
RPM: pth

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: pth
Version: 2.0.6
Release: alt1

%def_disable static
%def_disable debug

Summary: GNU Pth - GNU Portable Threads.
Copyright: LGPL
Group: System/Libraries
URL: http://www.gnu.org/software/%name/

Source: ftp://ftp.gnu.org/gnu/%name/%name-%version.tar.bz2
Patch0: %name-2.0.6-alt-configure-options.patch

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

%package -n lib%name
Summary: GNU Pth - GNU Portable Threads.
Group: System/Libraries
Provides: %name = %version
Obsoletes: %name

%package -n lib%name-devel
Summary: GNU Pth - GNU Portable Threads (headers and static libs).
Group: Development/C
Requires: lib%name = %version-%release
Provides: %name-devel = %version
Obsoletes: %name-devel

%package -n lib%name-devel-static
Summary: GNU Pth - GNU Portable Threads (headers and static libs).
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name
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 its own individual program-counter, run-time
stack, signal mask and errno variable.

%description -n lib%name-devel
Pth is a very portable non-preemptive threading library for Unix platforms.

This package includes headers and other files necessary to build
applications that use Pth.

%description -n lib%name-devel-static
Pth is a very portable non-preemptive threading library for Unix platforms.

This package includes static libraries.

%prep
%setup -q
%patch0 -p1

bzip2 -9k ChangeLog

%build
# Update after Patch0
autoconf

%configure \
   %{subst_enable debug} \
   %{subst_enable static}
# SMP-incompatible build
%make
%make test

%install
%makeinstall

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files -n lib%name
%doc COPYING README
%doc ANNOUNCE AUTHORS ChangeLog.bz2 HISTORY NEWS PORTING SUPPORT THANKS USERS
%_libdir/*.so.*

%files -n lib%name-devel
%_bindir/*
%_libdir/*.so
%_includedir/*
%_man1dir/*
%_man3dir/*
%_datadir/aclocal/*

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif # enabled static

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009