File kde4-printer-applet.spec of Package kde4-printer-applet

#
# spec file for package kde4-printer-applet
#
# Copyright (c) 2012 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/
#


Name:           kde4-printer-applet
Version:        4.8.4
Release:        0
Summary:        System tray utility to show current print jobs
License:        GPL-2.0+
Group:          Productivity/Other
Url:            http://www.kde.org
Source0:        printer-applet-%{version}.tar.xz
Patch0:         4_7_BRANCH.diff
BuildRequires:  kdebase4-workspace-devel
BuildRequires:  python-cups
BuildRequires:  python-kde4-devel
BuildRequires:  xz
Requires:       python-cups
Requires:       python-kde4
Requires:       system-config-printer
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires

%description
This package contains a system tray utility to show current print jobs.

%prep
%setup -q -n printer-applet-%{version}
%patch0

%build
%cmake_kde4 -d build
%make_jobs

%install
cd build
%make_install
%kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc README COPYING
%_kde4_bindir/printer-applet
%_kde4_htmldir/en/printer-applet/
%_kde4_appsdir/printer-applet/
%{_datadir}/autostart/printer-applet.desktop

%changelog
openSUSE Build Service is sponsored by