## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 11; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global repo qt5integration %global __provides_exclude_from ^%{_qt5_plugindir}/.*\.so$ Name: deepin-qt5integration Version: 5.5.20 Release: %autorelease Summary: Qt platform theme integration plugins for DDE # The entire source code is GPLv3+ except styles/ which is BSD, # styleplugins/dstyleplugin/dstyleanimation* which is LGPL License: GPLv3+ and BSD and LGPLv2+ URL: https://github.com/linuxdeepin/qt5integration Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz # Fix duplicated plugins Patch0: https://github.com/linuxdeepin/qt5integration/pull/52.patch # tests failed to build after patch0 applied Patch1: 0001-disable-building-tests.patch BuildRequires: gcc-c++ BuildRequires: pkgconfig(atk) BuildRequires: pkgconfig(dtkcore) BuildRequires: pkgconfig(dtkwidget) >= 2.0.6 BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(libinput) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Xdg) >= 3.0.0 BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(mtdev) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5MultimediaWidgets) BuildRequires: gtest-devel BuildRequires: qt5-qtbase-common # for libQt5ThemeSupport.a BuildRequires: qt5-qtbase-static BuildRequires: qt5-qtbase-private-devel BuildRequires: make %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} Requires: deepin-qt5dxcb-plugin%{?_isa} %description Multiple Qt plugins to provide better Qt5 integration for DDE is included. %prep %autosetup -p1 -n %{repo}-%{version} %build %qmake_qt5 PREFIX=%{_prefix} %make_build %install %make_install INSTALL_ROOT=%{buildroot} %files %doc README.md %license LICENSE %{_qt5_plugindir}/platformthemes/lib*.so %{_qt5_plugindir}/iconengines/lib*.so %{_qt5_plugindir}/imageformats/lib*.so %{_qt5_plugindir}/styles/libchameleon*.so %changelog * Wed Jul 19 2023 Fedora Release Engineering - 5.5.20-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Jan Grulich - 5.5.20-10 - Rebuild (qt5) * Wed Apr 12 2023 Jan Grulich - 5.5.20-9 - Rebuild (qt5) * Thu Jan 19 2023 Fedora Release Engineering - 5.5.20-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jan 06 2023 Jan Grulich - 5.5.20-7 - Rebuild (qt5) * Mon Oct 31 2022 Jan Grulich - 5.5.20-6 - Rebuild (qt5) * Wed Sep 21 2022 Jan Grulich - 5.5.20-5 - Rebuild (qt5) * Thu Jul 21 2022 Fedora Release Engineering - 5.5.20-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jul 14 2022 Jan Grulich - 5.5.20-3 - Rebuild (qt5) * Tue May 17 2022 Jan Grulich - 5.5.20-2 - Rebuild (qt5) * Tue Apr 19 2022 Robin Lee - 5.5.20-1 - New release 5.5.20 * Wed Mar 09 2022 Robin Lee - 5.5.8-4 - Fix build with recent dtkgui * Tue Mar 08 2022 Jan Grulich - 5.5.8-3 - Rebuild (qt5) * Thu Jan 20 2022 Fedora Release Engineering - 5.5.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Sep 06 2021 Robin Lee - 5.5.8-1 - New release 5.5.8 * Wed Jul 21 2021 Fedora Release Engineering - 5.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Mar 11 2021 Robin Lee - 5.1.5-1 - fix: 跟随颜色变化的svg加缓存后显示异常的问题 (ck) - fix: 图标引擎中image缩放参数修改 (liuyang) - fix: 加png缓存后出现锯齿 (ck) - fix: 修复进度条控件UI错误 (wangpeng) - feat: Initial packit setup (Robin Lee) - fix: 父对象转换后没有再次判断导致的崩溃问题 (wangpeng) - feat: 调整DSpinBox控件enabledEmbedStyle模式下焦点样式 (wangpeng) - fix: 修复DDateTimeEdit控件calendarPopup状态下输入框样式 (wangpeng) - fix: 修复输入框透明度导致的UI问题 (wangpeng) - fix: 调整DSpinBox控件UI样式 (wangpeng) - feat: dsvg插件支持缓存svg图标的渲染结果 (zccrs) - fix(chameleon): 修复sizeFromContents在某些情况下崩溃的问题 (zccrs) - fix: remove build depend qt5-default (zccrs) * Tue Jan 26 2021 Fedora Release Engineering - 5.1.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Nov 25 2020 Robin Lee - 5.1.0.10-1 - new upstream release: 5.1.0.10 * Mon Nov 23 07:51:40 CET 2020 Jan Grulich - 5.1.0.8-2 - rebuild (qt5) * Tue Sep 29 2020 Robin Lee - 5.1.0.8-1 - new upstream release: 5.1.0.8 * Fri Sep 11 2020 Jan Grulich - 5.0.0-7 - rebuild (qt5) * Mon Jul 27 2020 Fedora Release Engineering - 5.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Apr 7 2020 Robin Lee - 5.0.0-5 - Fix build with Qt 5.14.2 * Mon Apr 06 2020 Rex Dieter - 5.0.0-5 - rebuild (qt5) * Tue Jan 28 2020 Fedora Release Engineering - 5.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 09 2019 Jan Grulich - 5.0.0-3 - rebuild (qt5) * Wed Sep 25 2019 Jan Grulich - 5.0.0-2 - rebuild (qt5) * Mon Aug 05 2019 Robin Lee - 5.0.0-1 - Release 5.0.0 * Wed Jul 24 2019 Fedora Release Engineering - 0.3.10-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Jun 17 2019 Jan Grulich - 0.3.10-3 - rebuild (qt5) * Wed Jun 05 2019 Jan Grulich - 0.3.10-2 - rebuild (qt5) * Mon Apr 08 2019 Robin Lee - 0.3.10-1 - new version - Split qt5dxcb-plugin * Sat Mar 9 2019 Robin Lee - 0.3.7.2-2 - Update qt5dxcb-plugin for qt5.12 * Thu Jan 31 2019 mosquito - 0.3.7.2-1 - Update to 0.3.7.2 * Thu Jan 31 2019 Fedora Release Engineering - 0.3.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Dec 18 2018 Rex Dieter - 0.3.7.1-2 - rebuild (Qt5) * Thu Dec 13 2018 mosquito - 0.3.7.1-1 - Update to 0.3.7.1 * Thu Dec 13 2018 Rex Dieter - 0.3.6-3 - rebuild (qt5) * Wed Nov 21 2018 mosquito - 0.3.6-2 - Update qt5dxcb to 1.1.14 * Fri Nov 9 2018 mosquito - 0.3.6-1 - Update to 0.3.6 - Use of the gold linker by QMAKE_LFLAGS+="-fuse-ld=gold" https://bugreports.qt.io/browse/QTBUG-65071 * Fri Sep 21 2018 Jan Grulich - 0.3.4-2 - rebuild (qt5) * Sat Aug 25 2018 mosquito - 0.3.4-1 - Update to 0.3.4 * Fri Aug 10 2018 mosquito - 0.3.3-1 - Update to 0.3.3 * Fri Jul 27 2018 mosquito - 0.3.1-1 - Update to 0.3.1 * Thu Jul 12 2018 Fedora Release Engineering - 0.2.8.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 21 2018 Rex Dieter - 0.2.8.3-6 - rebuild (qt5) * Sun May 27 2018 Rex Dieter - 0.2.8.3-5 - rebuild (qt5) * Sun Feb 18 2018 Rex Dieter - 0.2.8.3-4 - rebuild (qt5) * Wed Feb 07 2018 Fedora Release Engineering - 0.2.8.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 01 2018 Rex Dieter - 0.2.8.3-2 - rebuild (qt5) * Sat Dec 9 2017 mosquito - 0.2.8.3-1 - Update to 0.2.8.3 * Mon Nov 27 2017 Rex Dieter - 0.2.3-3 - rebuild (qt5) * Wed Nov 15 2017 mosquito - 0.2.8.1-1 - Update to 0.2.8.1 * Fri Oct 27 2017 mosquito - 0.2.7-1 - Update to 0.2.7 * Mon Oct 23 2017 mosquito - 0.2.4-1 - Update to 0.2.4 - Included qt5xcbqpa private header files in the project * Wed Oct 11 2017 Rex Dieter - 0.2.3-2 - BR: qt5-qtbase-private-devel * Tue Aug 22 2017 mosquito - 0.2.3-1 - Update to 0.2.3 * Tue Aug 1 2017 mosquito - 0.2.2-1 - Update to 0.2.2 * Fri Jul 14 2017 mosquito - 0.2.1-1.git2cd7432 - Update to 0.2.1 * Fri May 19 2017 mosquito - 0.1.8-1.gitb03be20 - Update to 0.1.8 * Tue Mar 7 2017 mosquito - 0.1.2-1.gitecde076 - Update to 0.1.2 * Sun Feb 26 2017 mosquito - 0.1.1-1.gitaa563fd - Update to 0.1.1 * Sat Jan 21 2017 mosquito - 0.0.6-1.git40401af - Update to 0.0.6 * Tue Jan 17 2017 mosquito - 0.0.5-1.gitc0dc3cf - Initial build