File plasmoid-quickaccess.spec of Package plasmoid-quickaccess
#
# spec file for package plasmoid-quickaccess
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2008-2009 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
Name: plasmoid-quickaccess
Version: 0.8.1
Release: 13
Summary: Quick Access Plasmoid for KDE Desktop
License: GPLv2+
Url: http://www.kde-look.org/content/show.php/QuickAccess?content=101968
Group: System/GUI/KDE
Source0: 101968-plasma-widget-quickaccess_%{version}.orig.tar.bz2
# PATCH-FIX-UPSTREAM quickaccess.cpp.diff lp#670025 asterios.dramis@gmail.com -- Fix for widget icon in panel does not respect panel icon size (see https://bugs.launchpad.net/quickaccess/+bug/670025)
Patch0: quickaccess.cpp.diff
# PATCH-FIX-UPSTREAM quickaccess.h.diff lp#670025 asterios.dramis@gmail.com -- Fix for widget icon in panel does not respect panel icon size (see https://bugs.launchpad.net/quickaccess/+bug/670025)
Patch1: quickaccess.h.diff
# PATCH-FIX-OPENSUSE kde-plasma-quickaccess-0.8.1-fix-address-of-temporary-object-error.patch asterios.dramis@gmail.com -- Fix "taking address of temporary object" build error (with -fpermissive)
Patch2: kde-plasma-quickaccess-0.8.1-fix-address-of-temporary-object-error.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libkde4-devel
BuildRequires: libkonq-devel
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif
Requires: kdebase4-workspace
Provides: kdebase3:/opt/kde3/share/apps/kicker/builtins/browser.desktop
Provides: kde4-plasmoid-quickaccess = %{version}
Obsoletes: kde4-plasmoid-quickaccess < %{version}
%kde4_runtime_requires
%description
This is a small applet designed for the panel to have quick access to
the most used folders.
%prep
%setup -qn plasma-widget-quickaccess-%{version}
%patch0
%patch1
%patch2 -p1 -b .fix-address-of-temporary-object-error
%build
%cmake_kde4 -d builddir
%make_jobs
%install
pushd builddir
%kde4_makeinstall
popd
%if 0%{?suse_version}
%suse_update_desktop_file %{buildroot}%{_kde4_servicesdir}/plasma-applet-quickaccess.desktop
%endif
%find_lang plasma_applet_quickaccess
%kde_post_install
%clean
rm -rf %{buildroot}
%files -f plasma_applet_quickaccess.lang
%defattr(-,root,root,-)
%doc COPYING ChangeLog README
%{_kde4_modulesdir}/plasma_applet_quickaccess.so
%{_kde4_servicesdir}/plasma-applet-quickaccess.desktop
%changelog