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

#
# spec file for package kdevelop4-pg-qt
#
# Copyright (c) 2015 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/
#


Name:           kdevelop4-pg-qt
Version:        1.0.0
Release:        0
Summary:        Supporting package for the additional plugins for Kdevelop4
License:        LGPL-2.0+ and GPL-2.0+
Group:          Development/Tools/IDE
Url:            http://www.kdevelop.org
Source0:        kdevelop-pg-qt-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM fix-error.diff 
Patch1:         fix-error.diff
BuildRequires:  bison
BuildRequires:  flex
BuildRequires:  libkde4-devel
Obsoletes:      %{name}-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

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

%prep
%setup -q -n kdevelop-pg-qt-%{version}
%patch1 -p1

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  %kde4_makeinstall -C build
  %kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_kde4_bindir}/kdev-pg-qt
%{_kde4_prefix}/include/kdevelop-pg-qt/
%{_kde4_libdir}/cmake/KDevelop-PG-Qt

%changelog