Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > e96220ac9c3de9659375ff2dffe250cb > files > 20

hplip-3.9.2-0.2mdv2009.0.src.rpm

# Define if you want to build the sane backend (default)
%define sane_backend		1
%{?_with_sane:			%global sane_backend 1}
%{?_without_sane:		%global sane_backend 0}

%define hpip_major		0
%define hpip_libname		%mklibname hpip %{hpip_major}

%define sane_hpaio_major	1
%define sane_hpaio_libname	%mklibname sane-hpaio %{sane_hpaio_major}

# Suppress automatically generated Requires for devel packages
%define _requires_exceptions devel\(.*\)

#define extraversion -RC1
%define extraversion %nil

Summary:	HP printer/all-in-one driver infrastructure
Name:		hplip
Version:	3.9.2
%define		subrel 2
Release:	%mkrel 0
License:	GPLv2+ and MIT
Group:		System/Printing
Source: http://heanet.dl.sourceforge.net/sourceforge/hplip/%{name}-%{version}%{extraversion}.tar.gz
# Taken from Fedora, ensures correct permissions on devices
Source1: hplip.fdi

Patch5: hplip-2.8.12-string-format.patch
Patch6: hplip-3.9.2-unresolved-sym.patch
Patch7: hplip-3.9.2-consolehelper.patch

# Fedora patches
Patch101: hplip-desktop.patch
Patch102: hplip-segfault.patch
Patch104: hplip-marker-supply.patch
Patch105: hplip-dbus.patch
Patch106: hplip-strstr-const.patch
Patch112: hplip-no-root-config.patch
Patch113: hplip-ui-optional.patch

# Debian/Ubuntu patches
Patch201: hplip-hpdio_settings_dialog.patch
Patch202: hplip-hpinfo-query-without-cups-queue.patch
Patch203: hplip-pjl-duplex-binding.patch
Patch204: hplip-photosmart_b9100_support.patch
Patch205: hplip-rebuild_python_ui.patch
Patch206: hplip-rss.patch
Patch207: hplip-2.7.6-14_charsign_fixes.patch

Url:		http://hplip.sourceforge.net/
%if %{sane_backend}
BuildRequires:	libsane-devel, xsane
%endif
%py_requires -d
BuildRequires:	python-sip >= 4.1.1
BuildRequires:	net-snmp-devel
BuildRequires:	libusb-devel >= 0.1.8
BuildRequires:	imagemagick
BuildRequires:	autoconf
BuildRequires:	libcups-devel
BuildRequires:	libjpeg-devel
BuildRequires:	python-devel
BuildRequires:	desktop-file-utils
BuildRequires:	libdbus-devel
Requires:	cups
# For dynamic ppd generation.
Requires:	cupsddk-drivers >= 1.2.3-2mdv
Requires:	foomatic-filters
Requires:	hplip-model-data hplip-hpijs
Requires:	hplip-hpijs-ppds
Requires:	python-sip >= 4.1.1
# Needed for communicating with ethernet-connected printers
Requires:	net-snmp-mibs
# Needed to generate fax cover pages
Requires:	python-reportlab
# Needed since 2.8.4 for IPC
Requires:	python-dbus
# Required by hp-scan for command line scanning
Suggests:	python-imaging
# Some HP ppds are in foomatic-db and foomatic-db-hpijs (bug #47415)
Suggests:	foomatic-db-hpijs

%ifarch x86_64
Conflicts:	cups < 1.2.0-0.5361.0mdk
%endif
# Due to fax ppds.
Conflicts:	hplip-hpijs-ppds <= 2.8.2-1mdv
# (oe) this is because hp-toolbox was moved to a subpackage and won't be
# installed automatically for updates
Requires:	hplip-gui >= %{version}
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%description
This is the HP driver package to supply Linux support for most
Hewlett-Packard DeskJet, LaserJet, PSC, OfficeJet, and PhotoSmart
printers and all-in-one peripherals (also known as Multi-Function
Peripherals or MFPs), which can print, scan, copy, fax, and/or access
flash memory cards.

It is work in progress, but printing, scanning, memory card access,
ink/toner/battery/consumable level checking, and inkjet printer
maintenance are supported on most models, when either connected to the
USB or LAN (built-in interfaces or selected HP JetDirect models) on a
Linux workstation with CUPS printing system.

For status and consumable checking and also for inkjet maintenance
there is the graphical tool "hp-toolbox" available (Menu:
"System"/"Monitoring"/"HP Printer Toolbox").

%package -n %{hpip_libname}
Summary: Dynamic library for the "hplip" HP printer/all-in-one drivers
Group: System/Printing

%description -n %{hpip_libname}
Library needed for the "hplip" HP printer/all-in-one drivers

%package -n %{hpip_libname}-devel
Summary: Headers and links to compile against the "%{hpip_libname}" ("hplip") library
Group: Development/C
Requires: %{hpip_libname} >= %{version}-%{release}
Provides: libhpip-devel = %{version}-%{release}

%description -n %{hpip_libname}-devel
This package contains all files which one needs to compile programs using
the "%{hpip_libname}" library.

%if %{sane_backend}
%package -n %{sane_hpaio_libname}
Summary: SANE driver for scanners in HP's multi-function devices (from HPLIP)
Group: System/Printing
Requires: sane-backends
%define _requires_exceptions devel(libcrypto)\\|devel(libdl)\\|devel(libhpip)\\|devel(libm)\\|devel(libsnmp)
%endif

%if %{sane_backend}
%description -n %{sane_hpaio_libname}
SANE driver for scanners in HP's multi-function devices (from HPLIP)
%endif

