File mingw64-kdevelop5-pg-qt.spec of Package mingw64-kdevelop5-pg-qt
#
# spec file for package mingw64-kdevelop5-pg-qt
#
# 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/
#
%bcond_without released
%define rname kdevelop-pg-qt
%define _name kdevelop5-pg-qt
Name: mingw64-%{_name}
Version: 2.2.2
Release: 0
Summary: Supporting package for the additional plugins for Kdevelop5
License: LGPL-2.0-or-later AND GPL-2.0-or-later
Group: Development/Tools/IDE
URL: https://www.kdevelop.org/
Source0: https://download.kde.org/stable/kdevelop-pg-qt/%{version}/src/%{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/kdevelop-pg-qt/%{version}/src/%{rname}-%{version}.tar.xz.sig
Source2: %{rname}.keyring
%endif
BuildRequires: bison
BuildRequires: mingw64-cross-cmake
BuildRequires: mingw64-cross-gcc-c++
BuildRequires: mingw64-extra-cmake-modules
BuildRequires: flex
BuildRequires: mingw64-kf5-filesystem
BuildRequires: mingw64(pkg:Qt5Core)
BuildRequires: mingw64(pkg:Qt5Test)
Conflicts: mingw64-kdevelop4-pg-qt
%_mingw64_package_header_debug
BuildArch: noarch
%description
Supporting package for the additional plugins for Kdevelop5 Integrated Development Environment
%_mingw64_debug_package
%prep
%setup -q -n %{rname}-%{version}
%build
%_mingw64_cmake_kf5 -d build
%_mingw64_cmake_build
%install
%_mingw64_kf5_makeinstall -C build
%files
%license COPYING*
%{_mingw64_kf5_bindir}/kdev-pg-qt.exe
%{_mingw64_kf5_prefix}/include/kdevelop-pg-qt/
%{_mingw64_kf5_libdir}/cmake/KDevelop-PG-Qt
%changelog