%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: buildbot Version: 0.7.7 Release: 2%{?dist} Summary: Build/test automation system Group: Development/Tools License: GPLv2 URL: http://buildbot.net Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch0: %{name}-no-shebang.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-devel Requires: python-twisted-core Requires: python-twisted-web Requires: python-twisted-mail Requires: python-twisted-words BuildArch: noarch %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. %prep %setup -q %patch0 -p1 %build %{__python} setup.py build %install rm -rf %{buildroot} %{__python} setup.py install -O1 --skip-build --root %{buildroot} mkdir -p %{buildroot}/%{_datadir}/%{name}/ cp -R contrib %{buildroot}/%{_datadir}/%{name}/ # clean up Windows contribs. sed -i 's/\r//' %{buildroot}/%{_datadir}/%{name}/contrib/windows/* chmod -x %{buildroot}/%{_datadir}/%{name}/contrib/windows/* # Fix rpmlint error (non-executable-script) chmod +x %{buildroot}%{python_sitelib}/buildbot/test/subdir/emit.py %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc ChangeLog NEWS README docs %{_bindir}/buildbot %{python_sitelib}/* %{_datadir}/%{name} %changelog * Wed Apr 2 2008 Gianluca Sforna - 0.7.7-2 - refreshed Patch0 * Mon Mar 31 2008 Gianluca Sforna - 0.7.7-1 - new upstream release * Mon Oct 15 2007 Gianluca Sforna - 0.7.6-1 - new upstream release - refreshed Patch0 - requires clean up - License tag update (GPLv2) * Sat Mar 17 2007 Gianluca Sforna - Silence rpmlint * Thu Mar 01 2007 Gianluca Sforna - 0.7.5-1 - new upstream release - minor spec tweaks - Removed (unmantained and orphaned) python-cvstoys Require * Sat Sep 09 2006 Michael J. Knox - 0.7.4-2 - cleanup %%files * Fri Sep 08 2006 Michael J. Knox - 0.7.4-1 - Upstream update - don't ghost pyo files * Fri Jul 28 2006 Michael J. Knox - 0.7.3-3 - move contribs to %%{_datadir}/%{name} * Fri Jul 07 2006 Michael J. Knox - 0.7.3-2 - fixes for review - added patch to remove #! where its not needed (shutup rpmlint) * Sun Jun 02 2006 Michael J. Knox - 0.7.3-1 - Inital build for FE