This commit is contained in:
Jan Grulich 2022-04-21 09:20:14 +02:00
parent b89722d4ce
commit 94ba66f9f5
3 changed files with 23 additions and 6 deletions

1
.gitignore vendored
View File

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

View File

@ -6,10 +6,12 @@
%global prerelease rc2
%endif
#global examples 1
Summary: Qt6 - Support for rendering and displaying SVG
Name: qt6-%{qt_module}
Version: 6.2.3
Release: 3%{?dist}
Version: 6.3.0
Release: 1%{?dist}
License: LGPLv3 or GPLv2+
Url: http://www.qt.io
@ -47,12 +49,20 @@ Requires: qt6-qtbase-devel%{?_isa}
%description devel
%{summary}.
%if 0%{?examples}
%package examples
Summary: Programming examples for %{name}
Requires: %{name}-common = %{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
@ -95,11 +105,17 @@ popd
%{_qt6_libdir}/cmake/Qt6Svg/*.cmake
%dir %{_qt6_libdir}/cmake/Qt6SvgWidgets/
%{_qt6_libdir}/cmake/Qt6SvgWidgets/*.cmake
%dir %{_qt6_libdir}/qt6/examples/svg
%{_qt6_libdir}/qt6/examples/svg/*
%{_qt6_libdir}/metatypes/qt6*_metatypes.json
%if 0%{?examples}
%files examples
%{_qt6_examplesdir}/
%endif
%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-3
- Enable s390x builds

View File

@ -1 +1 @@
SHA512 (qtsvg-everywhere-src-6.2.3.tar.xz) = 682354023aec615371bdca6cb295bd6c903fd81604949bf6233e5506afc21b92732593c5294f767851fd5aea8ea9436ee94cb3484e8f3ba03a0dfb47a3d94f84
SHA512 (qtsvg-everywhere-src-6.3.0.tar.xz) = f00750df4eb43bcd69ccd20d3d1181252e19a19ddf94c8d5b4eb51e88d1005f67d35902942a795a6af434c4a9cad9754da2702248791e1e60feab54341514e98