%if 0
%if %{sane_backend}
%package -n %{sane_hpaio_libname}-devel
Summary: Headers and links to compile against the "%{sane_hpaio_libname}" ("sane-hpaio") library
Group: Development/C
Requires: %{sane_hpaio_libname} >= %{version}-%{release}
Provides: libsane-hpaio-devel = %{version}-%{release}
%endif

%if %{sane_backend}
%description -n %{sane_hpaio_libname}-devel
This package contains all files which one needs to compile programs using
the "%{sane_hpaio_libname}" library.
%endif
%endif

%package model-data
Summary: Data file listing the HP printer models supported by HPLIP
Group: System/Printing

%description model-data
HPLIP supports most current HP printers and multifunction devices, but
there are some older models not supported. This package contains the
list of supported models. Printerdrake installs it automatically to
determine whether HPLIP has to be installed or not.

%package gui
Summary: HPLIP graphical tools
Group: System/Printing
Requires:python-qt4-gui
Requires: %{name} = %{version}-%{release}
Conflicts: hplip < 2.8.12-4

%description gui
HPLIP graphical tools.


%package hpijs
Summary: HPs printer driver IJS plug-in for GhostScript
Group: System/Printing
Requires: ghostscript
Provides: hpijs
Conflicts: printer-filters < 10.2
Conflicts: hplip <= 1.6.7-1mdv2007.0

%description hpijs
HPs printer driver IJS plug-in for GhostScript. This driver gives full
printing support for nearly all non-PostScript inkjet and laser
printers made by HP.

%package hpijs-ppds
Summary: PPD files for the HPIJS printer driver
Group: System/Printing
Requires: foomatic-filters, hplip-hpijs

%description hpijs-ppds
PPD files to use the HPIJS printer driver with foomatic-rip and a
printer spooler like CUPS, LPRng, PDQ, ...

%package doc
Summary:	Documentation for HPLIP
Group:		System/Printing

%description doc
This package contains documentation for the HPLIP driver.

This is the HP driver package to supply Linux support for most
Hewlett-Packard DeskJet, LaserJet, PSC, OfficeJet, and PhotoSmart
printers and all-in-one peripherals (also known as Multi-Function
Peripherals or MFPs), which can print, scan, copy, fax, and/or access
flash memory cards.

%prep
rm -rf $RPM_BUILD_DIR/%{name}-%{version}%{extraversion}
%setup -q -n %{name}-%{version}%{extraversion}

%patch5 -p1 -b .stringformat
%patch6 -p1 -b .unresolved-sym
%patch7 -p1 -b .consolehelper

# apply fedora patches
# Fix desktop file.
%patch101 -p1 -b .desktop

# Prevent crash when DEVICE_URI/PRINTER environment variables are not
# set (RH bug #479808 comment 6).
%patch102 -p1 -b .segfault

# Low ink is a warning condition, not an error.
%patch104 -p1 -b .marker-supply

# Prevent backend crash when D-Bus not running (bug #474362).
%patch105 -p1 -b .dbus

# Fix compilation.
%patch106 -p1 -b .strstr-const

# Prevent SELinux audit message from the CUPS backends (bug #241776)
%patch112 -p1 -b .no-root-config

# Make utils.checkPyQtImport() look for the gui sub-package (bug #243273).
%patch113 -p1 -b .ui-optional

# Debian/Ubuntu patches
# Bug fix patch from upstream, fixes busy loop when switching to another
# user and crash of settings dialog (Debian bugs #503723, #519696)
%patch201 -p1 -b .settings

# Allow hp-info to query URIs for which there is no CUPS queue
# (Launchpad bug #329220)
%patch202 -p1 -b .query

# FixsShort-edge duplex printing if duplex is PJL-controlled
# https://bugs.launchpad.net/hplip/+bug/244295
%patch203 -p1 -b .pjl-duplex

# Corrections on the models.dat entry for the HP PhotoSmart Pro B9100,
# especially for the correct color calibration mode.
%patch204 -p1 -b .b9100

# compiling ui files to py
%patch205 -p1 -b .rebuildui

# This patch tries to make sure that black is printed with just
# the black pen, if the printer supports it
%patch206 -p1 -b .rss

# code cleanup related to char signedness
%patch207 -p1 -b .14charsign

# Make all files in the source user-writable
chmod -R u+w .

%build
%serverbuild

autoreconf -f
libtoolize
%if !%{sane_backend}
WITHOUT_SANE="--without-sane"
%endif
%configure2_5x $WITHOUT_SANE \
	--disable-foomatic-rip-hplip-install \
	--enable-qt4 --disable-qt3
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool

%make

# convert icons to required sizes
#convert data/images/print.png -resize 16x16 %{name}.mini.png
#convert data/images/print.png -resize 32x32 %{name}.png
#convert data/images/print.png -resize 48x48 %{name}.large.png

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_includedir}
mkdir -p %{buildroot}%{_initrddir}
mkdir -p %{buildroot}%{_sysconfdir}/hp
mkdir -p %{buildroot}/var/run/hplip

# Do not use the macro here, use the standard DESTDIR method as it works
# with HPLIP, in contrary to the non-standard Mandriva method
#make test-destdir DESTDIR=%{buildroot}
make install DESTDIR=%{buildroot}

# Install files which the "make install" missed to install
install -m 644 ip/hpip.h %{buildroot}%{_includedir}
install -m 644 ip/xform.h %{buildroot}%{_includedir}

# Move doc in sub-package
mv %{buildroot}%{_docdir}/%{name}-%{version}%{extraversion} %{buildroot}%{_docdir}/%{name}-doc-%{version}%{extraversion}

