Репозитории ALT
5.1: | 1.0.0-alt1.b20.1 |
4.1: | 1.0.0-alt1.b20.1 |
4.0: | 1.0.0-alt1.b20 |
Группа :: Разработка/Python
Пакет: python-module-zc.buildout
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define version 1.0.0
%define subver b20
%define release alt1
%setup_python_module zc.buildout
Summary: The Buildout project provides support for creating Python applications.
Name: %packagename
Version: %version
%ifdef subver
Release: %release.%subver.1
Source0: %modulename-%version%subver.tar.bz2
%else
Release: %release.1
Source0: %modulename-%version.tar.bz2
%endif
License: ZPL
Group: Development/Python
Packager: Python Development Team <python at packages.altlinux.org>
BuildRequires: %py_dependencies setuptools
%description
The Buildout project provides support for creating applications,
especially Python applications. It provides tools for assembling
applications from multiple parts, Python or otherwise. An application
may actually contain multiple programs, processes, and configuration
settings.
%prep
%ifdef subver
%setup -q -n %modulename-%version%subver
%else
%setup -q -n %modulename-%version
%endif
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%python_module_declare %python_sitelibdir/zc
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%exclude %prefix/README.txt
%changelog
…
Полный changelog можно просмотреть здесь
%define subver b20
%define release alt1
%setup_python_module zc.buildout
Summary: The Buildout project provides support for creating Python applications.
Name: %packagename
Version: %version
%ifdef subver
Release: %release.%subver.1
Source0: %modulename-%version%subver.tar.bz2
%else
Release: %release.1
Source0: %modulename-%version.tar.bz2
%endif
License: ZPL
Group: Development/Python
Packager: Python Development Team <python at packages.altlinux.org>
BuildRequires: %py_dependencies setuptools
%description
The Buildout project provides support for creating applications,
especially Python applications. It provides tools for assembling
applications from multiple parts, Python or otherwise. An application
may actually contain multiple programs, processes, and configuration
settings.
%prep
%ifdef subver
%setup -q -n %modulename-%version%subver
%else
%setup -q -n %modulename-%version
%endif
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%python_module_declare %python_sitelibdir/zc
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
%files -f INSTALLED_FILES
%exclude %prefix/README.txt
%changelog
…
Полный changelog можно просмотреть здесь