Group :: Development/Python
RPM: yarn
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define version 0.4pseudo_really0.2
%define release alt3
Packager: Denis Medvedev <nbr at altlinux.ru>
Summary: A Python/Twisted library for working with messages in many different formats and protocols
Name: yarn
Version: %version
Release: %release.1
Source: yarn-%version-%release.tar.bz2
License: GPL
Group: Development/Python
Url: http://yarnproject.org
BuildPreReq: python python-module-twisted python-dev python-module-setuptools
Requires: python python-module-twisted
%description
A Python/Twisted library for working with messages in many different formats and protocols, such as RSS and mail messages.
%prep
%setup -n yarn-%version-%release
%build
mkdir -p buildroot
# Unfortunately build and install steps should be done at once
# because otherwise .pyo files won't get into INSTALLED_FILES
# record
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=`pwd`/buildroot \
--record=INSTALLED_FILES
%install
mkdir %buildroot/
cp -pr buildroot/* %buildroot/
unset RPM_PYTHON
%files -f INSTALLED_FILES
%changelog
…
Full changelog you can see here
%define release alt3
Packager: Denis Medvedev <nbr at altlinux.ru>
Summary: A Python/Twisted library for working with messages in many different formats and protocols
Name: yarn
Version: %version
Release: %release.1
Source: yarn-%version-%release.tar.bz2
License: GPL
Group: Development/Python
Url: http://yarnproject.org
BuildPreReq: python python-module-twisted python-dev python-module-setuptools
Requires: python python-module-twisted
%description
A Python/Twisted library for working with messages in many different formats and protocols, such as RSS and mail messages.
%prep
%setup -n yarn-%version-%release
%build
mkdir -p buildroot
# Unfortunately build and install steps should be done at once
# because otherwise .pyo files won't get into INSTALLED_FILES
# record
CFLAGS="%optflags" %__python setup.py \
install --optimize=2 \
--root=`pwd`/buildroot \
--record=INSTALLED_FILES
%install
mkdir %buildroot/
cp -pr buildroot/* %buildroot/
unset RPM_PYTHON
%files -f INSTALLED_FILES
%changelog
…
Full changelog you can see here