|
|
|
@ -7,11 +7,13 @@
|
|
|
|
|
|
|
|
|
|
%global examples 1
|
|
|
|
|
%global build_tests 1
|
|
|
|
|
# disable once Qt7 is stable and providing the apps
|
|
|
|
|
%global metainfo 1
|
|
|
|
|
|
|
|
|
|
Summary: Qt6 - QtTool components
|
|
|
|
|
Name: qt6-qttools
|
|
|
|
|
Version: 6.7.1
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 6.8.1
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
|
|
|
|
|
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
|
Url: http://www.qt.io
|
|
|
|
@ -38,11 +40,17 @@ Source21: designer.desktop
|
|
|
|
|
Source22: linguist.desktop
|
|
|
|
|
Source23: qdbusviewer.desktop
|
|
|
|
|
|
|
|
|
|
# borrowed from Flathub with adjustments for Fedora
|
|
|
|
|
Source31: io.qt.Designer.metainfo.xml
|
|
|
|
|
Source32: io.qt.Linguist.metainfo.xml
|
|
|
|
|
Source33: io.qt.qdbusviewer.metainfo.xml
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: /usr/bin/file
|
|
|
|
|
BuildRequires: libappstream-glib
|
|
|
|
|
BuildRequires: qt6-rpm-macros >= %{version}
|
|
|
|
|
BuildRequires: qt6-qtbase-private-devel
|
|
|
|
|
BuildRequires: qt6-qtbase-static >= %{version}
|
|
|
|
@ -140,6 +148,7 @@ Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
|
|
|
|
|
%if 0%{?examples}
|
|
|
|
|
%package examples
|
|
|
|
|
Summary: Programming examples for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
|
|
|
|
|
%description examples
|
|
|
|
@ -158,9 +167,9 @@ Requires: %{name}-libs-help%{?_isa} = %{version}-%{release}
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}}
|
|
|
|
|
|
|
|
|
|
%patch1 -p1 -b .run-qttools-with-qt6-suffix
|
|
|
|
|
%patch -P1 -p1 -b .run-qttools-with-qt6-suffix
|
|
|
|
|
%ifarch %{mips32}
|
|
|
|
|
%patch2 -p1 -b .libatomic
|
|
|
|
|
%patch -P2 -p1 -b .libatomic
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -193,6 +202,12 @@ desktop-file-install \
|
|
|
|
|
--vendor="qt6" \
|
|
|
|
|
%{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23}
|
|
|
|
|
|
|
|
|
|
%if 0%{?metainfo}
|
|
|
|
|
install -Dm0644 -t %{buildroot}%{_metainfodir} \
|
|
|
|
|
%{SOURCE31} %{SOURCE32} %{SOURCE33}
|
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.xml
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# icons
|
|
|
|
|
install -m644 -p -D src/assistant/assistant/images/assistant.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/assistant-qt6.png
|
|
|
|
|
install -m644 -p -D src/assistant/assistant/images/assistant-128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/assistant-qt6.png
|
|
|
|
@ -252,6 +267,7 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%{_qt6_archdatadir}/sbom/%{qt_module}-%{qt_version}.spdx
|
|
|
|
|
%{_bindir}/qdbus-qt6
|
|
|
|
|
%{_qt6_bindir}/qdbus
|
|
|
|
|
%{_qt6_bindir}/qdbus-qt6
|
|
|
|
@ -285,6 +301,9 @@ popd
|
|
|
|
|
%{_qt6_bindir}/qdistancefieldgenerator*
|
|
|
|
|
%{_qt6_libexecdir}/qhelpgenerator*
|
|
|
|
|
%{_qt6_libexecdir}/qtattributionsscanner*
|
|
|
|
|
%if 0%{?metainfo}
|
|
|
|
|
%{_metainfodir}/io.qt.Designer.metainfo.xml
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n qt6-designer
|
|
|
|
|
%{_bindir}/designer*
|
|
|
|
@ -310,12 +329,18 @@ popd
|
|
|
|
|
%{_qt6_libexecdir}/lprodump*
|
|
|
|
|
%{_qt6_libexecdir}/lrelease*
|
|
|
|
|
%{_qt6_libexecdir}/lupdate*
|
|
|
|
|
%if 0%{?metainfo}
|
|
|
|
|
%{_metainfodir}/io.qt.Linguist.metainfo.xml
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n qt6-qdbusviewer
|
|
|
|
|
%{_bindir}/qdbusviewer*
|
|
|
|
|
%{_qt6_bindir}/qdbusviewer*
|
|
|
|
|
%{_datadir}/applications/*qdbusviewer.desktop
|
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/qdbusviewer*.*
|
|
|
|
|
%if 0%{?metainfo}
|
|
|
|
|
%{_metainfodir}/io.qt.qdbusviewer.metainfo.xml
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_bindir}/pixeltool*
|
|
|
|
@ -338,7 +363,6 @@ popd
|
|
|
|
|
%{_qt6_libdir}/libQt6UiTools.so
|
|
|
|
|
%{_qt6_libdir}/cmake/Qt6/FindWrapLibClang.cmake
|
|
|
|
|
%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtToolsTestsConfig.cmake
|
|
|
|
|
%dir %{_qt6_libdir}/cmake/Qt6Designer
|
|
|
|
|
%{_qt6_libdir}/cmake/Qt6Designer/*.cmake
|
|
|
|
|
%{_qt6_libdir}/cmake/Qt6DesignerComponentsPrivate/*.cmake
|
|
|
|
|
%dir %{_qt6_libdir}/cmake/Qt6QDocCatchPrivate
|
|
|
|
@ -394,9 +418,25 @@ popd
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 6.7.1-4
|
|
|
|
|
* Wed Dec 18 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 6.8.1-2
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Wed Dec 11 2024 Jan Grulich <jgrulich@redhat.com> - 6.8.1-2
|
|
|
|
|
- Add versioned deps to -examples
|
|
|
|
|
Resolves: RHEL-53982
|
|
|
|
|
|
|
|
|
|
* Fri Dec 06 2024 Jan Grulich <jgrulich@redhat.com> - 6.8.1-1
|
|
|
|
|
- 6.8.1
|
|
|
|
|
Resolves: RHEL-53982
|
|
|
|
|
|
|
|
|
|
* Mon Nov 04 2024 Jan Grulich <jgrulich@redhat.com> - 6.7.1 -6
|
|
|
|
|
- Fix build against LLVM 19
|
|
|
|
|
Resolves: RHEL-64941
|
|
|
|
|
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 6.7.1-5
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.7.1-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|