| |
@@ -16,6 +16,17 @@
|
| |
URL: https://buildbot.net
|
| |
Source0: %{pypi_source buildbot}
|
| |
Source1: %{pypi_source buildbot-worker}
|
| |
+ Source2: https://files.pythonhosted.org/packages/1f/aa/66fcc2ce560759bab61cdbaa04ab2bfd58b7d0afb5bbd6a08d1785e1dd13/%{name}_www-%{version}-py2.py3-none-any.whl
|
| |
+ Source3: https://files.pythonhosted.org/packages/aa/19/a4a8f19b0256811a9e91c2c6f8827aac37617ad00da2189b5ad1cb45fd48/%{name}_waterfall_view-%{version}-py2.py3-none-any.whl
|
| |
+ Source4: https://files.pythonhosted.org/packages/34/b7/28509b4f5183d454f0099c6b2ee4161b0d49208a2231657fa1633f4b6e10/%{name}_grid_view-%{version}-py2.py3-none-any.whl
|
| |
+ Source5: https://files.pythonhosted.org/packages/f3/f4/8531190f8ad2c11c978e43994b7138dedd8ff4b8163a4b4e8745e4e3bed9/%{name}_console_view-%{version}-py2.py3-none-any.whl
|
| |
+
|
| |
+ # To get latest sources for buildbot-www
|
| |
+ # export VERSION=1.6.0;
|
| |
+ # for PROJECT in buildbot-www buildbot-waterfall-view buildbot-grid-view buildbot-console-view; do
|
| |
+ # curl -s "https://pypi.org/pypi/$PROJECT/$VERSION/json" \
|
| |
+ # | jq -r ".releases | .\"$VERSION\" | .[] | select(.packagetype == \"bdist_wheel\") | .url"
|
| |
+ # done
|
| |
|
| |
BuildArch: noarch
|
| |
|
| |
@@ -109,6 +120,31 @@
|
| |
This package contains only the buildworker implementation.
|
| |
The buildbot-master package contains the buildmaster.
|
| |
|
| |
+ %package www
|
| |
+ Summary: Build/test automation system
|
| |
+
|
| |
+ # Script to get bundled js
|
| |
+ # cat \
|
| |
+ # ./www/codeparameter/package.json \
|
| |
+ # ./www/console_view/package.json \
|
| |
+ # ./www/base/package.json \
|
| |
+ # ./www/waterfall_view/package.json \
|
| |
+ # ./www/data_module/package.json \
|
| |
+ # ./www/grid_view/package.json \
|
| |
+ # | jq '.dependencies' | sed 's/[{}, ]//g' | sort -u
|
| |
+
|
| |
+ Provides: bundled(guanlecoja) = 0.8.0
|
| |
+ Provides: bundled(guanlecoja) = 0.8.3
|
| |
+ Provides: bundled(gulp) = 3.9.0
|
| |
+ Provides: bundled(gulp) = 3.9.1
|
| |
+ Provides: bundled(gulp-shell) = 0.4.1
|
| |
+ Provides: bundled(http-proxy) = 1.11.1
|
| |
+ Provides: bundled(minimist) = 1.1.1
|
| |
+ Provides: bundled(shelljs) = 0.5.3
|
| |
+
|
| |
+ %description www
|
| |
+ Provides web frontend for buildbot.
|
| |
+
|
| |
%if %{with docs}
|
| |
%package doc
|
| |
Summary: Buildbot documentation
|
| |
@@ -118,7 +154,7 @@
|
| |
%endif
|
| |
|
| |
%prep
|
| |
- %autosetup -p1 -a1
|
| |
+ %setup -q -b0 -b1 -b2 -b3 -b4 -b5
|
| |
|
| |
%build
|
| |
%py3_build
|
| |
@@ -130,13 +166,31 @@
|
| |
popd
|
| |
%endif
|
| |
|
| |
- pushd %{name}-worker-%{version}
|
| |
+ pushd ../%{name}-worker-%{version}
|
| |
%py3_build
|
| |
popd
|
| |
|
| |
|
| |
%install
|
| |
%py3_install
|
| |
+
|
| |
+ # unpack wheel -www packages
|
| |
+ pushd ..
|
| |
+
|
| |
+ cp -R %{name}_www %{buildroot}/%{python3_sitelib}/
|
| |
+ cp -R %{name}_www-%{version}.dist-info %{buildroot}/%{python3_sitelib}/
|
| |
+
|
| |
+ cp -R %{name}_waterfall_view %{buildroot}/%{python3_sitelib}/
|
| |
+ cp -R %{name}_waterfall_view-%{version}.dist-info %{buildroot}/%{python3_sitelib}/
|
| |
+
|
| |
+ cp -R %{name}_grid_view %{buildroot}/%{python3_sitelib}/
|
| |
+ cp -R %{name}_grid_view-%{version}.dist-info %{buildroot}/%{python3_sitelib}/
|
| |
+
|
| |
+ cp -R %{name}_console_view %{buildroot}/%{python3_sitelib}/
|
| |
+ cp -R %{name}_console_view-%{version}.dist-info %{buildroot}/%{python3_sitelib}/
|
| |
+
|
| |
+ popd
|
| |
+
|
| |
install -Dpm0644 -t %{buildroot}%{_mandir}/man1 docs/buildbot.1
|
| |
|
| |
%if %{with docs}
|
| |
@@ -145,7 +199,7 @@
|
| |
%endif
|
| |
|
| |
# install worker files
|
| |
- pushd %{name}-worker-%{version}
|
| |
+ pushd ../%{name}-worker-%{version}
|
| |
%py3_install
|
| |
install -Dpm0644 -t %{buildroot}%{_mandir}/man1 docs/buildbot-worker.1
|
| |
popd
|
| |
@@ -168,7 +222,6 @@
|
| |
%{_mandir}/man1/buildbot.1*
|
| |
%{python3_sitelib}/buildbot/
|
| |
%{python3_sitelib}/buildbot-*egg-info/
|
| |
- %{_datadir}/%{name}
|
| |
|
| |
%files worker
|
| |
%doc NEWS UPGRADING
|
| |
@@ -178,6 +231,16 @@
|
| |
%{python3_sitelib}/buildbot_worker/
|
| |
%{python3_sitelib}/buildbot_worker-*egg-info/
|
| |
|
| |
+ %files www
|
| |
+ %{python3_sitelib}/buildbot_www/
|
| |
+ %{python3_sitelib}/buildbot_www-%{version}.dist-info/
|
| |
+ %{python3_sitelib}/buildbot_waterfall_view/
|
| |
+ %{python3_sitelib}/buildbot_waterfall_view-%{version}.dist-info/
|
| |
+ %{python3_sitelib}/buildbot_grid_view/
|
| |
+ %{python3_sitelib}/buildbot_grid_view-%{version}.dist-info/
|
| |
+ %{python3_sitelib}/buildbot_console_view/
|
| |
+ %{python3_sitelib}/buildbot_console_view-%{version}.dist-info/
|
| |
+
|
| |
%if %{with docs}
|
| |
%files doc
|
| |
%{_pkgdocdir}/
|
| |
@@ -327,7 +390,7 @@
|
| |
|
| |
* Tue Mar 3 2009 Gianluca Sforna <giallu gmail com> - 0.7.10p1-2
|
| |
- New upstream release
|
| |
- - darcs only avaliable on ix86 platforms
|
| |
+ - darcs only avaliable on ix86 platforms
|
| |
|
| |
* Thu Feb 26 2009 Gianluca Sforna <giallu gmail com> - 0.7.10-1
|
| |
- New upstream release
|
| |
@@ -347,7 +410,7 @@
|
| |
- new upstream release
|
| |
|
| |
* Thu Jan 3 2008 Gianluca Sforna <giallu gmail com> - 0.7.6-2
|
| |
- - pick up new .egg file
|
| |
+ - pick up new .egg file
|
| |
|
| |
* Mon Oct 15 2007 Gianluca Sforna <giallu gmail com> - 0.7.6-1
|
| |
- new upstream release
|
| |
Adds buildbot's web frontend which is missing in Fedora package. There is bunch of bundled javascript, but it looks like it's allowed as per Fedora wiki/Node.js [0]
Having frontend packaged would result in working buildbot with web UI (so one can use example.cfg to get it working).
I wasn't able to find short urls for whl files on pythonhosted, but if there are such, it would be better to use them for sure.
[0] https://fedoraproject.org/wiki/Packaging:Node.js?rd=Node.js/#Client-side_JavaScript