1
0
kdesignerplugin/kdesignerplugin.spec

106 lines
3.5 KiB
RPMSpec
Raw Normal View History

#
# 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: 5.4.0
Release: 0
%define kf5_version %{version}
BuildRequires: cmake >= 2.8.12
BuildRequires: extra-cmake-modules >= 1.4.0
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: libqt5-linguist-devel >= 5.2.0
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
BuildRequires: pkgconfig(Qt5Designer) >= 5.2.0
Recommends: %{name}-lang = %{version}
Summary: Integrating KDE frameworks widgets with Qt Designer
License: LGPL-2.1+
Group: System/GUI/KDE
Url: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/5.4/%{name}-%{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.
%lang_package
%prep
%setup -q
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%find_lang %{name}5 --with-qt --without-mo
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files lang -f %{name}5.lang
%files
%defattr(-,root,root)
%doc COPYING* README*
%{_kf5_bindir}/kgendesignerplugin
%{_kf5_mandir}/man1/kgendesignerplugin.*
%{_kf5_datadir}/widgets/
%dir %{_kf5_plugindir}
%{_kf5_plugindir}/designer/
%files devel
%defattr(-,root,root)
%{_kf5_libdir}/cmake/KF5DesignerPlugin/
%changelog