Package python-module-Pyro4: 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 | %define oname Pyro4 %def_with python3 %def_with docs Name: python-module-%oname Version: 4.39 Release: alt2 Summary: Python Remote Objects Group: Development/Python License: LGPLv2+ URL: https://pypi.python.org/pypi/Pyro4/ Source: Pyro4-%version.tar.gz BuildArch: noarch Packager: Python Development Team <python@packages.altlinux.org> BuildPreReq: python-devel python-module-sphinx-devel BuildPreReq: python-module-setuptools-tests %if_with docs BuildPreReq: python-module-serpent python3-module-sphinx-devel %endif #docs %if_with python3 BuildRequires(pre): rpm-build-python3 BuildRequires: python3-devel python3-module-setuptools-tests #BuildPreReq: python3-module-serpent %endif %py_requires json wsgiref %description Pyro is an acronym for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. It resembles Java's Remote Method Invocation (RMI). It has less similarity to CORBA - which is a system- and language independent Distributed Object Technology and has much more to offer than Pyro or RMI. But Pyro is small, simple and free! %if_with python3 %package -n python3-module-%oname Summary: Python 3 Remote Objects Group: Development/Python3 %py3_requires json wsgiref %description -n python3-module-%oname Pyro is an acronym for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. It resembles Java's Remote Method Invocation (RMI). It has less similarity to CORBA - which is a system- and language independent Distributed Object Technology and has much more to offer than Pyro or RMI. But Pyro is small, simple and free! %package -n python3-module-%oname-tests Summary: Tests for Pyro4 (Python 3) Group: Development/Python3 Requires: python3-module-%oname = %version-%release %description -n python3-module-%oname-tests Pyro is an acronym for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. It resembles Java's Remote Method Invocation (RMI). It has less similarity to CORBA - which is a system- and language independent Distributed Object Technology and has much more to offer than Pyro or RMI. But Pyro is small, simple and free! This package contains tests for Pyro4. %endif %package tests Summary: Tests for Pyro4 Group: Development/Python Requires: %name = %version-%release %description tests Pyro is an acronym for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. It resembles Java's Remote Method Invocation (RMI). It has less similarity to CORBA - which is a system- and language independent Distributed Object Technology and has much more to offer than Pyro or RMI. But Pyro is small, simple and free! This package contains tests for Pyro4. %package examples Summary: Examples for Pyro4 Group: Development/Documentation BuildArch: noarch %description examples Pyro is an acronym for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. It resembles Java's Remote Method Invocation (RMI). It has less similarity to CORBA - which is a system- and language independent Distributed Object Technology and has much more to offer than Pyro or RMI. But Pyro is small, simple and free! This package contains examples for Pyro4. %package docs Summary: Documentation for for Pyro4 Group: Development/Documentation BuildArch: noarch %description docs Pyro is an acronym for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. It resembles Java's Remote Method Invocation (RMI). It has less similarity to CORBA - which is a system- and language independent Distributed Object Technology and has much more to offer than Pyro or RMI. But Pyro is small, simple and free! This package contains documentation for Pyro4. %package pickles Summary: Pickles for for Pyro4 Group: Development/Python %description pickles Pyro is an acronym for PYthon Remote Objects. It is an advanced and powerful Distributed Object Technology system written entirely in Python, that is designed to be very easy to use. It resembles Java's Remote Method Invocation (RMI). It has less similarity to CORBA - which is a system- and language independent Distributed Object Technology and has much more to offer than Pyro or RMI. But Pyro is small, simple and free! This package contains pickles for Pyro4. %prep %setup %if_with python3 rm -rf ../python3 cp -a . ../python3 %endif %if_with docs %prepare_sphinx docs ln -s ../objects.inv docs/source %endif %build %python_build %if_with python3 pushd ../python3 %python3_build popd %endif %install %if_with python3 pushd ../python3 %python3_install popd pushd %buildroot%_bindir for i in $(ls); do mv $i $i.py3 done popd %endif %python_install %if_with docs export PYTHONPATH=%buildroot%python_sitelibdir ln -s $PWD/docs/objects.inv %buildroot%python_sitelibdir pushd docs %make html %make pickle popd rm -f %buildroot%python_sitelibdir/objects.inv cp -fR build/sphinx/pickle %buildroot%python_sitelibdir/%oname/ %endif %check python setup.py test %if_with python3 pushd ../python3 python3 setup.py test popd %endif %files %doc LICENSE *.txt %_bindir/* %if_with python3 %exclude %_bindir/*.py3 %endif %python_sitelibdir/* %if_with docs %exclude %python_sitelibdir/%oname/pickle %endif #docs %exclude %python_sitelibdir/%oname/test %files tests %python_sitelibdir/%oname/test %files examples %doc examples %doc tests %if_with docs %files docs %doc build/sphinx/html/* %files pickles %python_sitelibdir/%oname/pickle %endif #docs %if_with python3 %files -n python3-module-%oname %doc LICENSE *.txt %_bindir/*.py3 %python3_sitelibdir/* %exclude %python3_sitelibdir/%oname/test %files -n python3-module-%oname-tests %python3_sitelibdir/%oname/test %endif %changelog * Sun Jun 11 2017 Anton Midyukov <antohami@altlinux.org> 4.39-alt2 - Remove obsoletes and provides python-module-Pyro * Sun Mar 13 2016 Ivan Zakharyaschev <imz@altlinux.org> 4.39-alt1.1 - (NMU) rebuild with rpm-build-python3-0.1.9 (for common python3/site-packages/ and auto python3.3-ABI dep when needed) * Thu Jul 30 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.39-alt1 - Version 4.39 * Fri Feb 20 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.34-alt1 - Version 4.34 * Wed Nov 12 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.30-alt1 - Version 4.30 * Wed Oct 29 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.29-alt1 - Version 4.29 * Tue Jul 15 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.26-alt1 - Version 4.26 * Mon Sep 16 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.22-alt1 - Version 4.22 * Fri Mar 22 2013 Aleksey Avdeev <solo@altlinux.ru> 4.17-alt1.1 - Rebuild with Python-3.3 * Wed Feb 13 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.17-alt1 - Version 4.17 * Tue May 08 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.14-alt1 - Version 4.14 - Added module for Python 3 * Fri Dec 09 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.11-alt1 - Version 4.11 - Added docs and pickles subpackages * Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 4.4-alt1.1 - Rebuild with Python-2.7 * Tue May 10 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.4-alt1 - Version 4.4 * Tue Nov 23 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.2-alt1 - Version 4.2 * Wed Aug 11 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt2 - Provides python-module-Pyro * Wed Jul 07 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1-alt1 - Initial build for Sisyphus |