Группа :: Разработка/Python
Пакет: python-module-bitten
Главная Изменения Спек Патчи Загрузить Bugs and FR
%def_with M24
%if_with M24
%define release alt0.M24.1
%else
%define release alt1
%endif
%define version 0.5.3
%setup_python_module bitten
Name: %packagename
Version: %version
Release: %release
Packager: Grigory Batalov <bga at altlinux.ru>
Summary: Distributed continuous integration system
License: BSD
Group: Development/Python
Url: http://bitten.cmlenz.net/
Source: http://heanet.dl.sourceforge.net/sourceforge/%modulename/Bitten-%version.tar.bz2
Patch0: bitten-0.5-alt-unzip.patch
BuildArch: noarch
BuildPreReq: rpm-build-python >= 0.27
BuildRequires: python-module-setuptools
Requires: trac >= 0.9.3
Requires: python-module-setuptools
Requires: python%__python_version(bz2)
%description
Bitten is a simple distributed continuous integration system that not only
coordinates builds across multiple machines, but also collects software
metrics generated by builds, to enable feedback and reporting about
the progress of a software project.
It builds on Trac to provide an integrated web-based user interface.
%prep
%setup -q -n Bitten-%version
%patch0 -p0
%build
%__python setup.py build
%install
mkdir -p %buildroot%python_sitelibdir
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
echo Bitten-%version-py%__python_version.egg > %buildroot%python_sitelibdir/%modulename.pth
# workaround for failed test install
install -d -m755 $RPM_BUILD_ROOT%python_sitelibdir/Bitten-%version-py%__python_version.egg/bitten/trac_ext/tests
install -m 644 -D bitten/trac_ext/tests/* \
$RPM_BUILD_ROOT%python_sitelibdir/Bitten-%version-py%__python_version.egg/bitten/trac_ext/tests/
find %buildroot%python_sitelibdir/Bitten-%version-py%__python_version.egg -type d | \
sed -e "s,^%buildroot,%dir ,g" >> INSTALLED_FILES
%files -f INSTALLED_FILES
%doc COPYING ChangeLog README.txt
%python_sitelibdir/%modulename.pth
%python_sitelibdir/Bitten-%version-py%__python_version.egg/bitten/trac_ext/tests/*
%changelog
…
Полный changelog можно просмотреть здесь
%if_with M24
%define release alt0.M24.1
%else
%define release alt1
%endif
%define version 0.5.3
%setup_python_module bitten
Name: %packagename
Version: %version
Release: %release
Packager: Grigory Batalov <bga at altlinux.ru>
Summary: Distributed continuous integration system
License: BSD
Group: Development/Python
Url: http://bitten.cmlenz.net/
Source: http://heanet.dl.sourceforge.net/sourceforge/%modulename/Bitten-%version.tar.bz2
Patch0: bitten-0.5-alt-unzip.patch
BuildArch: noarch
BuildPreReq: rpm-build-python >= 0.27
BuildRequires: python-module-setuptools
Requires: trac >= 0.9.3
Requires: python-module-setuptools
Requires: python%__python_version(bz2)
%description
Bitten is a simple distributed continuous integration system that not only
coordinates builds across multiple machines, but also collects software
metrics generated by builds, to enable feedback and reporting about
the progress of a software project.
It builds on Trac to provide an integrated web-based user interface.
%prep
%setup -q -n Bitten-%version
%patch0 -p0
%build
%__python setup.py build
%install
mkdir -p %buildroot%python_sitelibdir
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
echo Bitten-%version-py%__python_version.egg > %buildroot%python_sitelibdir/%modulename.pth
# workaround for failed test install
install -d -m755 $RPM_BUILD_ROOT%python_sitelibdir/Bitten-%version-py%__python_version.egg/bitten/trac_ext/tests
install -m 644 -D bitten/trac_ext/tests/* \
$RPM_BUILD_ROOT%python_sitelibdir/Bitten-%version-py%__python_version.egg/bitten/trac_ext/tests/
find %buildroot%python_sitelibdir/Bitten-%version-py%__python_version.egg -type d | \
sed -e "s,^%buildroot,%dir ,g" >> INSTALLED_FILES
%files -f INSTALLED_FILES
%doc COPYING ChangeLog README.txt
%python_sitelibdir/%modulename.pth
%python_sitelibdir/Bitten-%version-py%__python_version.egg/bitten/trac_ext/tests/*
%changelog
…
Полный changelog можно просмотреть здесь