File plasma-declarative-widgets.spec of Package plasma-declarative-widget

#
# 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-declarative-widgets
Summary:        Declarative widgets for use on Plasma Tablet
Url:            http://www.kde.org
Version:        0.2.5
Release:        1
License:        Other License(s), see package
Group:          System/GUI/KDE
Source0:        plasma-declarative-widgets.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-build-ba pl
%kde4_runtime_requires 
AutoReqProv:    yes
Requires:       licenses
#Requires:       kdebase4-workspace licenses
#Requires:       kdebase4-workspace licenses plasma-mobile-config
BuildRequires:  fdupes desktop-data-openSUSE
BuildArch:      noarch

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

%description
Plasma Active Apps

Authors:
--------
    Marco Martin, Artur Souza, et al

%prep
%setup -qn plasma-declarative-widgets

%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/applications/kde4/news-tablet.desktop

  %fdupes -s %{buildroot} 
  %kde_post_install
  #%%find_lang plasma_mobile

%clean
  rm -rf $RPM_BUILD_ROOT

%post


#%%files -f plasma_mobile.lang

%files
%defattr(-,root,root)
#%%attr(0755,root,root) /usr/env/plasmainputmethod.sh

%_kde_share_dir/services/*
%_kde_share_dir/apps/plasma/plasmoids/
/usr/share/applications/kde4/*
%doc 

%changelog
openSUSE Build Service is sponsored by