Группа :: Разработка/Python
Пакет: python-module-eunuchs
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# -*- mode: rpm-spec; coding: utf-8 -*-
%define version 0.0.0.20040910
%define release alt2
%define source_version 20040910
%define source_name eunuchs
%setup_python_module eunuchs
Version: %version
Release: %release
Summary: Missing manly parts of UNIX API for Python
Summary(ru_RU.UTF-8): п■п╬я│я┌я┐п© п╦п╥ Python п╨ я┤п╟я│я┌я▐п╪ UNIX API п╢п╩я▐ п╫п╟я│я┌п╬я▐я┴п╦я┘ п╪я┐п╤я┤п╦п╫.
Name: %packagename
Source: %source_name-%source_version.tar.bz2
License: Python
Group: Development/Python
Prefix: %_prefix
Url: http://eunuchs.bkbits.net/
Packager: Igor Zubkov <icesik at altlinux.ru>
%description
Eunuchs is a library of Python extension that complement the standard
libraries in parts where full support for the UNIX API (or the Linux
API) is missing.
Most of the functions wrapped by Eunuchs are low-level, dirty, but
absolutely necessary functions for real systems programming. The aim
is to have the functions added to mainstream Python libraries.
Current list of functions included:
- fchdir(2)
- recvmsg(2) and sendmsg(2), including use of cmsg(3)
- socketpair(2)
It's built for python %__python_version.
%description -l ru_RU.UTF-8
Eunuchs - я█я┌п╬ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╟ я─п╟я│я┬п╦я─п╣п╫п╦я▐ Python, п╨п╬я┌п╬я─п╟я▐ п╢п╬п©п╬п╩п╫я▐п╣я┌
я│я┌п╟п╫п╢п╟я─я┌п╫я┐я▌ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐ п©п╬п╩п╫п╬п╧ п©п╬п╢п╢п╣я─п╤п╨п╬п╧ UNIX API (п╦п╩п╦ Linux API)
п▒п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ я└я┐п╫п╨я├п╦п╧, п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣п╪я▀я┘ Eunuchs - п╫п╦п╥п╨п╬я┐я─п╬п╡п╫п╣п╡я▀п╣, "пЁя─я▐п╥п╫я▀п╣"
п╫п╬ п╟п╠я│п╬п╩я▌я┌п╫п╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╣ п╢п╩я▐ п╫п╟я│я┌п╬я▐я┴п╣пЁп╬ я│п╦я│я┌п╣п╪п╫п╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐.
п╕п╣п╩я▄я▌ п©я─п╬п╣п╨я┌п╟ я▐п╡п╩я▐п╣я┌я│я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣ я█я┌п╬п╧ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬я│я┌п╦ п╡ п╬я│п╫п╬п╡п╫я▀п╣
п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦ Python
п▓ п╫п╟я│я┌п╬я▐я┴п╣п╣ п╡я─п╣п╪я▐ п╡ п©п╟п╨п╣я┌ п╡п╨п╩я▌я┤п╣п╫я▀ я│п╩п╣п╢я┐я▌я┴п╦п╣ я└я┐п╫п╨я├п╦п╦:
- fchdir(2)
- recvmsg(2) п╦ sendmsg(2), п╡п╨п╩я▌я┤п╟я▐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ cmsg(3)
- socketpair(2)
п·п╫ я│п╬п╠я─п╟п╫ п╢п╩я▐ Python п╡п╣я─я│п╦п╦ %__python_version.
%prep
%setup -q -n %source_name-%source_version
%build
echo "*** Creating package %name ***"
%__python setup.py build
%install
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=%buildroot \
--record=INSTALLED_FILES
%files -f INSTALLED_FILES
%doc doc/europython2004.sxi examples
%changelog
…
Полный changelog можно просмотреть здесь
%define version 0.0.0.20040910
%define release alt2
%define source_version 20040910
%define source_name eunuchs
%setup_python_module eunuchs
Version: %version
Release: %release
Summary: Missing manly parts of UNIX API for Python
Summary(ru_RU.UTF-8): п■п╬я│я┌я┐п© п╦п╥ Python п╨ я┤п╟я│я┌я▐п╪ UNIX API п╢п╩я▐ п╫п╟я│я┌п╬я▐я┴п╦я┘ п╪я┐п╤я┤п╦п╫.
Name: %packagename
Source: %source_name-%source_version.tar.bz2
License: Python
Group: Development/Python
Prefix: %_prefix
Url: http://eunuchs.bkbits.net/
Packager: Igor Zubkov <icesik at altlinux.ru>
%description
Eunuchs is a library of Python extension that complement the standard
libraries in parts where full support for the UNIX API (or the Linux
API) is missing.
Most of the functions wrapped by Eunuchs are low-level, dirty, but
absolutely necessary functions for real systems programming. The aim
is to have the functions added to mainstream Python libraries.
Current list of functions included:
- fchdir(2)
- recvmsg(2) and sendmsg(2), including use of cmsg(3)
- socketpair(2)
It's built for python %__python_version.
%description -l ru_RU.UTF-8
Eunuchs - я█я┌п╬ п╠п╦п╠п╩п╦п╬я┌п╣п╨п╟ я─п╟я│я┬п╦я─п╣п╫п╦я▐ Python, п╨п╬я┌п╬я─п╟я▐ п╢п╬п©п╬п╩п╫я▐п╣я┌
я│я┌п╟п╫п╢п╟я─я┌п╫я┐я▌ п╠п╦п╠п╩п╦п╬я┌п╣п╨я┐ п©п╬п╩п╫п╬п╧ п©п╬п╢п╢п╣я─п╤п╨п╬п╧ UNIX API (п╦п╩п╦ Linux API)
п▒п╬п╩я▄я┬п╦п╫я│я┌п╡п╬ я└я┐п╫п╨я├п╦п╧, п©я─п╣п╢п╬я│я┌п╟п╡п╩я▐п╣п╪я▀я┘ Eunuchs - п╫п╦п╥п╨п╬я┐я─п╬п╡п╫п╣п╡я▀п╣, "пЁя─я▐п╥п╫я▀п╣"
п╫п╬ п╟п╠я│п╬п╩я▌я┌п╫п╬ п╫п╣п╬п╠я┘п╬п╢п╦п╪я▀п╣ п╢п╩я▐ п╫п╟я│я┌п╬я▐я┴п╣пЁп╬ я│п╦я│я┌п╣п╪п╫п╬пЁп╬ п©я─п╬пЁя─п╟п╪п╪п╦я─п╬п╡п╟п╫п╦я▐.
п╕п╣п╩я▄я▌ п©я─п╬п╣п╨я┌п╟ я▐п╡п╩я▐п╣я┌я│я▐ п╢п╬п╠п╟п╡п╩п╣п╫п╦п╣ я█я┌п╬п╧ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬я│я┌п╦ п╡ п╬я│п╫п╬п╡п╫я▀п╣
п╠п╦п╠п╩п╦п╬я┌п╣п╨п╦ Python
п▓ п╫п╟я│я┌п╬я▐я┴п╣п╣ п╡я─п╣п╪я▐ п╡ п©п╟п╨п╣я┌ п╡п╨п╩я▌я┤п╣п╫я▀ я│п╩п╣п╢я┐я▌я┴п╦п╣ я└я┐п╫п╨я├п╦п╦:
- fchdir(2)
- recvmsg(2) п╦ sendmsg(2), п╡п╨п╩я▌я┤п╟я▐ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ cmsg(3)
- socketpair(2)
п·п╫ я│п╬п╠я─п╟п╫ п╢п╩я▐ Python п╡п╣я─я│п╦п╦ %__python_version.
%prep
%setup -q -n %source_name-%source_version
%build
echo "*** Creating package %name ***"
%__python setup.py build
%install
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=%buildroot \
--record=INSTALLED_FILES
%files -f INSTALLED_FILES
%doc doc/europython2004.sxi examples
%changelog
…
Полный changelog можно просмотреть здесь