kde-gtk-config5/kde-gtk-config5.spec

79 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package kde-gtk-config5
#
# 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: kde-gtk-config5
Version: 2.9.90
Release: 0
Summary: A small IDE
License: LGPL-2.0+
Group: System/GUI/KDE
Url: https://projects.kde.org/projects/extragear/sdk/kde-gtk-config
Source: kde-gtk-config-%{version}.tar.xz
Patch0: append5.diff
BuildRequires: extra-cmake-modules
BuildRequires: karchive-devel
BuildRequires: kauth-devel
BuildRequires: kcmutils-devel
BuildRequires: kconfigwidgets-devel
BuildRequires: kf5-filesystem
BuildRequires: ki18n-devel
BuildRequires: knewstuff-devel
BuildRequires: xz
BuildRequires: pkgconfig(Qt5Sql) >= 5.2.0
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A small IDE taylored for development of Plasma components,
such as Widgets, Runners, Dataengines.
%prep
%setup -q -n kde-gtk-config-%{version}
%patch0 -p1
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%config %{_kf5_configdir}/cgcicon.knsrc
%config %{_kf5_configdir}/cgctheme.knsrc
%config %{_kf5_configdir}/cgcgtk3.knsrc
%{_kf5_servicesdir}/
%{_kf5_plugindir}/
%{_kf5_libdir}/libexec/
%{_kf5_sharedir}/kcm-gtk-module/
%dir %{_kf5_sharedir}/icons/hicolor/8x8
%dir %{_kf5_sharedir}/icons/hicolor/8x8/actions
%{_kf5_sharedir}/icons/hicolor/*/*/*.*
%changelog