Name: python-buildbot Version: 0.6.2 Release: 0.fdr.1 Summary: build/test automation. Group: Applications/Internet License: GPL URL: http://buildbot.sourceforge.net/ Source: http://download.sourceforge.net/buildbot/buildbot-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python >= 2.2 BuildRequires: python-devel >= 2.2 Requires: python-twisted >= 1.2.0 Provides: buildbot = %{version}-%{release} %{!?python_sitearch: %define python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description The BuildBot is a system to automate the compile/test cycle required by most software projects to validate code changes. By automatically rebuilding and testing the tree each time something has changed, build problems are pinpointed quickly, before other developers are inconvenienced by the failure. The guilty developer can be identified and harassed without human intervention. By running the builds on a variety of platforms, developers who do not have the facilities to test their changes everywhere before checkin will at least know shortly afterwards whether they have broken the build or not. Warning counts, lint checks, image size, compile time, and other build parameters can be tracked over time, are more visible, and are therefore easier to improve. %prep %setup -q -n buildbot-%{version} %build CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install --skip-build --root $RPM_BUILD_ROOT find $RPM_BUILD_ROOT%{python_sitearch}/buildbot -type d \ | sed "s|^$RPM_BUILD_ROOT|%dir |" > %{name}-%{version}.files find $RPM_BUILD_ROOT%{python_sitearch}/buildbot -type f ! -name "*.pyo" \ | sed "s|^$RPM_BUILD_ROOT||" >> %{name}-%{version}.files find $RPM_BUILD_ROOT%{python_sitearch}/buildbot -type f -name "*.pyo" \ | sed "s|^$RPM_BUILD_ROOT|%ghost |" >> %{name}-%{version}.files %check || : %{?_with_tests:bin/trial --bwverbose buildbot.test} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}-%{version}.files %defattr(-,root,root,-) %doc ChangeLog NEWS README %{_bindir}/buildbot %changelog * Wed Feb 02 2005 Thomas Vander Stichele - update to latest release * Mon Dec 06 2004 Thomas Vander Stichele - initial package