Package python3-module-PyQt5: 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 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 | # TODO: quick3d %define oname PyQt5 %def_with dbus %def_with webkit # Note: check Qt subst below #define qtver %(rpm -q --qf '%%{VERSION}' libqt5-core | sed -e 's|\\.|_|g') Name: python3-module-%oname Version: 5.15.10 Release: alt2 Summary: Python 3 bindings for Qt 5 License: GPLv3 Group: Development/Python3 Url: http://www.riverbankcomputing.co.uk/software/pyqt # Source-url: %__pypi_url %oname Source: %name-%version.tar BuildRequires(pre): rpm-build-intro BuildRequires(pre): rpm-build-python3 >= 0.1.9.2-alt1 BuildRequires: python3-devel BuildRequires: python3-module-sip6 >= 6.4 BuildRequires: python3-module-sip6 < 7 BuildRequires: python3-module-PyQt-builder >= 1.9 BuildRequires: python3-module-PyQt-builder < 2 %if_with dbus BuildRequires: python3-module-dbus BuildRequires: libdbus-devel BuildRequires: python3-module-dbus-devel %endif BuildRequires: qt5-connectivity-devel qt5-location-devel qt5-multimedia-devel qt5-sensors-devel qt5-serialport-devel BuildRequires: qt5-svg-devel qt5-tools-devel qt5-websockets-devel qt5-x11extras-devel qt5-xmlpatterns-devel libqt5-qml # we missed it: #BuildRequires: pkgconfig(Enginio) BuildRequires: pkgconfig(Qt5Bluetooth) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Designer) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Help) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5MultimediaWidgets) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5NetworkAuth) BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Positioning) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5QuickWidgets) BuildRequires: pkgconfig(Qt5Sensors) BuildRequires: pkgconfig(Qt5RemoteObjects) BuildRequires: pkgconfig(Qt5SerialPort) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5WebChannel) %if_with webkit BuildRequires: pkgconfig(Qt5WebKit) BuildRequires: pkgconfig(Qt5WebKitWidgets) %endif BuildRequires: pkgconfig(Qt5WebSockets) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5XmlPatterns) BuildRequires: pkgconfig(Qt5X11Extras) %if_with dbus # https://bugzilla.altlinux.org/show_bug.cgi?id=33873 %py3_provides dbus.mainloop.pyqt5 %endif Requires: python3-module-PyQt5-sip # mapping from PyPI name Provides: python3-module-%{pep503_name %oname} = %EVR Conflicts: python-module-PyQt5 < 5.13.1-alt4 %description Python 3 bindings for the Qt C++ class library. Also includes a PyQt5 backend code generator for Qt Designer. %package -n python3-module-%oname-devel Summary: Sip files for python3-module-%oname Group: Development/Python3 Requires: %name = %EVR %description -n python3-module-%oname-devel Python 3 bindings for the Qt C++ class library. Also includes a PyQt5 backend code generator for Qt Designer. %package examples Summary: PyQt5 examples Group: Development/Python3 BuildArch: noarch Requires: %name = %EVR %description examples This package contains PyQt5 examples. %package webkit Summary: PyQt5 obsoleted webkit Group: Development/Python3 Requires: %name = %EVR %description webkit This package contains PyQt5 webkit bindings. %package doc Summary: PyQt5 docs Group: Development/Python3 BuildArch: noarch Requires: %name = %EVR %description doc This package contains PyQt5 docs. %prep %setup %build sip-build --confirm-license --no-make --debug \ --qmake %_qt5_qmake \ --api-dir=%_qt5_datadir/qsci/ %make_build -C build %install %makeinstall_std -C build INSTALL_ROOT=%buildroot # Remove unused py2 version of uic modules: rm -rv %buildroot/%python3_sitelibdir/PyQt5/uic/port_v2/ #files doc #doc doc/* #doc NEWS README #files examples #doc examples %files %dir %python3_sitelibdir/PyQt5/ %python3_sitelibdir/PyQt5/uic/ %python3_sitelibdir/PyQt5/__init__.py %dir %python3_sitelibdir/PyQt5/__pycache__/ %python3_sitelibdir/PyQt5/__pycache__/__init__.* %python3_sitelibdir/PyQt5/Qt*.so %python3_sitelibdir/PyQt5/_QOpenGLFunctions*.so %python3_sitelibdir/PyQt5-%version.* %_libdir/qt5/plugins/PyQt5/ %if_with dbus %python3_sitelibdir/dbus/mainloop/pyqt5*.so %endif %exclude %python3_sitelibdir/PyQt5/QtWebKit.*so %exclude %python3_sitelibdir/PyQt5/QtWebKitWidgets.*so %if_with webkit %files webkit %python3_sitelibdir/PyQt5/QtWebKit.*so %python3_sitelibdir/PyQt5/QtWebKitWidgets.*so %endif %files devel %_bindir/pylupdate5 %_bindir/pyrcc5 %_bindir/pyuic5 %dir %_qt5_datadir/ %_qt5_datadir/qsci/ %_libdir/qt5/plugins/designer/libpyqt5*.so %python3_sitelibdir/PyQt5/bindings/ %python3_sitelibdir/PyQt5/pylupdate* %python3_sitelibdir/PyQt5/pyrcc* %python3_sitelibdir/PyQt5/__pycache__/pylupdate* %python3_sitelibdir/PyQt5/__pycache__/pyrcc* %changelog * Sun Mar 03 2024 Vitaly Lipatov <lav@altlinux.ru> 5.15.10-alt2 - fix QtWebKit packing (new name QtWebKit.abi3.so since new sip6) * Thu Nov 09 2023 Anton Midyukov <antohami@altlinux.org> 5.15.10-alt1 - new version (5.15.10) with rpmgs script * Wed May 17 2023 Stanislav Levin <slev@altlinux.org> 5.15.7-alt1.1 - NMU: mapped PyPI name to distro's one. * Thu Aug 04 2022 Vitaly Lipatov <lav@altlinux.ru> 5.15.7-alt1 - new version 5.15.7 (with rpmrb script) * Mon Dec 13 2021 Vitaly Lipatov <lav@altlinux.ru> 5.15.6-alt1 - new version 5.15.6 (with rpmrb script) * Wed Jul 14 2021 Vitaly Lipatov <lav@altlinux.ru> 5.15.4-alt3 - move bindings to the devel subpackage * Tue Jul 13 2021 Vitaly Lipatov <lav@altlinux.ru> 5.15.4-alt2 - build webkit subpackage - fix python-module-PyQt5-sip require * Mon Jul 12 2021 Vitaly Lipatov <lav@altlinux.ru> 5.15.4-alt1 - new version 5.15.4 (with rpmrb script) - devel subpackage is not noarch anymore * Wed Oct 07 2020 Vitaly Lipatov <lav@altlinux.ru> 5.13.1-alt4 - python-module-PyQt5 < 5.13.1-alt4 * Tue Sep 08 2020 Vitaly Lipatov <lav@altlinux.ru> 5.13.1-alt3 - cleanup spec, prepared for build with sip5 - build python3 module only * Thu Feb 06 2020 Vitaly Lipatov <lav@altlinux.ru> 5.13.1-alt2 - add support to disable python2 module - add buildrequire python2-base * Mon Oct 07 2019 Vitaly Lipatov <lav@altlinux.ru> 5.13.1-alt1 - new version 5.13.1 (with rpmrb script) - drop PyQtWebEngine case (standalone package now) * Mon Oct 07 2019 Vitaly Lipatov <lav@altlinux.ru> 5.12.3-alt1 - new version 5.12.3 (with rpmrb script) * Sun Jun 23 2019 Igor Vlasenko <viy@altlinux.ru> 5.11.3-alt3 - NMU: remove rpm-build-ubt from BR: * Tue Feb 12 2019 Gleb F-Malinovskiy <glebfm@altlinux.org> 5.11.3-alt2 - spec: use rpm-macros-qt5-webengine to build without qt5-webengine on architectures not supported by webengine. * Sun Feb 03 2019 Anton Midyukov <antohami@altlinux.org> 5.11.3-alt1 - new version * Tue Aug 28 2018 Sergey V Turchin <zerg@altlinux.org> 5.10.1-alt2%ubt - build with QtWebKit * Tue Aug 28 2018 Sergey V Turchin <zerg@altlinux.org> 5.10.1-alt1%ubt - new version - build without QtWebKit * Tue Aug 14 2018 Sergey V Turchin <zerg@altlinux.org> 5.9.2-alt4%ubt - fix to build with Qt-5.11 * Mon Jun 18 2018 Sergey V Turchin <zerg@altlinux.org> 5.9.2-alt3%ubt - add missing Qt versions to list of supported * Thu Mar 22 2018 Aleksei Nikiforov <darktemplar@altlinux.org> 5.9.2-alt2%ubt.1 - (NMU) Rebuilt with python-3.6.4. * Tue Feb 27 2018 Oleg Solovyov <mcpain@altlinux.org> 5.9.2-alt2%ubt - add missing Qt versions to list of supported * Wed Feb 14 2018 Vitaly Lipatov <lav@altlinux.ru> 5.9.2-alt1 - new version 5.9.2 (with rpmrb script) (ALT bug 34537) * Tue Nov 14 2017 Anton Midyukov <antohami@altlinux.org> 5.9-alt4.M80P.1 - backport to ALT p8 * Sun Nov 12 2017 Anton Midyukov <antohami@altlinux.org> 5.9-alt5%ubt - Added missing provides dbus.mainloop.pyqt5 (ALT bug 33873) * Sat Nov 11 2017 Vitaly Lipatov <lav@altlinux.ru> 5.9-alt4 - add add pkgconfig requires (fix missed qt5-webchannel-devel qt5-webengine-devel) (ALT bug 34170) * Mon Oct 16 2017 Sergey Bolshakov <sbolshakov@altlinux.ru> 5.9-alt3 - backported fix for qt built with GLES * Fri Oct 06 2017 Vitaly Lipatov <lav@altlinux.ru> 5.9-alt2 - set strict require to sip version we build with * Thu Oct 05 2017 Vitaly Lipatov <lav@altlinux.ru> 5.9-alt0.M80P.1 - backport to ALTLinux p8 (by rpmbph script) * Thu Oct 05 2017 Vitaly Lipatov <lav@altlinux.ru> 5.9-alt1 - build new version 5.9, rebuild with new sip 4.19.3 * Fri Apr 01 2016 Ivan Zakharyaschev <imz@altlinux.org> 5.5.1-alt2.1 - (NMU) rebuild with python3-3.5 & rpm-build-python3-0.1.10 (for ABI dependence and new python3(*) reqs) * Thu Mar 31 2016 Ivan Zakharyaschev <imz@altlinux.org> 5.5.1-alt2 - (.spec) %%__python3_includedir was fixed in rpm-build-python3-0.1.9.2-alt1. * Tue Mar 29 2016 Sergey V Turchin <zerg@altlinux.org> 5.5.1-alt1 - new version * Fri Jan 29 2016 Mikhail Efremov <sem@altlinux.org> 5.5-alt1.1 - NMU: Use buildreq for BR. * Mon Jul 20 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.5-alt1 - Version 5.5 * Mon Jun 15 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.4.2-alt1 - Version 5.4.2 * Fri Mar 20 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.4.1-alt2 - Applied repocop's python-module-PyQt5-5.4.1-alt1.diff * Wed Mar 18 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.4.1-alt1 - Version 5.4.1 * Sun Jan 18 2015 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.4-alt1 - Version 5.4 * Tue Nov 11 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3.2-alt1 - Version 5.3.2 * Mon Aug 18 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3.1-alt2 - Added module for Python 3 * Mon Jul 07 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3.1-alt1 - Version 5.3.1 * Fri Jun 20 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3-alt3 - Rebuilt with new SIP * Fri Jun 06 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3-alt2 - Built with qt5-websockets * Fri Jun 06 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 5.3-alt1 - Initial build for Sisyphus |