Group :: Desenvolvimento/Outros
RPM: python-module-protocols
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define srcname PyProtocols
%define alphatag a0dev_r2082
%define srcver 1.0%{?alphatag}
%define eggver 1.0a0
Name: python-module-protocols
Version: 1.0
Release: alt0.1
Summary: Open Protocols and Component Adaptation for Python
Group: Development/Other
License: PSF or ZPL
Url: http://peak.telecommunity.com/PyProtocols.html
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://files.turbogears.org/eggs/%srcname-%srcver.tar.bz2
# manually removed: pybliographic
# Automatically added by buildreq on Mon Nov 20 2006
BuildRequires: python-module-Pyrex python-modules-encodings python-module-setuptools
%add_python_req_skip zope
%py_provides protocols
%description
PyProtocols is an implementation of PEP 246 allowing Python programmers to
define Interfaces and adapters between them, thereby reducing or eliminating
fragile 'isinstance' if type() comparisons.
%prep
%setup -q -n %srcname-%srcver
%build
CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install -O1 --skip-build --root %buildroot --single-version-externally-managed
%files
%doc README.txt CHANGES.txt docs/*
%python_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui
%define alphatag a0dev_r2082
%define srcver 1.0%{?alphatag}
%define eggver 1.0a0
Name: python-module-protocols
Version: 1.0
Release: alt0.1
Summary: Open Protocols and Component Adaptation for Python
Group: Development/Other
License: PSF or ZPL
Url: http://peak.telecommunity.com/PyProtocols.html
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://files.turbogears.org/eggs/%srcname-%srcver.tar.bz2
# manually removed: pybliographic
# Automatically added by buildreq on Mon Nov 20 2006
BuildRequires: python-module-Pyrex python-modules-encodings python-module-setuptools
%add_python_req_skip zope
%py_provides protocols
%description
PyProtocols is an implementation of PEP 246 allowing Python programmers to
define Interfaces and adapters between them, thereby reducing or eliminating
fragile 'isinstance' if type() comparisons.
%prep
%setup -q -n %srcname-%srcver
%build
CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install -O1 --skip-build --root %buildroot --single-version-externally-managed
%files
%doc README.txt CHANGES.txt docs/*
%python_sitelibdir/*
%changelog
…
Todas as alterações você pod ver aqui