1
0
qt6-translations/qt6-translations.spec

57 lines
1.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package qt6-translations
#
# Copyright (c) 2020 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.1.0
%define short_version 6.1
%define tar_name qttranslations-everywhere-src
%define tar_suffix %{nil}
#
Name: qt6-translations
Version: 6.1.0
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: fdupes
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6LinguistTools)
BuildArch: noarch
%description
Translations for Qt6 libraries and tools.
%prep
%autosetup -p1 -n %{tar_name}-%{real_version}%{tar_suffix}
%build
%cmake_qt6
%{qt6_build}
%install
%{qt6_install}
%fdupes %{buildroot}%{_qt6_translationsdir}
%files
%license LICENSE.*
%{_qt6_translationsdir}/*
%changelog