File plasma-mobile.spec of Package plasma-mobile
#
# spec file for package plasmoid-webwelcome (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: plasma-mobile
Summary: Plasma Active Shell
Url: http://plasma.kde.org
Version: 0.2.5
Release: 1
License: Other License(s), see package
Group: System/GUI/KDE
Source0: plasma-mobile.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build-ba pl
%kde4_runtime_requires
AutoReqProv: yes
Requires: kdebase4-workspace licenses
#Requires: kdebase4-workspace licenses plasma-mobile-config
BuildRequires: fdupes
#Provides: plasma-mobile = 0.2.0
#Obsoletes: plasma-mobile <= 0.2.0
%kde4_runtime_requires
%description
Plasma Active Shell, built on top of Plasma Quick
Authors:
--------
Marco Martin, Sebastian Kügler, et al
%prep
%setup -qn plasma-mobile
%build
%cmake_kde4 -d builddir
%make_jobs
%install
pushd builddir
%makeinstall
popd
install -d $RPM_BUILD_ROOT/%_kde4_sharedir/env
install -m 0755 virtualkeyboard/inputmethod/plasmainputmethod.sh $RPM_BUILD_ROOT/%_kde4_sharedir/env
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-applet-appswitcher.desktop
%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-applet-quickdialer-qml.desktop
%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-applet-mobilesystemtray.desktop
%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-applet-batterymonitor.desktop
%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-applet-webdashboard.desktop
#%%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-engine-preview.desktop
#%%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-applet-fakesignal.desktop
%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-applet-fakecontactlist-qml.desktop
%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-containment-mobiledesktop.desktop
%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-containment-mobilelauncher.desktop
#%%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-applet-qmlwidgets.desktop
%suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-toolbox-mobiletoolbox.desktop
%fdupes -s %{buildroot}
%kde_post_install
#%%find_lang plasma_mobile
%clean
rm -rf $RPM_BUILD_ROOT
%post
ln -s /usr/bin/plasma-mobile /usr/bin/plasma-tablet || true
%postun
#rm -f /usr/bin/plasma-tablet || true
#%%files -f plasma_mobile.lang
%files
%defattr(-,root,root)
%attr(0755,root,root) /usr/share/kde4/env/plasmainputmethod.sh
#%%_kde_share_dir/env/plasmainputmethod.sh
%dir /usr/share/kde4/env
%_kde4_appsdir/nepomukstorage/nepomukstorage.notifyrc
%_kde4_servicesdir/*
%_kde4_appsdir/plasma/plasmoids/
%_kde4_appsdir/plasma/resourcedelegates/
%_kde4_appsdir/desktoptheme/air-mobile/
%_kde4_appsdir/desktoptheme/oxygen-mobile/
%_datadir/wallpapers/Fiber/
%_datadir/wallpapers/HorosGreen/
%_libdir/kde4/*
%_libdir/libkdeinit4_plasma-mobile.so
%_bindir/plasma-mobile
%_kde4_appsdir/plasma-mobile/
/usr/share/autostart/*
/usr/share/icons/plasmamobilemouse/
%_bindir/plasma-keyboardcontainer
%_libdir/libkdeinit4_plasma-keyboardcontainer.so
%_libdir/qt4/plugins/inputmethods/
%changelog