# Remove static libraries of SANE driver
rm -f %{buildroot}%{_libdir}/sane/libsane-hpaio*.so
rm -f %{buildroot}%{_libdir}/sane/libsane-hpaio*.la
rm -f %{buildroot}%{_sysconfdir}/sane.d/dll.conf

# Remove other unneeded files
rm -f %{buildroot}%{py_platsitedir}/*.la

# install menu icons
#mkdir -p %{buildroot}%{_iconsdir}/locolor/16x16/apps/
#install -m 644 %{name}.png -D %{buildroot}%{_iconsdir}/%{name}.png
#install -m 644 %{name}.mini.png -D %{buildroot}%{_miconsdir}/%{name}.png
#install -m 644 %{name}.large.png -D %{buildroot}%{_liconsdir}/%{name}.png

mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor='' \
	--dir=%{buildroot}%{_datadir}/applications \
	--remove-category='Application' \
	--remove-category='Utility' \
	--add-category='System' \
	--add-category='Settings' \
	--add-category='Printing' \
        --add-category='Qt' \
        --add-category='HardwareSettings' \
        --add-category='X-MandrivaLinux-CrossDesktop' \
	--remove-key='Version' \
        %{buildroot}%{_datadir}/applications/hplip.desktop

cat > $RPM_BUILD_ROOT%{_datadir}/applications/mandriva-hp-sendfax.desktop << EOF
[Desktop Entry]
Name=HP Sendfax
Comment=Utility for sending faxes with HP's multi-function devices
Exec=%{_bindir}/hp-sendfax
Icon=%{_datadir}/%{name}/data/images/32x32/fax_machine.png
Terminal=false
Type=Application
Categories=TelephonyTools;Qt;Printing;Utility;X-MandrivaLinux-CrossDesktop;
EOF
#' #Fix vim's stupid syntax

rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
# Remove default udev rules because they create several problems
# (writing to fs while it's still read only when udev is run, setting 
# owner of devices while group is enough,...)
# Launchpad bugs #319660, #319661, #319662, #319665
rm -f %{buildroot}%{_sysconfdir}/udev/rules.d/*

# Remove the hal preprobe rules as they were causing breakage (RH bug #479648)
rm -f %{buildroot}%{_datadir}/hal/fdi/preprobe/10osvendor/20-hplip-devices.fdi
mkdir -p %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/
install -p -m644 %{SOURCE1} %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/10-hplip.fdi

# set up consolehelper
mkdir -p %{buildroot}%{_sbindir}
mv %{buildroot}%{_bindir}/hp-setup %{buildroot}%{_sbindir}/hp-setup
ln -s consolehelper %{buildroot}%{_bindir}/hp-setup

mv %{buildroot}%{_bindir}/hp-plugin %{buildroot}%{_sbindir}/hp-plugin
ln -s consolehelper %{buildroot}%{_bindir}/hp-plugin

# Make sure pyc files are generated, otherwise we can get
# difficult to debug problems
pushd %{buildroot}%{_datadir}/%{name}
python -m compileall .
popd

%triggerin -- hplip < 2.7.7
chkconfig --del hplip

%post
%if %mdkversion < 200900
%{update_menus}
%endif
# Restart CUPS to make the Fax PPD known to it
if [ -f /etc/init.d/cups ]; then
	/sbin/service cups condrestart || :
fi

%post -n hplip-hpijs-ppds
# Restart CUPS to make the printing PPDs known to it
if [ -f /etc/init.d/cups ]; then
	/sbin/service cups condrestart || :
fi

%if %mdkversion < 200900
%post -n %{hpip_libname} -p /sbin/ldconfig
%endif

%if %{sane_backend}
%post -n %{sane_hpaio_libname}
%if %mdkversion < 200900
/sbin/ldconfig
%endif
# Add HPLIP driver to /etc/sane.d/dll.conf
if ! grep ^hpaio /etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \
	echo hpaio >> /etc/sane.d/dll.conf; \
fi
%endif

%if %{sane_backend}
%preun -n %{sane_hpaio_libname}
# Remove HPLIP driver from /etc/sane.d/dll.conf
if [ "$1" = 0 ]; then \
	if grep ^hpaio /etc/sane.d/dll.conf >/dev/null 2>/dev/null ; then \
		sed '/hpaio/d' /etc/sane.d/dll.conf > /tmp/$$; \
		cp -f /tmp/$$ /etc/sane.d/dll.conf; \
		rm -f /tmp/$$; \
	fi; \
fi
%endif

%postun
%if %mdkversion < 200900
%{update_menus}
%endif
# Restart CUPS to make the removal of the Fax PPD known to it
if [ -f /etc/init.d/cups ]; then
	/sbin/service cups condrestart || :
fi

%postun -n hplip-hpijs-ppds
# Restart CUPS to make the removal of the printing PPDs known to it
if [ -f /etc/init.d/cups ]; then
	/sbin/service cups condrestart || :
fi

%if %mdkversion < 200900
%postun -n %{hpip_libname} -p /sbin/ldconfig
%endif

%if %{sane_backend}
%postun -n %{sane_hpaio_libname}
%if %mdkversion < 200900
/sbin/ldconfig
%endif
%endif


%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
#doc COPYING doc/*
%config(noreplace) %{_sysconfdir}/hp
%{_datadir}/hal/fdi/policy/10osvendor/10-hplip.fdi
%dir /var/run/hplip/
%{_bindir}/hp-align
%{_bindir}/hp-clean
%{_bindir}/hp-colorcal
%{_bindir}/hp-devicesetup
%{_bindir}/hp-fab
%{_bindir}/hp-faxsetup
%{_bindir}/hp-firmware
%{_bindir}/hp-info
%{_bindir}/hp-levels
%{_bindir}/hp-linefeedcal
%{_bindir}/hp-makecopies
%{_bindir}/hp-makeuri
%{_bindir}/hp-mkuri
%{_bindir}/hp-plugin
%{_bindir}/hp-pqdiag
%{_bindir}/hp-printsettings
%{_bindir}/hp-probe
%{_bindir}/hp-query
%{_bindir}/hp-scan
%{_bindir}/hp-sendfax
%{_bindir}/hp-setup
%{_bindir}/hp-testpage
%{_bindir}/hp-timedate
%{_bindir}/hp-unload
%{_sbindir}/hp-setup
%{_sbindir}/hp-plugin

%exclude %{_datadir}/hplip/data/models
# C libraries for Python
%{_libdir}/python*/*/*.so*
# CUPS backends (0700 permissions, so that CUPS 1.2 runs these backends
# as root)
# Note: this must be /usr/lib not %{_libdir}, since that's the
# CUPS serverbin directory.
%attr(0700,root,root) %{_prefix}/lib/cups/backend/hp*
%{_prefix}/lib/cups/filter/hplipjs
%{_datadir}/cups/drv/hp/hpijs.drv
%{_datadir}/ppd/HP/HP-Fax*.ppd*
# Files
%dir %{_datadir}/hplip
%{_datadir}/hplip/align.py*
%{_datadir}/hplip/clean.py*
%{_datadir}/hplip/colorcal.py*
%{_datadir}/hplip/devicesetup.py*
%{_datadir}/hplip/fab.py*
%{_datadir}/hplip/fax
%{_datadir}/hplip/faxsetup.py*
%{_datadir}/hplip/firmware.py*
%{_datadir}/hplip/hpdio.py*
%{_datadir}/hplip/hpssd*
%{_datadir}/hplip/info.py*
%{_datadir}/hplip/__init__.py*
%{_datadir}/hplip/levels.py*
%{_datadir}/hplip/linefeedcal.py*
%{_datadir}/hplip/makecopies.py*
%{_datadir}/hplip/makeuri.py*
%{_datadir}/hplip/plugin.py*
%{_datadir}/hplip/pqdiag.py*
%{_datadir}/hplip/printsettings.py*
%{_datadir}/hplip/probe.py*
%{_datadir}/hplip/query.py*
%{_datadir}/hplip/scan.py*
%{_datadir}/hplip/sendfax.py*
%{_datadir}/hplip/setup.py*
%{_datadir}/hplip/testpage.py*
%{_datadir}/hplip/timedate.py*
%{_datadir}/hplip/unload.py*
# Directories
%{_datadir}/hplip/base
%{_datadir}/hplip/copier
%dir %{_datadir}/hplip/data
%{_datadir}/hplip/data/ldl
%{_datadir}/hplip/data/localization
%{_datadir}/hplip/data/models
%{_datadir}/hplip/data/pcl
%{_datadir}/hplip/data/ps
%{_datadir}/hplip/installer
%{_datadir}/hplip/pcard
%{_datadir}/hplip/prnt
%{_datadir}/hplip/scan
%{_localstatedir}/lib/hp/hplip.state

%files doc
%defattr(-,root,root)
%doc %{_docdir}/%{name}-doc-%{version}%{extraversion}

%files -n %{hpip_libname}
%defattr(-,root,root)
%{_libdir}/libhpip*.so.*
%{_libdir}/libhpmud.so.*

%files -n %{hpip_libname}-devel
%defattr(-,root,root)
%{_includedir}/hpip.h
%{_includedir}/xform.h
%{_libdir}/libhpip*.so
%{_libdir}/libhpip*.la
%{_libdir}/libhpmud.so
%{_libdir}/libhpmud.la

%if %{sane_backend}

%files -n %{sane_hpaio_libname}
%defattr(-,root,root)
%{_libdir}/sane/libsane-hpaio*.so.*

%if 0
%files -n %{sane_hpaio_libname}-devel
%defattr(-,root,root)
#%{_libdir}/libsane-hpaio*.so
#%{_libdir}/libsane-hpaio*.a
#%{_libdir}/libsane-hpaio*.la
#%{_libdir}/sane/libsane-hpaio*.so
#%{_libdir}/sane/libsane-hpaio*.a
#%{_libdir}/sane/libsane-hpaio*.la
%endif

%endif

%files model-data
%defattr(-,root,root)
%{_datadir}/hplip/data/models

%files gui
%{_bindir}/hp-check
%{_bindir}/hp-print
%{_bindir}/hp-systray
%{_bindir}/hp-toolbox
%{_datadir}/applications/*.desktop
# Files
%{_datadir}/hplip/check.py*
%{_datadir}/hplip/print.py*
%{_datadir}/hplip/systray.py*
%{_datadir}/hplip/toolbox.py*
# Directories
%{_datadir}/hplip/data/images
%{_datadir}/hplip/ui4

%files hpijs
%defattr(-,root,root)
%{_bindir}/hpijs
# Needed for both printing and fax PPDs. They all need HPIJS, therefore
# the link is here
%dir %{_datadir}/ppd
%dir %{_datadir}/ppd/HP

%files hpijs-ppds
%defattr(-,root,root)
%{_datadir}/ppd/HP/*.ppd*
%exclude %{_datadir}/ppd/HP/HP-Fax*.ppd*


%changelog
* Thu Sep 10 2009 Oden Eriksson <oeriksson@mandriva.com> 3.9.2-0.2mdv2009.0
- built for updates
- make the main package require the gui sub package to fix updates 

* Tue Jun 16 2009 Gustavo De Nardin <gustavodn@mandriva.com> 3.9.2-0.1mdv2009.0
+ Revision: 386258
- 3.9.2 update merged from 2009.1

  + Olivier Blin <oblin@mandriva.com>
    - fix icon for sendfax tool in desktop entry

* Wed Sep 10 2008 Tiago Salem <salem@mandriva.com.br> 2.8.7-5mdv2009.0
+ Revision: 283509
- add patch to fix A3 paper size (#43337)
  see (https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/258881)
- bump release

* Thu Sep 04 2008 Tiago Salem <salem@mandriva.com.br> 2.8.7-4mdv2009.0
+ Revision: 280933
- remove non-working patch to disable autostart.
- remove the desktop file to prevent hp-systray autostart
- bump release

* Tue Sep 02 2008 Tiago Salem <salem@mandriva.com.br> 2.8.7-3mdv2009.0
+ Revision: 279258
- add patch to fix https://qa.mandriva.com/show_bug.cgi?id=35782
- bump release

* Mon Aug 18 2008 Tiago Salem <salem@mandriva.com.br> 2.8.7-2mdv2009.0
+ Revision: 273274
- disabling system tray applet auto start
  hplip needs to be installed even if you dont have a hp printer.
- bump release

* Thu Jul 31 2008 Frederik Himpe <fhimpe@mandriva.org> 2.8.7-1mdv2009.0
+ Revision: 257938
- update to new version 2.8.7

* Wed Jul 30 2008 Frederik Himpe <fhimpe@mandriva.org> 2.8.6b-1mdv2009.0
+ Revision: 256258
- update to new version 2.8.6b

* Mon Jun 23 2008 Tiago Salem <salem@mandriva.com.br> 2.8.6-1mdv2009.0
+ Revision: 228452
- Version 2.8.6
- change some patches to apply on the new version
- prevent errors related to cups service when removing package.

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Sat May 17 2008 Frederik Himpe <fhimpe@mandriva.org> 2.8.5-2mdv2009.0
+ Revision: 208467
- Make hplip depend on hplip-hpijs-ppds (fixes bug #39091: PPD file
  for OfficeJet 9100 missing)

* Sun May 11 2008 Frederik Himpe <fhimpe@mandriva.org> 2.8.5-1mdv2009.0
+ Revision: 205808
- Remove all obsolete patches and references to them in the SPEC file
- Remove hack in SPEC file which fixes Gentoo bug #161926, it was fixed
  upstream already in 2.7.7
- New upstream version 2.8.5
- Remove OpenSUSE patch to prevent loading of systray applet: it is integrated
  upstream
- Remove unload-traceback.patch: the file it patches no longer exists
- Create 70-hpmud.fdi hal file so that hal/consolekit will set the correct
  permissions when a HP scanner is plugged in (script from OpenSUSE/Ubuntu)
- Use QT4 for system tray applet GUI, because the QT3 version does
  not embed correctly in GNOME's notification area and Mandriva
  2009.0 uses QT4/KDE4 by default anyway
- Add BuildRequires: libdbus-devel
- Update to 2.8.4
- Comment some obsolete patches
- Add patch from OpenSUSE preventing system tray applet from starting
  if no HP printer is present

* Wed Feb 13 2008 Marcelo Ricardo Leitner <mrl@mandriva.com> 2.8.2-2mdv2008.1
+ Revision: 167077
- Move HP-Fax*ppd from hplip-hpijs-ppds to hplip main package, as we are using cupsddk for ppds by now.
- Enhance .desktop categories for hp-sendfax tool.

  + Thierry Vignaud <tvignaud@mandriva.com>
    - fix spacing at top of description

* Mon Feb 11 2008 Marcelo Ricardo Leitner <mrl@mandriva.com> 2.8.2-1mdv2008.1
+ Revision: 165458
- Removed patch marker-supply: applied upstream.
- Adds requires to cupsddk-drivers >= 1.2.3-2mdv, for dynamic ppd generation.
- New upstream: 2.8.2

* Mon Jan 28 2008 Marcelo Ricardo Leitner <mrl@mandriva.com> 2.7.12-2mdv2008.1
+ Revision: 159259
- Do not hide cups service restart output.

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Thu Dec 20 2007 Marcelo Ricardo Leitner <mrl@mandriva.com> 2.7.12-1mdv2008.1
+ Revision: 135754
- New upstream: 2.7.12

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Mon Oct 22 2007 Marcelo Ricardo Leitner <mrl@mandriva.com> 2.7.10-1mdv2008.1
+ Revision: 101112
- New upstream: 2.7.10

* Wed Oct 10 2007 Marcelo Ricardo Leitner <mrl@mandriva.com> 2.7.9-1mdv2008.1
+ Revision: 96925
- New upstream: 2.7.9

  + Thierry Vignaud <tvignaud@mandriva.com>
    - do not harcode icon extension

* Wed Sep 19 2007 Nicolas Lécureuil <neoclust@mandriva.org> 2.7.7-8mdv2008.0
+ Revision: 90111
- Fix menu categories (Bug #33079)

* Wed Sep 12 2007 Marcelo Ricardo Leitner <mrl@mandriva.com> 2.7.7-7mdv2008.0
+ Revision: 84647
- Cleanup old initscript when upgrading from an old package. Closes: #32398

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'

* Wed Aug 22 2007 Oden Eriksson <oeriksson@mandriva.com> 2.7.7-6mdv2008.0
+ Revision: 68945
- ehh, i meant System/Printing :)
- fix deps sip/python-sip
- use the new System/Printers RPM GROUP

* Wed Aug 08 2007 Oden Eriksson <oeriksson@mandriva.com> 2.7.7-5mdv2008.0
+ Revision: 60202
- rebuilt against new net-snmp libs

* Wed Aug 08 2007 Funda Wang <fundawang@mandriva.org> 2.7.7-4mdv2008.0
+ Revision: 60116
- BR desktop-file-utils
- Add desktop file patch from fedora
- use hplip's own desktop file

* Wed Aug 08 2007 Funda Wang <fundawang@mandriva.org> 2.7.7-3mdv2008.0
+ Revision: 60079
- No more hardware category (bug#32383)
- fix typo
- add more appropriate desktop entry category

* Sat Aug 04 2007 Funda Wang <fundawang@mandriva.org> 2.7.7-1mdv2008.0
+ Revision: 58934
- New version 2.7.7

* Wed Jul 25 2007 Funda Wang <fundawang@mandriva.org> 2.7.6-1mdv2008.0
+ Revision: 55449
- Add gentoo fix for gentoobug#161926, to be fixed in upstream 2.7.7
- fix desktop entry categories
- no more service
- fix file list
- kill old menu
- Merge fedora patches
- Rediff patch11
- add official patch
- New version

* Wed Jun 20 2007 Marcelo Ricardo Leitner <mrl@mandriva.com> 1.7.4a-2mdv2008.0
+ Revision: 41898
- Use py_requires macro.

* Sun May 13 2007 Funda Wang <fundawang@mandriva.org> 1mdv2008.0-current
+ Revision: 26583
- remove python sitepackages la files
- New upstream version


* Tue Jan 30 2007 Olivier Blin <oblin@mandriva.com> 1.6.12-2mdv2007.0
+ Revision: 115330
- move doc in subpackage

* Tue Jan 23 2007 Marcelo Ricardo Leitner <mrl@mandriva.com> 1.6.12-1mdv2007.1
+ Revision: 112622
- New upstream: 1.6.12
- Rediff hplip-1.6.12-HP-PhotoSmart_7150tilde.patch and
  hplip-1.6.12-14_charsign_fixes.patch due to data file format
  change.

* Thu Dec 14 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.6.10-1mdv2007.1
+ Revision: 96768
- Fix python macro
- Add sources
- New Version 1.6.10
- Import hplip

* Tue Sep 19 2006 Till Kamppeter <till@mandriva.com> 1.6.9-1mdv2007.0
- Updated to version 1.6.9 final (Added support for HP PhotoSmart A310,
  C5100, C6100, C7100, D5100, D5060, and B8300 series printers, many
  bug fixes, especially on faxing and on documentation).

* Thu Sep 14 2006 Till Kamppeter <till@mandriva.com> 1.6.9-0.1mdv2007.0
- Updated to version 1.6.9-rc3.

* Sat Aug 05 2006 Till Kamppeter <till@mandriva.com> 1.6.7-2mdv2007.0
- /usr/bin/hpijs was included twice, fixed (bug 24111).

* Fri Aug 04 2006 Till Kamppeter <till@mandriva.com> 1.6.7-1mdv2007.0
- Updated to version 1.6.7 (Improved auto-assosiation of PPD files to detected
  printers and faxes by the web interface of CUPS 1.2; static IP ports for the
  daemons; tons of bug fixes; new printers models: HP Photosmart D6100 and 
  D7100).

* Sat Jul 01 2006 Till Kamppeter <till@mandriva.com> 1.6.6-4mdv2007.0
- Uncompressed patches.

* Thu Jun 29 2006 Till Kamppeter <till@mandriva.com> 1.6.6-3mdk
- Updated to version 1.6.6a (Bug fixes, should make fax really usable
  again).

* Sat Jun 24 2006 Till Kamppeter <till@mandriva.com> 1.6.6-2mdk
- Updated to version 1.6.6a.2 (Bug fixes, mainly for fax).

* Sat Jun 17 2006 Till Kamppeter <till@mandriva.com> 1.6.6-1mdk
- Updated to version 1.6.6 (Adaption of the CUPS backends to CUPS 1.2.x,
  improvements on faxing, several scanning bug fixes, several other bug
  fixes, new printer models: HP Deskjet D4100, D2300, D1360 series,
  Photosmart A430, A510, A710, A610, C4100, C3100, D7300 series).
- Removed patch 18 (merged upstream).

* Thu May 25 2006 Till Kamppeter <till@mandriva.com> 0.9.11-4mdk
- Added menu entry for hp-sendfax (with current HPLIP hp-sendfax does
  not pop up automatically any more when sending faxes).

* Mon May 15 2006 Till Kamppeter <till@mandriva.com> 0.9.11-3mdk
- Fixed bug which made Duplex not working any more in HPLIP 0.9.9
  (patch 18, contains this fix and also the fix of May 11).

* Fri May 12 2006 Till Kamppeter <till@mandriva.com> 0.9.11-2mdk
- Fixed problem of HP PSC 950 series printers not being correctly
  recognized.

* Thu May 11 2006 Till Kamppeter <till@mandriva.com> 0.9.11-1mdk
- Updated to version 0.9.11 (Changes on "hp-sendfax", revamped
  mail notification, many bug fixes, new models: LaserJet 5200,
  LaserJet 5200L, Color LaserJet 2605, Officejet 6300 series,
  Officejet 4300 series).
- Replaced "BuildRequires: sip-devel PyQt-devel" by
  "BuildRequires: sip PyQt" as the sip and PyQt packages were
  restructured.

* Wed Apr 05 2006 Till Kamppeter <till@mandriva.com> 0.9.10-2mdk
- Moved CUPS backend directory from /usr/lib64/cups/backend to
  /usr/lib/cups/backend on 64-bit systems.

* Wed Mar 29 2006 Till Kamppeter <till@mandriva.com> 0.9.10-1mdk
- Updated to version 0.9.10 (Bugfix release).
- Let CUPS be restarted when sub-packages with PPD files are added or
  removed.

* Mon Mar 13 2006 Till Kamppeter <till@mandriva.com> 0.9.9-1mdk
- Updated to version 0.9.9 (Device communication via libusb, USB 1284.4
  support for many laser printers, dropped use of USB device file mames
  in CUPS/SANE URIs, updated PPD files for CUPS 1.2 compatibility, moved 
  temp fax .g3 files to ~/hpfax/hpfax-<jobid>.g3, page counting for fax,
  fullbleed fix, support for HP DeskJet F300 Series All-in-one, bug fixes).

* Sat Feb 25 2006 Till Kamppeter <till@mandriva.com> 0.9.8-4mdk
- Applied official bugfix patch 0.9.8-4 from HP (In addition to the
  fixes of the previous patch an array index underflow in the driver
  for the FastRaster device class (LaserJet 1010/1012) is fixed).
- Removed patch 4 (probably fixed upstream).

* Tue Feb 07 2006 Till Kamppeter <till@mandriva.com> 0.9.8-3mdk
- Applied official bugfix patch 0.9.8-3 from HP (Fixed an extraneous
  "r-value (1) error" message, which can occur while launching HPLIP
  utilities with inkjets, reported by Henrique de Moraes Holschuh from
  Debian).

* Thu Feb 02 2006 Till Kamppeter <till@mandriva.com> 0.9.8-2mdk
- Apply 0700 permissions to the CUPS backends, so that CUPS 1.2 runs them
  as root.
- Make the CUPS backends being installed in %%{_libdir} so that they go
  into /usr/lib64/cups/backend on 64-bit systems.
- Introduced %%mkrel.

* Wed Feb 01 2006 Till Kamppeter <till@mandriva.com> 0.9.8-1mdk
- Updated to version 0.9.8 (PC send fax support, HP Setup utility, 
  enhanced the status history table in hp-info, added support for
  HP Color LaserJet 2605, LaserJet 3050, 3060, 3062, 3390, 3392,
  Deskjet 6980 series, 6940 series, lots of bug fixes).
- Removed patch 16 (merged upstream).
- Added "Requires: python-reportlab" as this package is needed to
  generate fax cover pages.

* Wed Jan 04 2006 Oden Eriksson <oeriksson@mandriva.com> 0.9.7-5mdk
- rebuilt against new net-snmp with new major (10)

* Wed Dec 21 2005 Oden Eriksson <oeriksson@mandriva.com> 0.9.7-4mdk
- rebuilt against net-snmp that has new major (9)

* Thu Dec 08 2005 Till Kamppeter <till@mandriva.com> 0.9.7-3mdk
- Rebuilt because 0.9.7-2mdk was not cleanly uploaded.

* Wed Dec 07 2005 Till Kamppeter <till@mandriva.com> 0.9.7-2mdk
- Applied official bugfix patch 0.9.7-2 from HP (Fixed Photosmart 2570 
  series blue screen scanning error, device status in hpiod, SuperB margin 
  issue with OfficeJet K550, K850, and DeskJet 9800).

* Tue Nov 22 2005 Till Kamppeter <till@mandriva.com> 0.9.7-1mdk
- Updated to version 0.9.7 (Reverted buggy change on duplex printing in 
  0.9.6, better parallel device support, faster startup of the toolbox,
  hp-makeuri works with host names now, support for motorized photo paper
  tray, new models: HP Color LaserJet 3000, 3600, 3800).

* Mon Nov 14 2005 Oden Eriksson <oeriksson@mandriva.com> 0.9.6-2mdk
- rebuilt against openssl-0.9.8a

* Sun Oct 16 2005 Till Kamppeter <till@mandriva.com> 0.9.6-1mdk
- Updated to version 0.9.6 (Design changes and bug fixes in the hp-toolbox;
  prepared HPLIP to run as a non-root user; bug fixes in HPIJS, especially
  full-bleed and duplex; new models supported: HP Color LaserJet 4730 MFP,
  Deskjet 460, Officejet Pro K550, and K850).
- Removed patches 5, 8, 9, 10, 12, 13, and 14 (merged upstream).

* Sat Sep 17 2005 Till Kamppeter <till@mandriva.com> 0.9.5-1mdk
- Updated to version 0.9.5 (Parallel port device support, tons of
  bug fixes, fixed 4-edge full-bleed upstream, added support for
  HP PhotoSmart 420, 470, 2570, 3100, 3200, 3300, 7800, 8000, DeskJet
  5440, 5940, OfficeJet 5600, PSC 1400, Color LaserJet 4700).
- Included official patch from HP (patch 8).
- Applied Debian/Ubuntu patches (patches 9-15).
- Rediffed patch 5 to not conflict with the Debian/Ubuntu patches.
- Removed patches 6 and 7 (merged upstream).

* Sat Sep 10 2005 Till Kamppeter <till@mandriva.com> 0.9.4-6mdk
- Fixed full-bleed on Letter, A4 or bigger paper (patch 7).
- Let the HPLIP toolbox start the browser to access the web interface
  of a LAN printer in the background, so that one can still work in
  the toolbox while the browser is open (patch 6).

* Fri Sep 09 2005 Till Kamppeter <till@mandriva.com> 0.9.4-5mdk
- Removed "su" from statup script, it can break things in certain cases
  (patch 5).

* Thu Sep 08 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 0.9.4-4mdk
- 64-bit fixes

* Wed Aug 31 2005 Till Kamppeter <till@mandriva.com> 0.9.4-3mdk
- Updated package summary and description.

* Wed Aug 31 2005 Till Kamppeter <till@mandriva.com> 0.9.4-2mdk
- Some HP PhotoSmart 7150 identify themselves as "hp photosmart 7150~",
  applied patch 3 as workaround (bug 16514).

* Wed Jul 27 2005 Till Kamppeter <till@mandrakesoft.com> 0.9.4-1mdk
- Updated to version 0.9.3 (Added support for HP Color LaserJet 2800, HP 
  Photosmart 8200, HP Photosmart 330, HP Photosmart 380, Deskjet 1280, 
  Deskjet 3040, Deskjet 3920, tons of bug fixes: 4-edge full-bleed 
  printing on postcard-sized PhotoSmarts, 64-bit issues, unidirectional
  printing, info querying, added some older HP devices which work with
  HPIJS/HPLIP to the models.xml file, and more).

* Wed May 18 2005 Till Kamppeter <till@mandrakesoft.com> 0.9.3-1mdk
- Updated to version 0.9.3 (4-edge full-bleed on all paper sizes should 
  now work on all appropriate models!! Fixes for HP LaserJet 1010, 1012,
  1015, 1022, 4050, DeskJet 1220C, OfficeJet K80xi, V40, 7200, 7300, 7400,
  margin correction on many recent DeskJets, fixed errors on "hp-probe -s*"
  and on accessing photo cards when no card is inserted, many other fixes).

* Wed Apr 20 2005 Till Kamppeter <till@mandrakesoft.com> 0.9.2-1mdk
- Updated to version 0.9.2 (Again tons of bug fixes, especially
  toner level and LCD contents display for network laser, simplified
  architecture of the Toolbox, new "FastDraft Grayscale" printout
  quality setting).
- Removed patch 2 (merged upstream).
- Commenting out "setSizePolicy" not needed any more, fixed upstream.

* Tue Apr 12 2005 Till Kamppeter <till@mandrakesoft.com> 0.9.1-2mdk
- Let /usr/bin/hp-* links be generated so that HPLIP tools can be easily
  accessed.

* Tue Apr 05 2005 Till Kamppeter <till@mandrakesoft.com> 0.9.1-1mdk
- Updated to version 0.9.1 (Again tons of bug fixes, especially a possible
  fix for bugs 13675 and 14179, ink level and status display fixes for
  several models, lockup fix for HP DeskJet 450, fixed missing support
  for OfficeJet 5110, support for new printer models: HP LaserJet 4240,
  HP LaserJet 9040, hp color LaserJet 4610, HP LaserJet 1022, HP Business
  Inkjet 1000).
- Fixed battery level check for HP DeskJet 450 (patch 2, toolbox would
  make hpssd crashing when HP DeskJet 450 is connected and this patch
  not applied.

* Fri Apr 01 2005 Till Kamppeter <till@mandrakesoft.com> 0.9-2mdk
- Added support for HP PSC 750xi.

* Thu Mar 31 2005 Till Kamppeter <till@mandrakesoft.com> 0.9-1mdk
- Updated to version 0.9 (Tons of bug fixes, should fix bugs 14179, 13675, 
  and 13671; Support for HP LaserJet 1010, 1012, HP Color LaserJet 35xx;
  status and toner level reporting for laser printers).
- Commented out all "setSizePolicy" calls in the .py files, this function 
  is incompatible with current PyQT/SIP (bug 13315).
- Removed patch 0 (merged upstream).

* Mon Mar 07 2005 Till Kamppeter <till@mandrakesoft.com> 0.8.8-5mdk
- Rebuilt for SIP 4.2.1 and PyQt 3.14.

* Mon Feb 14 2005 Till Kamppeter <till@mandrakesoft.com> 0.8.8-4mdk
- Added "Requires: net-snmp-mibs", otherwise communicating with ethernet-
  connected printers does not work.

* Thu Feb 10 2005 Till Kamppeter <till@mandrakesoft.com> 0.8.8-3mdk
- Corrected shutdown priority in startup script to be after CUPS.

* Thu Feb 10 2005 Till Kamppeter <till@mandrakesoft.com> 0.8.8-2mdk
- Let SNMP stuff really getting built (patch0).
- Correct priority in startup script so that the daemons get started
  before CUPS.

* Wed Feb 09 2005 Till Kamppeter <till@mandrakesoft.com> 0.8.8-1mdk
- Updated to version 0.8.8.

* Mon Feb 07 2005 Till Kamppeter <till@mandrakesoft.com> 0.8.7-4mdk
- Put XML file with list of supported models into extra package, so that
  printerdrake can install only this and then determine whether to install
  HPLIP.

* Fri Feb 04 2005 Till Kamppeter <till@mandrakesoft.com> 0.8.7-3mdk
- Added "Provides: hpijs" to hplip-hpijs package.
- Versioned conflict for hplip-hpijs package:
  "Conflicts: printer-filters < 10.2".

* Tue Feb 01 2005 Till Kamppeter <till@mandrakesoft.com> 0.8.7-2mdk
- Rebuilt with dependency on sip 4.1.1 or newer. With older sip PyQt
  GUIs segfault.

* Fri Jan 21 2005 Till Kamppeter <till@mandrakesoft.com> 0.8.7-1mdk
- Initial Mandrakelinux release.