Группа :: Development/Python3
Пакет: python3-module-flup
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oname flup
%define version 1.0.3
%define release alt3
%define subrel hg20120223
Summary: Random assortment of WSGI servers, middleware
Name: python3-module-%oname
Version: %version
Release: alt3.hg20120223.1.2
# http://hg.saddi.com/flup-server
Source0: %oname.tar.bz2
License: BSD
Group: Development/Python3
URL: http://www.saddi.com/software/flup/
BuildArch: noarch
#BuildPreReq: python-module-setuptools python-module-sphinx-devel
BuildRequires(pre): rpm-build-python3
BuildRequires(pre): rpm-macros-sphinx3
BuildRequires: python3-module-sphinx
BuildRequires: /usr/bin/2to3
%description
Random assortment of WSGI servers, middleware
%package docs
Summary: Documentation for flup
Group: Development/Documentation
BuildArch: noarch
%description docs
Random assortment of WSGI servers, middleware
This package contains documentation for flup.
%package pickles
Summary: Pickles for flup
Group: Development/Documentation
BuildArch: noarch
%description pickles
Random assortment of WSGI servers, middleware
This package contains pickles for flup.
%prep
%setup
%prepare_sphinx3 docs/source
%build
find -type f -name '*.py' -exec 2to3 -w '{}' +
%python3_build
#docs
%make SPHINXBUILD="sphinx-build-3" -C docs pickle
%make SPHINXBUILD="sphinx-build-3" -C docs html
%install
%python3_install
#docs
cp -fR docs/build/pickle %buildroot%python3_sitelibdir_noarch/%oname/
%files docs
%doc docs/build/html
%files pickles
%python3_sitelibdir_noarch/%oname/pickle
%files
%python3_sitelibdir_noarch/*
%exclude %python3_sitelibdir_noarch/%oname/pickle
%changelog
…
Полный changelog можно просмотреть здесь
%define version 1.0.3
%define release alt3
%define subrel hg20120223
Summary: Random assortment of WSGI servers, middleware
Name: python3-module-%oname
Version: %version
Release: alt3.hg20120223.1.2
# http://hg.saddi.com/flup-server
Source0: %oname.tar.bz2
License: BSD
Group: Development/Python3
URL: http://www.saddi.com/software/flup/
BuildArch: noarch
#BuildPreReq: python-module-setuptools python-module-sphinx-devel
BuildRequires(pre): rpm-build-python3
BuildRequires(pre): rpm-macros-sphinx3
BuildRequires: python3-module-sphinx
BuildRequires: /usr/bin/2to3
%description
Random assortment of WSGI servers, middleware
%package docs
Summary: Documentation for flup
Group: Development/Documentation
BuildArch: noarch
%description docs
Random assortment of WSGI servers, middleware
This package contains documentation for flup.
%package pickles
Summary: Pickles for flup
Group: Development/Documentation
BuildArch: noarch
%description pickles
Random assortment of WSGI servers, middleware
This package contains pickles for flup.
%prep
%setup
%prepare_sphinx3 docs/source
%build
find -type f -name '*.py' -exec 2to3 -w '{}' +
%python3_build
#docs
%make SPHINXBUILD="sphinx-build-3" -C docs pickle
%make SPHINXBUILD="sphinx-build-3" -C docs html
%install
%python3_install
#docs
cp -fR docs/build/pickle %buildroot%python3_sitelibdir_noarch/%oname/
%files docs
%doc docs/build/html
%files pickles
%python3_sitelibdir_noarch/%oname/pickle
%files
%python3_sitelibdir_noarch/*
%exclude %python3_sitelibdir_noarch/%oname/pickle
%changelog
…
Полный changelog можно просмотреть здесь