Introduce qt6-filesystem package

Resolves: RHEL-50034
This commit is contained in:
Jan Grulich 2024-07-22 11:47:25 +02:00
parent 2a19452d82
commit a44a6ccdab

View File

@ -1,7 +1,8 @@
Name: qt6 Name: qt6
# This version MUST remain in sync with Qt6 versions!
Version: 6.7.1 Version: 6.7.1
Release: 3%{?dist} Release: 4%{?dist}
Summary: Qt6 meta package Summary: Qt6 meta package
License: GPL-3.0-only License: GPL-3.0-only
URL: https://getfedora.org/ URL: https://getfedora.org/
@ -88,20 +89,42 @@ Requires: qt6-rpm-macros
%{summary}. %{summary}.
%package rpm-macros %package rpm-macros
Summary: RPM macros for building Qt6 and KDE Frameworks 5 packages Summary: RPM macros for building Qt6 and KDE Frameworks 6 packages
Requires: cmake >= 3 Requires: cmake >= 3
Requires: gcc-c++ Requires: gcc-c++
Requires: chrpath Requires: chrpath
BuildArch: noarch
%description rpm-macros %description rpm-macros
%{summary}. %{summary}.
%package srpm-macros %package srpm-macros
Summary: RPM macros for source Qt6 packages Summary: RPM macros for source Qt6 packages
BuildArch: noarch
%description srpm-macros %description srpm-macros
%{summary}. %{summary}.
%package filesystem
Summary: Filesystem for Qt6 packages
%description filesystem
Filesystem for Qt 6 packages.
%install %install
# See macros.qt6 where the directories are specified
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/bin
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/cmake
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/examples
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/imports
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/metatypes
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/modules
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/libexec
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/mkspecs
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/plugins
mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/qml
mkdir -p %{buildroot}%{_datadir}/qt6
mkdir -p %{buildroot}%{_docdir}/qt6
mkdir -p %{buildroot}%{_includedir}/qt6
mkdir -p %{buildroot}%{_datadir}/qt6/translations
install -Dpm644 %{SOURCE0} %{buildroot}%{_rpmmacrodir}/macros.qt6 install -Dpm644 %{SOURCE0} %{buildroot}%{_rpmmacrodir}/macros.qt6
install -Dpm644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.qt6-srpm install -Dpm644 %{SOURCE1} %{buildroot}%{_rpmmacrodir}/macros.qt6-srpm
install -Dpm755 %{SOURCE2} %{buildroot}%{_bindir}/qmake-qt6.sh install -Dpm755 %{SOURCE2} %{buildroot}%{_bindir}/qmake-qt6.sh
@ -147,8 +170,39 @@ echo "- Qt6 devel meta package" > %{buildroot}%{_docdir}/qt6-devel/README
%files srpm-macros %files srpm-macros
%{_rpmmacrodir}/macros.qt6-srpm %{_rpmmacrodir}/macros.qt6-srpm
%files filesystem
%dir %{_prefix}/lib/qt6
%dir %{_prefix}/%{_lib}/qt6
%dir %{_prefix}/lib/qt6/bin
%dir %{_prefix}/%{_lib}/qt6/bin
%dir %{_prefix}/lib/qt6/cmake
%dir %{_prefix}/%{_lib}/qt6/cmake
%dir %{_prefix}/lib/qt6/examples
%dir %{_prefix}/%{_lib}/qt6/examples
%dir %{_prefix}/lib/qt6/imports
%dir %{_prefix}/%{_lib}/qt6/imports
%dir %{_prefix}/lib/qt6/metatypes
%dir %{_prefix}/%{_lib}/qt6/metatypes
%dir %{_prefix}/lib/qt6/modules
%dir %{_prefix}/%{_lib}/qt6/modules
%dir %{_prefix}/lib/qt6/libexec
%dir %{_prefix}/%{_lib}/qt6/libexec
%dir %{_prefix}/lib/qt6/mkspecs
%dir %{_prefix}/%{_lib}/qt6/mkspecs
%dir %{_prefix}/lib/qt6/plugins
%dir %{_prefix}/%{_lib}/qt6/plugins
%dir %{_prefix}/lib/qt6/qml
%dir %{_prefix}/%{_lib}/qt6/qml
%dir %{_datadir}/qt6
%dir %{_docdir}/qt6
%dir %{_includedir}/qt6
%dir %{_datadir}/qt6/translations
%changelog %changelog
* Mon Jul 22 2024 Jan Grulich <jgrulich@redhat.com> - 6.7.1-4
- Introduce qt6-filesystem package
Resolves: RHEL-50034
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.7.1-3 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 6.7.1-3
- Bump release for June 2024 mass rebuild - Bump release for June 2024 mass rebuild