Package not found: openSUSE:Slowroll:Build:2/mm-common

File kgrubeditor.spec of Package kgrubeditor4

#
# spec file for package kgrubeditor
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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

Name:           kgrubeditor
Version:        0.8.5
Release:        1
Summary:        KDE utility to edit GRUB's configuration files

License:        GPLv2+
Url:            http://sourceforge.net/projects/kgrubeditor
Group:          System/Management
Source:         http://sourceforge.net/projects/kgrubeditor/files/kgrubeditor/KGRUBEditor%200.8.5/KGRUBEditor-%{version}-src.tar.bz2
# PATCH-FIX-UPSTREAM kgrubeditor-0.8.5_kgrubeditor.desktop.patch.bz2 asterios.dramis@gmail.com -- Make kgrubeditor show in the correct category in KDE settings
Patch0:         kgrubeditor-0.8.5_kgrubeditor.desktop.patch.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  libkde4-devel
%if 0%{?suse_version}
BuildRequires:  update-desktop-files
%endif
%kde4_runtime_requires
Recommends:     grub

%description
KGRUBEditor is a KDE utility, that edits GRUB's configuration files through an
inituitive user interface.
It combines both ease of use with flexibility and is the perfect solution for
those who want to configure GRUB, without messing with its files.

%prep
%setup -q
%patch -P0

%build
%cmake_kde4 -d build
%make_jobs

%install
cd build
%kde4_makeinstall
cd ..

%if 0%{?suse_version}
%suse_update_desktop_file -r kgrubeditor_app Qt KDE System SystemSetup
%suse_update_desktop_file %{buildroot}%{_kde4_servicesdir}/kgrubeditor.desktop
%endif

%kde_post_install

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc COPYING ChangeLog README
%{_kde4_modulesdir}/kgrubeditor.so
%{_kde4_applicationsdir}/kgrubeditor_app.desktop
%{_kde4_appsdir}/kgrubeditor/
%{_kde4_iconsdir}/hicolor/*/apps/kgrubeditor.*
%{_kde4_sharedir}/config.kcfg/kgrubeditor.kcfg
%{_kde4_configdir}/kgrubeditor_splash.knsrc
%{_kde4_servicesdir}/kgrubeditor.desktop

%changelog
openSUSE Build Service is sponsored by