File mingw32-qt6-translations.spec of Package mingw32-qt6-translations

#
# spec file for package mingw32-qt6-translations
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


%define real_version 6.2.3
%define short_version 6.2
%define tar_name qttranslations-everywhere-src
%define tar_suffix %{nil}
#
%define _name   qt6-translations
Name:           mingw32-%{_name}
Version:        6.2.3
Release:        0
Summary:        Qt 6 Translations
License:        GPL-3.0-only WITH Qt-GPL-exception-1.0
URL:            https://www.qt.io
Source:         https://download.qt.io/official_releases/qt/%{short_version}/%{real_version}%{tar_suffix}/submodules/%{tar_name}-%{real_version}%{tar_suffix}.tar.xz
BuildRequires:  mingw32(cmake:Qt6Core)
BuildRequires:  mingw32(cmake:Qt6LinguistTools)
BuildArch:      noarch
%_mingw32_package_header_debug
BuildArch:      noarch

%description
Translations for Qt6 libraries and tools.

%_mingw32_debug_package

%prep
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}

%build
%_mingw32_cmake_qt6

%{_mingw32_qt6_build}

%install
%{_mingw32_qt6_install}


%files
%license LICENSE.*
%{_mingw32_qt6_translationsdir}/*

%changelog
openSUSE Build Service is sponsored by