File kdevelop5-pg-qt.spec of Package kdevelop5-pg-qt

#
# spec file for package 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/
#


%define rname kdevelop-pg-qt
Name:           kdevelop5-pg-qt
Version:        2.2.1
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
BuildRequires:  bison
BuildRequires:  extra-cmake-modules
BuildRequires:  flex
BuildRequires:  kf5-filesystem
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Test)
Conflicts:      kdevelop4-pg-qt

%description
Supporting package for the additional plugins for Kdevelop5 Integrated Development Environment

%prep
%setup -q -n %{rname}-%{version}

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %kf5_makeinstall -C build

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%license COPYING*
%{_kf5_bindir}/kdev-pg-qt
%{_kf5_prefix}/include/kdevelop-pg-qt/
%{_kf5_libdir}/cmake/KDevelop-PG-Qt

%changelog
openSUSE Build Service is sponsored by