File kdesignerplugin.spec of Package kdesignerplugin

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


Name:           kdesignerplugin
Version:        4.98.0
Release:        0
BuildRequires:  cmake >= 2.8.12
BuildRequires:  extra-cmake-modules >= 0.0.12
BuildRequires:  fdupes
BuildRequires:  kbookmarks-devel >= %{_kf5_version}
BuildRequires:  kcompletion-devel >= %{_kf5_version}
BuildRequires:  kconfigwidgets-devel >= %{_kf5_version}
BuildRequires:  kdbusaddons-devel >= %{_kf5_version}
BuildRequires:  kdewebkit-devel >= %{_kf5_version}
BuildRequires:  kdoctools-devel >= %{_kf5_version}
BuildRequires:  kf5-filesystem
BuildRequires:  kguiaddons-devel >= %{_kf5_version}
BuildRequires:  ki18n-devel >= %{_kf5_version}
BuildRequires:  kiconthemes-devel >= %{_kf5_version}
BuildRequires:  kio-devel >= %{_kf5_version}
BuildRequires:  kitemviews-devel >= %{_kf5_version}
BuildRequires:  kplotting-devel >= %{_kf5_version}
BuildRequires:  kservice-devel >= %{_kf5_version}
BuildRequires:  ktextwidgets-devel >= %{_kf5_version}
BuildRequires:  kwidgetsaddons-devel >= %{_kf5_version}
BuildRequires:  kwindowsystem-devel >= %{_kf5_version}
BuildRequires:  kxmlgui-devel >= %{_kf5_version}
BuildRequires:  pkgconfig(Qt5Core) >= 5.2.0
BuildRequires:  pkgconfig(Qt5Designer) >= 5.2.0
Summary:        Integrating KDE frameworks widgets with Qt Designer
License:        LGPL-2.1+
Group:          System/GUI/KDE
Url:            http://www.kde.org
Source0:        kdesignerplugin-%{version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This framework provides plugins for Qt Designer that allow it to display
the widgets provided by various KDE frameworks, as well as a utility
(kgendesignerplugin) that can be used to generate other such plugins
from ini-style description files.

%package devel
Summary:        Integrating KDE frameworks widgets with Qt Designer
Group:          Development/Libraries/KDE
Requires:       %{name} = %{version}
Requires:       extra-cmake-modules
Requires:       pkgconfig(Qt5Core) >= 5.2.0

%description devel
This framework provides plugins for Qt Designer that allow it to display
the widgets provided by various KDE frameworks, as well as a utility
(kgendesignerplugin) that can be used to generate other such plugins
from ini-style description files. Development files.

%prep
%setup -q

%build
  %cmake_kf5 -d build
  %make_jobs

%install
  %kf5_makeinstall -C build
  %fdupes -s %{buildroot}

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc COPYING* README*
%{_kf5_bindir}/kgendesignerplugin
%{_kf5_mandir}/man1/kgendesignerplugin.*
%dir %{_kf5_datadir}/kf5widgets
%dir %{_kf5_datadir}/kf5widgets/pics
%{_kf5_datadir}/kf5widgets/pics/
%dir %{_qt5_plugindir}/designer
%{_qt5_plugindir}/designer/kf5widgets.so
%{_qt5_plugindir}/designer/kdewebkitwidgets.so

%files devel
%defattr(-,root,root)
%{_kf5_libdir}/cmake/KF5DesignerPlugin/

%changelog
openSUSE Build Service is sponsored by