LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File plasmoid-glucose.spec of Package plasmoid-glucose (Project KDE:Extra)

# spec file for package plasmoid-glucose (Version 0.1.1)
# Copyright (c) 2011 Buschmann <buschmann23@opensuse.org>
# 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/

# norootforbuild

BuildRequires:  kdebase4-workspace-devel update-desktop-files
BuildRequires:  libqt4-devel >= 4.6.0

Name:           plasmoid-glucose
Summary:        Bloodsugar Diary Plasmoid
Version:        0.1.1
Release:        1
License:        GPLv2
Group:          System/GUI/KDE
Source0:        124864-glucose-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://kde-look.org/content/show.php/Glucose+-+Bloodsugar+Diary?content=124864


    Friedrich Pülz

%setup -q -n glucose-%{version}

  cd plasma-dataengine-bloodsugardiary-0.1
  %cmake_kde4 -d builddir
  cd ../../plasma-applet-glucose-%{version}
  %cmake_kde4 -d builddir

  cd plasma-dataengine-bloodsugardiary-0.1/builddir
  cd ../../plasma-applet-glucose-%{version}/builddir
  cd ..
  chmod -x README
  %suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-applet-glucose.desktop
  %suse_update_desktop_file -n $RPM_BUILD_ROOT/usr/share/kde4/services/plasma-engine-bloodsugardiary.desktop

  rm -rf $RPM_BUILD_ROOT

%doc plasma-applet-glucose-%{version}/COPYING plasma-applet-glucose-%{version}/AUTHORS