File mingw32-libqt5-qttranslations.spec of Package mingw32-libqt5-qttranslations
#
# spec file for package mingw32-libqt5-qttranslations
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%global qt_module qttranslations
#%%global pre beta1
%global source_folder %{qt_module}-everywhere-src-%{version}%{?pre:-%pre}
Name: mingw32-libqt5-%{qt_module}
Version: 5.15.14+kde0
Release: 0
Summary: Qt5 for Windows - QtLocation component
License: GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
Group: Development/Libraries
Url: http://www.qt-project.org/
Source0: %{source_folder}.tar.xz
BuildRequires: mingw32-cross-libqt5-qttools >= %{version}
BuildRequires: mingw32-libqt5-qtbase-devel >= %{version}
BuildArch: noarch
%_mingw32_package_header_debug
%description
This package contains the Qt software toolkit for developing
cross-platform applications.
This is the Windows version of Qt, for use in conjunction with the
Windows cross-compiler.
%prep
%setup -q -n %{source_folder}
%build
mingw32-qmake-qt5 %{qt_module}.pro
%{_mingw32_make} %{?_smp_mflags}
%install
%{_mingw32_make} install INSTALL_ROOT=%{buildroot}
%files
%defattr(-, root, root)
%dir %{_mingw32_datadir}/qt5/translations/
%{_mingw32_datadir}/qt5/translations/*.qm
%changelog