Репозитории ALT
S: | 2.0.7-alt6 |
5.1: | 2.0.7-alt4 |
4.1: | 2.0.6-alt1 |
4.0: | 2.0.6-alt1 |
3.0: | 2.0.0-alt1 |
Группа :: Система/Библиотеки
Пакет: pth
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: pth
Version: 2.0.0
Release: alt1
%def_disable static
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
%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
bzip2 -9k ChangeLog
%build
%configure %{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
…
Полный changelog можно просмотреть здесь
Version: 2.0.0
Release: alt1
%def_disable static
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
%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
bzip2 -9k ChangeLog
%build
%configure %{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
…
Полный changelog можно просмотреть здесь