|
|
54746db |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
mjk |
5b6c2b6 |
|
|
|
46e1bc8 |
%global do_tests 1
|
|
|
84255be |
|
|
|
4386b80 |
# The master and slave packages have (in theory) an independent versioning
|
|
|
4386b80 |
%global slaveversion %{version}
|
|
|
fcf0d8d |
|
|
mjk |
5b6c2b6 |
Name: buildbot
|
|
|
4386b80 |
Version: 0.8.6p1
|
|
|
4386b80 |
Release: 1%{?dist}
|
|
mjk |
5b6c2b6 |
|
|
|
84255be |
Summary: Build/test automation system
|
|
mjk |
5b6c2b6 |
Group: Development/Tools
|
|
|
df4ee33 |
License: GPLv2
|
|
|
8f02da6 |
URL: http://buildbot.net
|
|
|
84255be |
Source0: http://buildbot.googlecode.com/files/%{name}-%{version}.tar.gz
|
|
|
84255be |
Source1: http://buildbot.googlecode.com/files/%{name}-slave-%{slaveversion}.tar.gz
|
|
mjk |
5b6c2b6 |
|
|
mjk |
5b6c2b6 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
5029156 |
BuildArch: noarch
|
|
mjk |
5b6c2b6 |
|
|
mjk |
5b6c2b6 |
BuildRequires: python-devel
|
|
|
9b5dc7a |
BuildRequires: python-sphinx
|
|
mjk |
5b6c2b6 |
|
|
|
54746db |
# Needed for tests
|
|
|
fcf0d8d |
%if %do_tests
|
|
|
46e1bc8 |
BuildRequires: python-sqlalchemy
|
|
|
46e1bc8 |
BuildRequires: python-migrate
|
|
|
46e1bc8 |
BuildRequires: python-mock
|
|
|
54746db |
BuildRequires: python-twisted-core
|
|
|
54746db |
BuildRequires: python-twisted-web
|
|
|
54746db |
BuildRequires: python-twisted-mail
|
|
|
54746db |
BuildRequires: python-twisted-words
|
|
|
2224070 |
|
|
|
2224070 |
# Lately, bzr tests fail. I contacted upstream about the issue
|
|
|
2224070 |
# in the meanwhile they are disabled
|
|
|
46e1bc8 |
BuildRequires: bzr
|
|
|
54746db |
BuildRequires: cvs
|
|
|
54746db |
BuildRequires: git
|
|
|
54746db |
BuildRequires: mercurial
|
|
|
54746db |
BuildRequires: subversion
|
|
|
46e1bc8 |
|
|
|
3224b4a |
# darcs available on these archs only
|
|
|
46e1bc8 |
%ifarch %{ix86} x86_64 ppc alpha
|
|
|
46e1bc8 |
BuildRequires: darcs
|
|
|
46e1bc8 |
%endif
|
|
|
fcf0d8d |
%endif
|
|
|
54746db |
|
|
|
84255be |
# Turns former package into a metapackage for installing everything
|
|
|
84255be |
Requires: %{name}-master = %{version}
|
|
|
84255be |
Requires: %{name}-doc = %{version}
|
|
|
84255be |
Requires: %{name}-slave = %{slaveversion}
|
|
|
84255be |
|
|
|
84255be |
|
|
|
84255be |
%description
|
|
|
84255be |
The BuildBot is a system to automate the compile/test cycle required by
|
|
|
84255be |
most software projects to validate code changes. By automatically
|
|
|
84255be |
rebuilding and testing the tree each time something has changed, build
|
|
|
84255be |
problems are pinpointed quickly, before other developers are
|
|
|
84255be |
inconvenienced by the failure.
|
|
|
84255be |
|
|
|
84255be |
|
|
|
84255be |
%package master
|
|
|
84255be |
Summary: Build/test automation system
|
|
|
84255be |
Group: Development/Tools
|
|
|
84255be |
License: GPLv2
|
|
|
84255be |
|
|
|
df4ee33 |
Requires: python-twisted-core
|
|
|
df4ee33 |
Requires: python-twisted-web
|
|
|
df4ee33 |
Requires: python-twisted-mail
|
|
|
df4ee33 |
Requires: python-twisted-words
|
|
|
5029156 |
Requires: python-twisted-conch
|
|
|
5029156 |
Requires: python-boto
|
|
|
84255be |
Requires: python-jinja2
|
|
|
84255be |
Requires: python-sqlalchemy
|
|
|
84255be |
Requires: python-migrate
|
|
mjk |
5b6c2b6 |
|
|
|
7c9ed84 |
Requires(post): info
|
|
|
7c9ed84 |
Requires(preun): info
|
|
|
7c9ed84 |
|
|
|
55a3a46 |
|
|
|
84255be |
%description master
|
|
mjk |
5b6c2b6 |
The BuildBot is a system to automate the compile/test cycle required by
|
|
mjk |
5b6c2b6 |
most software projects to validate code changes. By automatically
|
|
mjk |
5b6c2b6 |
rebuilding and testing the tree each time something has changed, build
|
|
mjk |
5b6c2b6 |
problems are pinpointed quickly, before other developers are
|
|
mjk |
5b6c2b6 |
inconvenienced by the failure.
|
|
mjk |
5b6c2b6 |
|
|
|
84255be |
This package contains only the buildmaster implementation.
|
|
|
84255be |
The buildbot-slave package contains the buildslave.
|
|
|
84255be |
|
|
|
84255be |
|
|
|
84255be |
%package slave
|
|
|
84255be |
Version: %{slaveversion}
|
|
|
84255be |
Summary: Build/test automation system
|
|
|
84255be |
Group: Development/Tools
|
|
|
84255be |
License: GPLv2
|
|
|
84255be |
|
|
|
84255be |
%description slave
|
|
|
84255be |
This package contains only the buildslave implementation.
|
|
|
84255be |
The buildbot-master package contains the buildmaster.
|
|
|
84255be |
|
|
|
84255be |
|
|
|
84255be |
%package doc
|
|
|
84255be |
Summary: Buildbot documentation
|
|
|
84255be |
Group: Documentation
|
|
|
84255be |
|
|
|
84255be |
%description doc
|
|
|
84255be |
Buildbot documentation
|
|
|
84255be |
|
|
|
84255be |
|
|
mjk |
5b6c2b6 |
%prep
|
|
|
84255be |
%setup -q -b 1 -n %{name}-slave-%{slaveversion}
|
|
mjk |
5b6c2b6 |
%setup -q
|
|
mjk |
5b6c2b6 |
|
|
|
55a3a46 |
|
|
mjk |
5b6c2b6 |
%build
|
|
mjk |
5b6c2b6 |
%{__python} setup.py build
|
|
mjk |
5b6c2b6 |
|
|
|
84255be |
#TODO create API documentation
|
|
|
84255be |
pushd docs
|
|
|
9b5dc7a |
make docs.tgz
|
|
|
84255be |
popd
|
|
|
84255be |
|
|
|
84255be |
pushd ../%{name}-slave-%{slaveversion}
|
|
|
84255be |
%{__python} setup.py build
|
|
|
84255be |
popd
|
|
|
84255be |
|
|
|
84255be |
|
|
|
fcf0d8d |
%if %do_tests
|
|
|
54746db |
%check
|
|
|
55a3a46 |
trial buildbot.test
|
|
|
fcf0d8d |
%endif
|
|
|
54746db |
|
|
|
5029156 |
|
|
mjk |
5b6c2b6 |
%install
|
|
mjk |
5b6c2b6 |
rm -rf %{buildroot}
|
|
mjk |
5b6c2b6 |
|
|
mjk |
5b6c2b6 |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
mjk |
5b6c2b6 |
|
|
|
84255be |
mkdir -p %{buildroot}%{_datadir}/%{name}/ \
|
|
|
9b5dc7a |
%{buildroot}%{_mandir}/man1/ \
|
|
|
84255be |
%{buildroot}%{_docdir}/%{name}-%{version}
|
|
|
7c9ed84 |
|
|
mjk |
5b6c2b6 |
cp -R contrib %{buildroot}/%{_datadir}/%{name}/
|
|
|
84255be |
|
|
|
9b5dc7a |
# install the man page
|
|
|
9b5dc7a |
cp docs/buildbot.1 %{buildroot}%{_mandir}/man1/buildbot.1
|
|
mjk |
5b6c2b6 |
|
|
|
84255be |
# install HTML documentation
|
|
|
84255be |
tar xf docs/docs.tgz --strip-components=1 -C %{buildroot}%{_docdir}/%{name}-%{version}
|
|
|
84255be |
|
|
mjk |
5b6c2b6 |
# clean up Windows contribs.
|
|
mjk |
5b6c2b6 |
sed -i 's/\r//' %{buildroot}/%{_datadir}/%{name}/contrib/windows/*
|
|
mjk |
5b6c2b6 |
chmod -x %{buildroot}/%{_datadir}/%{name}/contrib/windows/*
|
|
mjk |
5b6c2b6 |
|
|
|
84255be |
# install slave files
|
|
|
84255be |
cd ../%{name}-slave-%{slaveversion}
|
|
|
84255be |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
df4ee33 |
|
|
|
84255be |
# fix rpmlint E: script-without-shebang
|
|
|
84255be |
sed -i '1i#!/usr/bin/python' %{buildroot}%{_datadir}/%{name}/contrib/bk_buildbot.py
|
|
|
5029156 |
|
|
|
5029156 |
|
|
mjk |
5b6c2b6 |
%clean
|
|
mjk |
5b6c2b6 |
rm -rf %{buildroot}
|
|
mjk |
5b6c2b6 |
|
|
mjk |
5b6c2b6 |
%files
|
|
|
84255be |
|
|
|
84255be |
%files master
|
|
mjk |
5b6c2b6 |
%defattr(-,root,root,-)
|
|
|
84255be |
%doc COPYING CREDITS NEWS README UPGRADING
|
|
|
9b5dc7a |
%doc %{_mandir}/man1/buildbot.1.gz
|
|
mjk |
5b6c2b6 |
%{_bindir}/buildbot
|
|
|
3224b4a |
%{python_sitelib}/buildbot
|
|
|
3224b4a |
%{python_sitelib}/buildbot-*egg-info
|
|
mjk |
5b6c2b6 |
%{_datadir}/%{name}
|
|
mjk |
5b6c2b6 |
|
|
|
84255be |
%files slave
|
|
|
84255be |
%doc COPYING NEWS README UPGRADING
|
|
|
84255be |
%defattr(-,root,root,-)
|
|
|
84255be |
%{_bindir}/buildslave
|
|
|
3224b4a |
%{python_sitelib}/buildslave
|
|
|
3224b4a |
%{python_sitelib}/buildbot_slave-*egg-info
|
|
|
84255be |
|
|
|
84255be |
%files doc
|
|
|
84255be |
%defattr(-,root,root,-)
|
|
|
84255be |
%{_docdir}/%{name}-%{version}
|
|
|
84255be |
|
|
|
84255be |
|
|
mjk |
5b6c2b6 |
%changelog
|
|
|
4386b80 |
* Thu Apr 05 2012 Gianluca Sforna <giallu@gmail.com> - 0.8.6p1-1
|
|
|
4386b80 |
- New upstream release
|
|
|
4386b80 |
|
|
|
3224b4a |
* Mon Mar 12 2012 Gianluca Sforna <giallu@gmail.com> - 0.8.6-2
|
|
|
46e1bc8 |
- New upstream release
|
|
|
46e1bc8 |
- Enable tests again
|
|
|
46e1bc8 |
- Don't test deprecated tla
|
|
|
3224b4a |
- Correctly populate -slave subpackage (#736875)
|
|
|
3224b4a |
- Fix fetching from git > 1.7.7 (#801209)
|
|
|
46e1bc8 |
|
|
|
da056eb |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.5p1-2
|
|
|
da056eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
da056eb |
|
|
|
9b5dc7a |
* Fri Dec 02 2011 Dan Radez <dan@radez.net> - 0.8.5p1-1
|
|
|
9b5dc7a |
- New Upstream Release
|
|
|
9b5dc7a |
- updated make for the docs
|
|
|
9b5dc7a |
- removed the buildbot.info refs added the man page
|
|
|
9b5dc7a |
|
|
|
9b37f87 |
* Wed Jun 22 2011 Gianluca Sforna <giallu@gmail.com> - 0.8.4p1-2
|
|
|
84255be |
- Upgrade to 0.8.x
|
|
|
84255be |
- Add -master and -slave subpackages
|
|
|
84255be |
- Split html docs in own package
|
|
|
84255be |
|
|
|
7c9ed84 |
* Mon May 30 2011 Gianluca Sforna <giallu@gmail.com> - 0.7.12-6
|
|
|
7c9ed84 |
- Properly install texinfo files #694199
|
|
|
7c9ed84 |
- Disable tests for now, need to investigate some failures
|
|
|
7c9ed84 |
|
|
|
bda0213 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.12-5
|
|
|
bda0213 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
bda0213 |
|
|
|
9a7d2dc |
* Sat Jul 31 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.7.12-4
|
|
|
9a7d2dc |
- Rebuild for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
9a7d2dc |
|
|
|
5029156 |
* Thu Jul 22 2010 Gianluca Sforna <giallu gmail com> - 0.7.12-3
|
|
|
5029156 |
- Remove BR:bazaar (fixes FTBS)
|
|
|
5029156 |
|
|
|
3806fd9 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.7.12-2
|
|
|
3806fd9 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
3806fd9 |
|
|
|
5029156 |
* Sun Feb 7 2010 Gianluca Sforna <giallu gmail com>
|
|
|
5029156 |
- Require python-boto for EC2 support
|
|
|
5029156 |
- Require python-twisted-conch for manhole support
|
|
|
5029156 |
- Silence rpmlint
|
|
|
5029156 |
|
|
|
7ceb97b |
* Fri Jan 22 2010 Gianluca Sforna <giallu gmail com> - 0.7.12-1
|
|
|
7ceb97b |
- New upstream release
|
|
|
7ceb97b |
|
|
|
4e9dbda |
* Thu Aug 17 2009 Steve 'Ashcrow' Milner <stevem@gnulinux.net> - 0.7.11p3-1
|
|
|
4e9dbda |
- Update for another XSS vuln from upstream
|
|
|
4e9dbda |
|
|
|
8f9ab0c |
* Thu Aug 13 2009 Steve 'Ashcrow' Milner <stevem@gnulinux.net> - 0.7.11p2-1
|
|
|
8f9ab0c |
- Update for XSS vuln from upstream
|
|
|
8f9ab0c |
|
|
|
88bbe3f |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.11p1-2
|
|
|
88bbe3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
88bbe3f |
|
|
|
3108a50 |
* Fri Jul 17 2009 Gianluca Sforna <giallu gmail com> - 0.7.11p1-1
|
|
|
fcf0d8d |
- New upstream release
|
|
|
fcf0d8d |
- Change Source0 URI
|
|
|
fcf0d8d |
- Make tests optional
|
|
|
fcf0d8d |
|
|
|
985fb45 |
* Tue Mar 3 2009 Gianluca Sforna <giallu gmail com> - 0.7.10p1-2
|
|
|
55a3a46 |
- New upstream release
|
|
|
985fb45 |
- darcs only avaliable on ix86 platforms
|
|
|
55a3a46 |
|
|
|
54746db |
* Thu Feb 26 2009 Gianluca Sforna <giallu gmail com> - 0.7.10-1
|
|
|
54746db |
- New upstream release
|
|
|
54746db |
- Drop upstreamed patch
|
|
|
54746db |
- Add %%check section and needed BR
|
|
|
54746db |
|
|
|
512ade3 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.7-4
|
|
|
512ade3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
512ade3 |
|
|
|
eb50585 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.7.7-3
|
|
|
eb50585 |
- Rebuild for Python 2.6
|
|
|
eb50585 |
|
|
|
db2e279 |
* Thu Apr 3 2008 Gianluca Sforna <giallu gmail com> - 0.7.7-2
|
|
|
db2e279 |
- Fix upgrade path
|
|
|
db2e279 |
|
|
|
488e3a5 |
* Mon Mar 31 2008 Gianluca Sforna <giallu gmail com> - 0.7.7-1
|
|
|
488e3a5 |
- new upstream release
|
|
|
488e3a5 |
|
|
|
0125e4c |
* Thu Jan 3 2008 Gianluca Sforna <giallu gmail com> - 0.7.6-2
|
|
|
0125e4c |
- pick up new .egg file
|
|
|
0125e4c |
|
|
|
df4ee33 |
* Mon Oct 15 2007 Gianluca Sforna <giallu gmail com> - 0.7.6-1
|
|
|
df4ee33 |
- new upstream release
|
|
|
df4ee33 |
- refreshed Patch0
|
|
|
df4ee33 |
- requires clean up
|
|
|
df4ee33 |
- License tag update (GPLv2)
|
|
|
df4ee33 |
|
|
|
df4ee33 |
* Sat Mar 17 2007 Gianluca Sforna <giallu gmail com>
|
|
|
df4ee33 |
- Silence rpmlint
|
|
|
df4ee33 |
|
|
|
d31fee7 |
* Thu Mar 01 2007 Gianluca Sforna <giallu gmail com> - 0.7.5-1
|
|
|
8f02da6 |
- new upstream release
|
|
|
8f02da6 |
- minor spec tweaks
|
|
|
df4ee33 |
- Removed (unmantained and orphaned) python-cvstoys Require
|
|
|
8f02da6 |
|
|
mjk |
5b6c2b6 |
* Sat Sep 09 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.7.4-2
|
|
mjk |
5b6c2b6 |
- cleanup %%files
|
|
mjk |
5b6c2b6 |
|
|
mjk |
5b6c2b6 |
* Fri Sep 08 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.7.4-1
|
|
mjk |
5b6c2b6 |
- Upstream update
|
|
mjk |
5b6c2b6 |
- don't ghost pyo files
|
|
mjk |
5b6c2b6 |
|
|
mjk |
5b6c2b6 |
* Fri Jul 28 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.7.3-3
|
|
|
84255be |
- move contribs to %%{_datadir}/%%{name}
|
|
mjk |
5b6c2b6 |
|
|
mjk |
5b6c2b6 |
* Fri Jul 07 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.7.3-2
|
|
mjk |
5b6c2b6 |
- fixes for review
|
|
mjk |
5b6c2b6 |
- added patch to remove #! where its not needed (shutup rpmlint)
|
|
mjk |
5b6c2b6 |
|
|
mjk |
5b6c2b6 |
* Sun Jun 02 2006 Michael J. Knox <michael[AT]knox.net.nz> - 0.7.3-1
|
|
mjk |
5b6c2b6 |
- Inital build for FE
|