This commit is contained in:
Jan Grulich 2022-04-20 15:53:57 +02:00
parent 2592e6357b
commit bcb6ae74c0
3 changed files with 13 additions and 6 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/qtmultimedia-everywhere-src-6.2.1.tar.xz
/qtmultimedia-everywhere-src-6.2.2.tar.xz
/qtmultimedia-everywhere-src-6.2.3.tar.xz
/qtmultimedia-everywhere-src-6.3.0.tar.xz

View File

@ -13,10 +13,12 @@
%global prerelease rc2
%endif
#global examples 1
Summary: Qt6 - Multimedia support
Name: qt6-%{qt_module}
Version: 6.2.3
Release: 2%{?dist}
Version: 6.3.0
Release: 1%{?dist}
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -81,19 +83,20 @@ Requires: pkgconfig(libpulse-mainloop-glib)
%description devel
%{summary}.
%if 0%{?examples}
%package examples
Summary: Programming examples for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description examples
%{summary}.
%endif
%prep
%autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1
%build
%cmake_qt6
%cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF}
%cmake_build
@ -148,7 +151,7 @@ popd
%{_qt6_libdir}/metatypes/qt6*_metatypes.json
%{_qt6_datadir}/modules/*.json
%if 0%{?_qt6_examplesdir:1}
%if 0%{?examples}
%files examples
%license LICENSE.FDL
%{_qt6_examplesdir}/
@ -156,6 +159,9 @@ popd
%changelog
* Wed Apr 13 2022 Jan Grulich <jgrulich@redhat.com> - 6.3.0-1
- 6.3.0
* Fri Feb 25 2022 Jan Grulich <jgrulich@redhat.com> - 6.2.3-2
- Enable s390x builds

View File

@ -1 +1 @@
SHA512 (qtmultimedia-everywhere-src-6.2.3.tar.xz) = ab2ee3f765ad8c9b61e2517b2267eedf1467950df1f7947cf29aa204294e9cc11475c5d27f8f93becac6f0693a4bbd9593ce5d675772822677baa747e45cb2b0
SHA512 (qtmultimedia-everywhere-src-6.3.0.tar.xz) = b437e6c7083c91eeafa4d016fcd33a2ffec0c40dbd057d2bb3d4cb19127559ea25fb239a6af2de717945e1ddbbbda824942981772b8292e65cda508fdab1c515