Package python-module-Zope2: 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 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 | %define oname Zope2 #def_disable check Name: python-module-%oname Version: 4.0 Release: alt5.a1.dev.git20150806 Summary: Zope2 application server / web framework License: ZPLv2.1 Group: Development/Python Url: http://pypi.python.org/pypi/Zope2/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # https://github.com/zopefoundation/Zope.git Source: %name-%version.tar # http://cvs.zope.org/*checkout*/Python-2.2.3/Lib/regsub.py?rev=1.1.1.1&cvsroot=Zope.org&sortby=author&content-type=text/plain Source1: regsub.py BuildPreReq: python-devel python-module-setuptools-tests BuildPreReq: python-module-sphinx-devel BuildPreReq: python-module-AccessControl BuildPreReq: python-module-Acquisition BuildPreReq: python-module-DateTime BuildPreReq: python-module-DocumentTemplate BuildPreReq: python-module-ExtensionClass BuildPreReq: python-module-Missing BuildPreReq: python-module-MultiMapping BuildPreReq: python-module-Persistence BuildPreReq: python-module-Products.OFSP BuildPreReq: python-module-Products.ZCatalog BuildPreReq: python-module-Products.ZCTextIndex BuildPreReq: python-module-Record BuildPreReq: python-module-RestrictedPython BuildPreReq: python-module-zconfig BuildPreReq: python-module-ZODB3 BuildPreReq: python-module-ZopeUndo BuildPreReq: python-module-docutils BuildPreReq: python-module-initgroups BuildPreReq: python-module-pytz BuildPreReq: python-module-tempstorage BuildPreReq: python-module-transaction BuildPreReq: python-module-zdaemon BuildPreReq: python-module-zExceptions BuildPreReq: python-module-zLOG BuildPreReq: python-module-zope.browser BuildPreReq: python-module-zope.browsermenu BuildPreReq: python-module-zope.browserpage BuildPreReq: python-module-zope.browserresource BuildPreReq: python-module-zope.configuration BuildPreReq: python-module-zope.container BuildPreReq: python-module-zope.contentprovider BuildPreReq: python-module-zope.contenttype BuildPreReq: python-module-zope.deferredimport BuildPreReq: python-module-zope.event BuildPreReq: python-module-zope.exceptions BuildPreReq: python-module-zope.i18n BuildPreReq: python-module-zope.i18nmessageid BuildPreReq: python-module-zope.lifecycleevent BuildPreReq: python-module-zope.location BuildPreReq: python-module-zope.pagetemplate BuildPreReq: python-module-zope.processlifetime BuildPreReq: python-module-zope.proxy BuildPreReq: python-module-zope.ptresource BuildPreReq: python-module-zope.publisher BuildPreReq: python-module-zope.schema BuildPreReq: python-module-zope.security BuildPreReq: python-module-zope.sendmail BuildPreReq: python-module-zope.sequencesort BuildPreReq: python-module-zope.site BuildPreReq: python-module-zope.size BuildPreReq: python-module-zope.structuredtext BuildPreReq: python-module-zope.tal BuildPreReq: python-module-zope.tales BuildPreReq: python-module-zope.testbrowser BuildPreReq: python-module-zope.testing BuildPreReq: python-module-zope.traversing BuildPreReq: python-module-zope.viewlet BuildPreReq: python-module-zope.filerepresentation BuildPreReq: python-module-Products.SiteErrorLog-tests BuildPreReq: python-module-zope.component-tests BuildPreReq: python-module-zope.security-tests BuildPreReq: python-module-zope.traversing-tests BuildPreReq: python-modules-tkinter %add_python_req_skip ntsecuritycon pywintypes win32api win32con win32event %py_requires zope.testbrowser zope.testing zope.traversing zope.viewlet %py_requires zope.size zope.structuredtext zope.tal zope.tales %py_requires zope.security zope.sendmail zope.sequencesort zope.site %py_requires zope.proxy zope.ptresource zope.publisher zope.schema %py_requires zope.location zope.pagetemplate zope.processlifetime %py_requires zope.i18nmessageid zope.interface zope.lifecycleevent %py_requires zope.deferredimport zope.event zope.exceptions zope.i18n %py_requires zope.container zope.contentprovider zope.contenttype %py_requires ZODB3 Products.OFSP Products.ZCatalog Products.ZCTextIndex %py_requires docutils pytz zope.browser zope.browsermenu zope.browserpage %py_requires zope.browserresource zope.component zope.configuration %py_requires Products.PythonScripts zLOG Products.MIMETools initgroups %py_requires Products.SiteErrorLog %description Zope2 is an open-source web application server. %package tests Summary: Tests for Zope2 Group: Development/Python Requires: %name = %version-%release Requires: python-module-zope.sendmail-tests python-module-zope.viewlet-tests Requires: python-module-Products.PythonScripts-tests python-module-zLOG-tests Requires: python-module-Products.MIMETools-tests python-module-zope.size-tests Requires: python-module-zope.traversing-tests python-module-zope.tales-tests Requires: python-module-zope.testbrowser python-module-zope.tal-tests Requires: python-module-zope.site-tests python-module-zope.ptresource-tests Requires: python-module-zope.processlifetime-tests python-module-ZODB3 Requires: python-module-zope.pagetemplate-tests Requires: python-module-zope.lifecycleevent-tests Requires: python-module-zope.contentprovider-tests Requires: python-module-zope.container-tests python-module-zope.annotation-tests Requires: python-module-zope.browserresource-tests Requires: python-module-zope.browserpage-tests Requires: python-module-zope.browsermenu-tests python-module-mechanize Requires: python-module-initgroups python-module-Missing-tests Requires: python-module-zope.filerepresentation-tests Requires: python-module-zope.dottedname-tests Requires: python-module-Products.MailHost-tests Requires: python-module-Products.StandardCacheManagers-tests Requires: python-module-Products.ZCTextIndex-tests Requires: python-module-Products.ZCatalog-tests Requires: python-module-Products.ExternalMethod-tests Requires: python-module-Products.BTreeFolder2-tests Requires: python-module-Products.OFSP Requires: python-module-zope.component-tests Requires: python-module-zope.security-tests Requires: python-module-zope.traversing-tests Requires: python-module-Products.SiteErrorLog-tests Requires: python-module-Products.PloneTestCase Requires: python-modules-tkinter %add_python_req_skip http_date %description tests Zope2 is an open-source web application server. This package contains tests for Zope2. %package pickles Summary: Pickles for Zope2 Group: Development/Python %description pickles Zope2 is an open-source web application server. This package contains pickles for Zope2. %package docs Summary: Documentation for Zope2 Group: Development/Documentation BuildArch: noarch %description docs Zope2 is an open-source web application server. This package contains documentation for Zope2. %prep %setup %prepare_sphinx . ln -s ../objects.inv docs/ %build %python_build pushd docs export PYTHONPATH=$PWD/../build/lib %make pickle %make html popd %install %python_install %ifarch x86_64 mv %buildroot%_libexecdir %buildroot%_libdir %endif for i in Shared Products Testing; do for j in $(find %buildroot%python_sitelibdir/$i -type d); do touch $j/__init__.py done done install -p -m644 %SOURCE1 %buildroot%python_sitelibdir cp -fR docs/_build/pickle %buildroot%python_sitelibdir/%oname/ # There is a file in the package named .DS_Store or .DS_Store.gz, # the file name used by Mac OS X to store folder attributes. # Such files are generally useless in packages and were usually accidentally # included by copying complete directories from the source tarball. find $RPM_BUILD_ROOT \( -name '*.DS_Store' -o -name '*.DS_Store.gz' \) -print -delete %check export PYTHONPATH=$PWD/src python setup.py test -v %files %doc *.txt %_bindir/* %exclude %_bindir/zpasswd %python_sitelibdir/* %exclude %python_sitelibdir/*.pth %exclude %python_sitelibdir/*/tests %exclude %python_sitelibdir/*/*/*test* %exclude %python_sitelibdir/*/*/*/test* %exclude %python_sitelibdir/*/*/*/*/tests %exclude %python_sitelibdir/*/Test* %exclude %python_sitelibdir/Test* %exclude %python_sitelibdir/*/*/examples %exclude %python_sitelibdir/%oname/pickle %files tests %python_sitelibdir/*/tests %python_sitelibdir/*/*/*test* %python_sitelibdir/*/*/*/test* %python_sitelibdir/*/*/*/*/tests %python_sitelibdir/*/Test* %python_sitelibdir/Test* %python_sitelibdir/*/*/examples %files pickles %python_sitelibdir/%oname/pickle %files docs %doc docs/_build/html/* %changelog * Sun Aug 30 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0-alt5.a1.dev.git20150806 - Enabled check * Sun Aug 30 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0-alt4.a1.dev.git20150806 - New snapshot - Disabled check for bootstrap * Fri Feb 20 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0-alt4.a1.dev.git20150217 - New snapshot * Sat Feb 14 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0-alt3.a1.dev.git20150211 - New snapshot * Fri Nov 07 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0-alt3.a1.dev.git20141102 - Added necessary requirements - Enabled testing * Fri Nov 07 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0-alt2.a1.dev.git20141102 - New snapshot (bootstrap) * Wed Oct 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0-alt2.a1.dev.git20140402 - More requirements - Enabled testing * Sat Oct 11 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.0-alt1.a1.dev.git20140402 - Version 4.0a1.dev * Sat Oct 11 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.13.22-alt5 - Added more testing requirements * Sat Oct 11 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.13.22-alt4 - Added testing requirements * Sat Oct 11 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.13.22-alt3 - Excluded .pth file * Sat Oct 11 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.13.22-alt2 - Set as archdep * Wed Jul 16 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.13.22-alt1 - Version 2.13.22 * Mon Dec 02 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.13.21-alt1 - Version 2.13.21 * Fri Apr 12 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.13.19-alt2 - Applied repocop patch - Moved examples into tests subpackage * Thu Apr 11 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.13.19-alt1 - Version 2.13.19 * Mon Oct 24 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 2.13.7-alt2.1 - Rebuild with Python-2.7 * Fri Jun 10 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.13.7-alt2 - Moved all tests into tests package * Sat Jun 04 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 2.13.7-alt1 - Initial build for Sisyphus |