Package buildbot: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 | %def_disable check Name: buildbot Version: 2.1.0 Release: alt1 Summary: Python-based continuous integration testing framework Group: Development/Python License: GPLv2+ Url: https://buildbot.net # https://github.com/buildbot/buildbot Source: %name-%version.tar Source1: buildbot_www-%version-py3-none-any.whl Source2: buildbot_console_view-%version-py3-none-any.whl Source3: buildbot_grid_view-%version-py3-none-any.whl Source4: buildbot_waterfall_view-%version-py3-none-any.whl Patch0: %name-%version-%release.patch BuildArch: noarch BuildRequires(pre): rpm-build-python3 %if_enabled check BuildRequires: python3-module-twisted-core-test BuildRequires: python3-module-service-identity BuildRequires: python3-module-mock BuildRequires: python3-module-autobahn BuildRequires: python3-module-jwt BuildRequires: python3-module-migrate BuildRequires: python3(future) python3(dateutil) python3(yaml) python3(treq) BuildRequires: /dev/pts openssh-clients %endif Requires: python3-module-service-identity ############################################################################### # Skip win requires ############################################################################### %filter_from_requires /python3(pywintypes)/d %filter_from_requires /python3(win32api)/d %filter_from_requires /python3(win32con)/d %filter_from_requires /python3(win32event)/d %filter_from_requires /python3(win32file)/d %filter_from_requires /python3(win32pipe)/d %filter_from_requires /python3(win32process)/d %filter_from_requires /python3(win32security)/d %filter_from_requires /python3(win32service)/d %filter_from_requires /python3(win32serviceutil)/d %filter_from_requires /python3(winerror)/d ############################################################################### # Main Package ############################################################################### %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 buildbot-worker ############################################################################### %package worker Group: Development/Python Summary: Buildbot worker implementation Requires: git-core %description worker %summary. ############################################################################### # Package python3-module-buildbot-www ############################################################################### %package -n python3-module-buildbot-www Group: Development/Python Summary: Buildboot web UI as python3 module %description -n python3-module-buildbot-www %summary. ############################################################################### # Package buildbot-www ############################################################################### # Need to create dummy package due to sisyphus_check limitations %package www Group: Development/Python Summary: Buildbot web UI Requires: python3-module-buildbot-www = %EVR %description www %summary. ############################################################################### # Build and Install ############################################################################### %prep %setup %patch0 -p1 %build for name in master worker; do pushd "$name" %python3_build_debug popd done %install pushd master %python3_install install -Dm 0644 docs/buildbot.1 %buildroot/%_man1dir/buildbot.1 popd pushd worker %python3_install install -Dm 0644 docs/buildbot-worker.1 %buildroot/%_man1dir/buildbot-worker.1 popd python3 -mzipfile -e %SOURCE1 %buildroot/%python3_sitelibdir python3 -mzipfile -e %SOURCE2 %buildroot/%python3_sitelibdir python3 -mzipfile -e %SOURCE3 %buildroot/%python3_sitelibdir python3 -mzipfile -e %SOURCE4 %buildroot/%python3_sitelibdir rm %buildroot%_bindir/buildbot_windows_service rm %buildroot%_bindir/buildbot_worker_windows_service ############################################################################### # Check ############################################################################### %check export PYTHONPATH=%buildroot%python3_sitelibdir trial.py3 -e buildbot.test trial.py3 -e buildbot_worker.test ############################################################################### # Files ############################################################################### %files -n python3-module-buildbot-www %python3_sitelibdir/buildbot_www %python3_sitelibdir/buildbot_www-*.dist-info %python3_sitelibdir/buildbot_console_view %python3_sitelibdir/buildbot_console_view-*.dist-info %python3_sitelibdir/buildbot_grid_view %python3_sitelibdir/buildbot_grid_view-*.dist-info %python3_sitelibdir/buildbot_waterfall_view %python3_sitelibdir/buildbot_waterfall_view-*.dist-info %files www %files worker %doc worker/docs %_man1dir/buildbot-worker.1.* %_bindir/buildbot-worker %python3_sitelibdir/buildbot_worker %python3_sitelibdir/buildbot_worker-*.egg-info %files %doc README.rst master/docs %_man1dir/buildbot.1.* %_bindir/buildbot %python3_sitelibdir/buildbot %python3_sitelibdir/buildbot-*.egg-info %changelog * Tue Jan 29 2019 Mikhail Gordeev <obirvalger@altlinux.org> 2.1.0-alt1 - update to 2.1.0 * Tue Jan 29 2019 Mikhail Gordeev <obirvalger@altlinux.org> 1.8.0-alt1 - update to 1.8.0 * Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.7.12-alt2.1 - Rebuild with Python-2.7 * Mon May 30 2011 Alexey Shabalin <shaba@altlinux.ru> 0.7.12-alt2 - add contrib to skip list * Sat Feb 06 2010 Boris Savelev <boris@altlinux.org> 0.7.12-alt1 - new version * Thu Nov 26 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.7.11p3-alt2.1 - Rebuilt with python 2.6 * Fri Nov 13 2009 Boris Savelev <boris@altlinux.org> 0.7.11p3-alt2 - move contrib to subpackage (closes: #22277) * Mon Oct 12 2009 Boris Savelev <boris@altlinux.org> 0.7.11p3-alt1 - new version * Thu Oct 01 2009 Boris Savelev <boris@altlinux.org> 0.7.10p1-alt1 - initial build for Sisyphus * Thu Sep 10 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.7.10p1-2mdv2010.0 + Revision: 436903 - rebuild * Thu Mar 05 2009 Jérôme Soyer <saispo@mandriva.org> 0.7.10p1-1mdv2009.1 + Revision: 348914 - New upstream release * Sun Dec 28 2008 Funda Wang <fundawang@mandriva.org> 0.7.9-1mdv2009.1 + Revision: 320366 - New version 0.7.9 * Mon Aug 11 2008 Jérôme Soyer <saispo@mandriva.org> 0.7.8-1mdv2009.0 + Revision: 270612 - New release 0.7.8 * Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.7.7-2mdv2009.0 + Revision: 266429 - rebuild early 2009.0 package (before pixel changes) * Thu Apr 17 2008 Funda Wang <fundawang@mandriva.org> 0.7.7-1mdv2009.0 + Revision: 195060 - New version 0.7.7 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Tue Oct 09 2007 Jérôme Soyer <saispo@mandriva.org> 0.7.6-1mdv2008.1 + Revision: 95946 - New release 0.7.6 - New release 0.7.6 * Thu Sep 27 2007 Anne Nicolas <anne.nicolas@mandriva.com> 0.7.5-3mdv2008.0 + Revision: 93423 - bump release to reupload * Wed Jun 06 2007 Jérôme Soyer <saispo@mandriva.org> 0.7.5-2mdv2008.0 + Revision: 36098 - Fix %%mkrel number - Bump release for rebuild - Remove noarch - Fix 64bits Build - Fix RPM Group - Import buildbot |