Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > c5aa8a74520da79926dc5680abc0945c > files > 4

buildbot-0.8.7-3.mga3.src.rpm

Name:           buildbot
Version:        0.8.7
%define slaveversion 0.8.7
Release:        %mkrel 3
Summary:        Build/test automation system
Group:          Development/Python
License:        GPLv2+
URL:            http://buildbot.net
Source0:        http://buildbot.googlecode.com/files/%{name}-%{version}.tar.gz
Source1:        http://buildbot.googlecode.com/files/%{name}-slave-%{slaveversion}.tar.gz
Patch0:	        buildbot-req.patch
BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-setuptools
BuildRequires:  python-sphinx
BuildRequires:  texinfo
Requires:       %{name}-master >= %{version}
Requires:       %{name}-slave >= %{slaveversion}

%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.

%package        master
Summary:        buildbot master
Group:          Development/Python
Requires:       python-twisted >= 8.0.0
Requires:       python-twisted-web
Requires:       python-twisted-mail
Requires:       python-twisted-words
Requires:       python-twisted-conch
Requires:       python-jinja2 >= 2.1
Requires:       python-sqlalchemy
Requires:	python-sqlalchemy-migrate
Requires:       python-boto
Suggests:       %{name}-doc

%description    master
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. 
This package contains only the buildmaster implementation.
The buildbot-slave package contains the buildslave.

%package        slave
Version:        %{slaveversion}
Summary:        buildbot slave
Group:          Development/Python
Requires:       python-twisted >= 8.0.0
Requires:       python-jinja2 >= 2.1

%description    slave
This package contains only the buildslave implementation.
The buildbot-master package contains the buildmaster.

%package        doc
Group:          Development/Python
License:        GPLv2+
Summary:        BuildBot documentation
%description    doc
Buildbot documentation.

%prep
%setup -q -b 1 -n %{name}-slave-%{slaveversion}
%setup -q
%patch0 -p0

%build
%{__python} setup.py build

pushd docs
make docs.tgz
popd

pushd ../%{name}-slave-%{slaveversion}
%{__python} setup.py build
popd

%install
PYTHONDONTWRITEBYTECODE= %{__python} setup.py install -O1 --skip-build --root %{buildroot} 

mkdir -p %{buildroot}%{_datadir}/%{name}/ \
         %{buildroot}%{_mandir}/man1/ \
         %{buildroot}%{_docdir}/%{name}-%{version}

cp -R contrib %{buildroot}/%{_datadir}/%{name}/

# install the man page
cp docs/buildbot.1 %{buildroot}%{_mandir}/man1/buildbot.1

# install HTML documentation
tar xf docs/docs.tgz --strip-components=1 -C %{buildroot}%{_docdir}/%{name}-%{version}

# clean up Windows contribs.
sed -i 's/\r//' %{buildroot}/%{_datadir}/%{name}/contrib/windows/*
chmod -x %{buildroot}/%{_datadir}/%{name}/contrib/windows/*

# install slave
cd ../%{name}-slave-%{slaveversion}
PYTHONDONTWRITEBYTECODE= %{__python} setup.py install -O1 --skip-build --root %{buildroot} 

# fix script-without-shebang
sed -i '1i#!/usr/bin/python' %{buildroot}%{_datadir}/%{name}/contrib/bk_buildbot.py

%files

%files          master
%doc %{_mandir}/man1/buildbot.1.xz
%doc COPYING CREDITS NEWS README UPGRADING
%{_bindir}/buildbot
%{py_puresitedir}/buildbot
%{_datadir}/%{name}
%{py_puresitedir}/buildbot-*egg-info

%files          doc
%{_docdir}/%{name}-%{version}

%files          slave
%doc COPYING NEWS README UPGRADING
%{_bindir}/buildslave
%{py_puresitedir}/buildslave
%{py_puresitedir}/buildbot_slave-*egg-info


%changelog

* Fri Jan 11 2013 umeabot <umeabot> 0.8.7-3.mga3
+ Revision: 347220
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Sep 24 2012 fwang <fwang> 0.8.7-2.mga3
+ Revision: 296972
- correct list req

* Mon Sep 24 2012 fwang <fwang> 0.8.7-1.mga3
+ Revision: 296963
- new version 0.8.7

* Sat Sep 08 2012 philippem <philippem> 0.8.6p1-2.mga3
+ Revision: 290223
+ rebuild (emptylog)

* Tue Sep 04 2012 philippem <philippem> 0.8.6p1-1.mga3
+ Revision: 288103
- New upstream release

* Mon Oct 24 2011 philippem <philippem> 0.8.5-2.mga2
+ Revision: 157877
+ rebuild (emptylog)

* Mon Oct 24 2011 philippem <philippem> 0.8.5-1.mga2
+ Revision: 157742
- new upstream

* Tue Jul 12 2011 philippem <philippem> 0.8.4p1-3.mga2
+ Revision: 123055
+ rebuild (emptylog)

* Mon Jul 11 2011 philippem <philippem> 0.8.4p1-2.mga2
+ Revision: 122175
-fix require on python-sqlalchemy-migrate

* Mon Jul 04 2011 philippem <philippem> 0.8.4p1-1.mga2
+ Revision: 118139
- Update to 8.4
- add new requires (python-sqlalchemy)

* Sat Jun 11 2011 philippem <philippem> 0.8.3p1-1.mga2
+ Revision: 103857
-upstream update
-add master, slave and doc packages

* Thu Mar 17 2011 tv <tv> 0.8.0-3.mga1
+ Revision: 73377
- imported package buildbot