File plasmate.spec of Package plasmate

# spec file for package plasmate (Version 1.0)
# Copyright (c) 2013 Buschmann <>
# 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

# norootforbuild

BuildRequires: kdebase4-workspace-devel >= 4.10
BuildRequires: libkdepimlibs4-devel >= 4.10
BuildRequires: libattica-devel
BuildRequires: libgpgme-devel
BuildRequires: git
BuildRequires: update-desktop-files

Name:           plasmate
Summary:        Plasma SDK
Version:        1.0
Release:        1
License:        GPL-2.0
Group:          Development/Tools/IDE
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Requires:	plasmoidviewer
Requires:	git

A small IDE taylored for development of Plasma components, such as Widgets, Runners, Dataengines.

%package -n plasmoidviewer
Group:		Development/Tools/Other
Summary:	Viewer for Plasmoids
License:	GPL-2.0

%description -n plasmoidviewer
Small CLI application to to test plasmoids in an extra view, independent from the current plasma interface.

%setup -q

  %cmake_kde4 -d builddir

  cd builddir
  cd ..
  %suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/applications/kde4/plasmate.desktop

%attr(755,root,root) %_kde4_bindir/kwin-windowswitcherpreviewer
%attr(755,root,root) %_kde4_bindir/plasma-remote-widgets-browser
%attr(755,root,root) %_kde4_bindir/plasmaengineexplorer
%attr(755,root,root) %_kde4_bindir/plasmakconfigxteditor
%attr(755,root,root) %_kde4_bindir/plasmaremoteinstaller
%attr(755,root,root) %_kde4_bindir/plasmate
%attr(755,root,root) %_kde4_bindir/plasmawallpaperviewer
%attr(755,root,root) %_kde4_applicationsdir/plasmate.desktop

%files -n plasmoidviewer
%attr(755,root,root) %_kde4_bindir/plasmoidviewer

openSUSE Build Service is sponsored by