LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File plasmate.spec of Package plasmate (Project home:eyecreate)

#
# spec file for package plasmate (Version 0.1.0)
#
# Copyright 2010 Open-SLX GmbH <sebas@open-slx.com>
#
# 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.
# published by the Open Source Initiative.

# norootforbuild

BuildRequires:  kdebase4-workspace-devel licenses update-desktop-files

Name:           plasmate
Summary:        A Plasma Shell for mobile devices
Url:            http://www.kde.org
Version:        0.1alpha3
Release:        1
License:        Other License(s), see package
Group:          Development/Tools/IDE
Source0:        plasmate.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build-ba pl
%kde4_runtime_requires 
AutoReqProv:    yes
Requires:       kdebase4-workspace licenses git
BuildRequires:  fdupes libgpgme-devel libkdepimlibs4-devel

#Provides:       plasma-mobile = 0.2.0
#Obsoletes:      plasma-mobile <= 0.2.0
%kde4_runtime_requires

%description
Plasma Add-On Creator. An IDE specifically designed to develop
Add-Ons for Plasma workspaces, such as Widgets written in QML,
JavaScript, Python or Ruby, Plasma themes, dataengines and runner.

Authors:
--------
Diego Casella, Shantanu Tushar Jha, Artur Souza, Sebastian K├╝gler, et al.

%prep
%setup -qn plasmate

%build
  %cmake_kde4 -d builddir
  %make_jobs

%install
  pushd builddir
  %makeinstall
  popd
  for FILE in COPYING ; do
    MD5SUM=$(md5sum $FILE | sed 's/ .*//')
    if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
        ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
    fi
  done
  #%%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-toolbox-mobiletoolbox.desktop
  %suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/applications/kde4/plasmate.desktop
  %fdupes -s %{buildroot} 
  %kde_post_install
  #%%find_lang plasma_mobile

%clean
  rm -rf $RPM_BUILD_ROOT

#%%files -f plasma_mobile.lang

%files
%defattr(-,root,root)
%attr(0755,root,root) /usr/share/applications/kde4/plasmate.desktop

%_kde_share_dir/services/*
#%%_kde_share_dir/apps/plasma/plasmoids/
%_libdir/kde4/*
#%%_kde_share_dir/apps/desktoptheme/air-mobile/
#%/usr/share/wallpapers/Fiber/
#%/usr/share/wallpapers/Universe/
#%%_libdir/kde4/imports/org/kde/plasma/phone/
#%%_libdir/kde4/imports/org/kde/plasma/mobilecomponents/
#%%_libdir/libkdeinit4_plasma-mobile.so
#%%_libdir/libkdeinit4_plasma-keyboardcontainer.so
%_bindir/plasmate
#%%_bindir/plasma-keyboardcontainer
%_kde_share_dir/apps/plasmate/
#%%_kde_share_dir/env/*
#%%/usr/env/
#%%/usr/share/autostart/*
#%%_libdir/qt4/plugins/inputmethods/
/usr/share/applications/kde4/plasmate.desktop
/usr/share/kde4/config/plasmate.knsrc

%doc 

%changelog
* Mon Mar 15 2011 sebas@kde.org
- Initial packaging from KDE SVN trunk