--- /dev/null
+--- hplip-3.10.2/hplip.desktop.in~ 2010-02-25 00:07:55.000000000 +0100
++++ hplip-3.10.2/hplip.desktop.in 2010-05-12 12:57:08.175491500 +0200
+@@ -7,6 +7,6 @@
+ Exec=hp-toolbox
+ Icon=@abs_datadir@/hplip/data/images/128x128/hp_logo.png
+ Terminal=false
+-Categories=Application;Utility;
++Categories=Settings;HardwareSettings;Printing;
+ X-KDE-StartupNotify=false
+ StartupNotify=false
+--- hplip-3.10.2/hplip-systray.desktop.in~ 2010-02-25 00:07:55.000000000 +0100
++++ hplip-3.10.2/hplip-systray.desktop.in 2010-05-12 12:57:27.908662640 +0200
+@@ -7,6 +7,6 @@
+ Exec=hp-systray
+ Icon=@abs_datadir@/hplip/data/images/128x128/hp_logo.png
+ Terminal=false
+-Categories=Application;Utility;
++Categories=Settings;HardwareSettings;Printing;
+ X-KDE-StartupNotify=false
+ StartupNotify=false
Summary(pl.UTF-8): Serwer dla drukarek HP Inkjet
Name: hplip
Version: 3.10.2
-Release: 3
+Release: 4
License: BSD, GPL v2 and MIT
Group: Applications/System
Source0: http://dl.sourceforge.net/hplip/%{name}-%{version}.tar.gz
# Source0-md5: 4df6f16c47ae7edd015bf2cf5155f26f
+Patch0: %{name}-desktop.patch
URL: http://hplipopensource.com/
BuildRequires: autoconf
BuildRequires: automake
%prep
%setup -q
+%patch0 -p1
sed -i -e's,^#!/usr/bin/env python$,#!/usr/bin/python,' *.py
%build