Name: hpoj Version: 0.90 Release: alt0.2bga Packager: Grigory Batalov Summary: HP OfficeJet low level driver infrastructure Summary(ru_RU.KOI8-R): Низкоуровневые драйвера для HP OfficeJet License: GPL Group: System/Servers Url: http://hpoj.sourceforge.net Source: http://hpoj.sourceforge.net/download/%name-%version.tar.bz2 Source3: hpoj.png.bz2 Patch: hpoj-0.90-cvs030106.diff.bz2 Requires:libptal = %version-%release # Automatically added by buildreq on Tue Jan 14 2003 BuildRequires: XFree86-libs freetype2 gcc-c++ libXft libexpat libfontconfig libjpeg liblcms libmng libqt3-devel libsane-devel libssl-devel libstdc++-devel libucd-snmp-devel %description This is an HP-sponsored project to add Linux support for most Hewlett-Packard OfficeJet, PSC, and LaserJet all-in-one peripherals (also known as Multi-Function Peripherals or MFPs), which can print, scan, copy, and (on some models) fax. It is work in progress, but printing and scanning are supported on most models, when either connected to the parallel port or USB on a Linux (Intel or Alpha) workstation, or to a LAN with selected HP JetDirect print servers. %description -l ru_RU.KOI8-R Это спонсируемый HP Linux-проект, поддерживающий большинство многофункциональных устройств Hewlett-Packard, таких как OfficeJet, PSC и LaserJet, которые могут печатать, сканировать, копировать и даже посылать факсы. Разработка ещё продолжается, однако печать и сканирование уже работают во многих моделях, подключённых через параллельный порт или USB к рабочей станции Linux (Intel или Alpha), или через сеть при помощи одного из принт-серверов HP JetDirect. %package -n libptal Summary: Dynamic library for the "hpoj" HP Officejet low level drivers Summary(ru_RU.KOI8-R): Динамические библиотеки для проекта "hpoj" Group: System/Servers %description -n libptal Library needed for the "hpoj" HP Officejet low level drivers. %description -n libptal -l ru_RU.KOI8-R Библиотеки, необходимые для драйверов HP Officejet (проект "hpoj"). %package -n libptal-devel Summary: Headers and links to compile against the "libptal" ("hpoj") library Summary(ru_RU.KOI8-R): Заголовки и ссылки для сборки с библиотекой "libptal" ("hpoj") Group: Development/C Requires: libptal = %version-%release Requires: libsane-hpoj = %version-%release %description -n libptal-devel This package contains all files which one needs to compile programs using the "libptal" library. %description -n libptal-devel -l ru_RU.KOI8-R Пакет содержит файлы, необходимые для сборки программ, использующих библиотеку "libptal". %package -n libsane-hpoj Summary: SANE driver for scanners in HP's multi-function devices Summary(ru_RU.KOI8-R): Драйвер SANE для многофункциональных устройств HP Group: System/Servers Requires: libsane Requires: libptal = %version-%release %description -n libsane-hpoj SANE driver for scanners in HP's multi-function devices (from HPOJ). %description -n libsane-hpoj -l ru_RU.KOI8-R Драйвер программы SANE для сканеров, входящих в состав многофункциональных устройств HP (проект "hpoj"). %package -n xojpanel Summary: Graphical tool displaying the contents of the LCD of HP printers Summary(ru_RU.KOI8-R): Графический эмулятор LCD-панели принтеров HP Group: System/Servers Requires: libptal = %version-%release %description -n xojpanel Graphical tool displaying the contents of the LCD of HP multi-function devices and laser printers. Very useful to monitor the state (paper, ink, running job) of a printer directly on one's workstation's screen. %description -n xojpanel -l ru_RU.KOI8-R Графическая оболочка, показывающая содержимое LCD-панели многофункциональных устройств HP и лазерных принтеров. Весьма полезна для наблюдения статуса принтера (бумага, картридж, задания печати) непосредственно на экране рабочей станции. %prep %setup -q %patch -p1 bzcat %SOURCE3 > hpoj.png %build autoconf %configure --with-qt=/usr/lib/qt3 --with-snmp #NO SMP %make %install %makeinstall docdir=%buildroot%_docdir/%name-%version %__mkdir_p %buildroot%_libdir/sane %__ln_s %_libdir/libsane-hpoj.so.1 %buildroot%_libdir/sane/libsane-hpoj.so.1 %__mkdir_p %buildroot%_sysconfdir/ptal %__mkdir_p %buildroot%_var/run/ptal-{mlcd,printd} %__mkdir_p %buildroot%_iconsdir/locolor/16x16/apps/ %__install -m 644 hpoj.png %buildroot%_iconsdir/locolor/16x16/apps/ %__mkdir_p %buildroot%_menudir cat < %buildroot%_menudir/hpoj ?package(hpoj): needs=X11 \ section=Configuration/Printing \ title="X Office Jet Panel" \ longtitle="Displays the contents of the front panel LCD screen of your HP Office Jet in a window on your desktop" \ command="%_bindir/xojpanel" \ icon="%_iconsdir/locolor/16x16/apps/hpoj.png" EOF %post -n xojpanel %update_menus %post -n libptal %post_ldconfig %post -n libsane-hpoj %post_ldconfig %postun -n xojpanel %update_menus %postun -n libptal %postun_ldconfig %postun -n libsane-hpoj %postun_ldconfig ############################################################# %files %dir %_sysconfdir/ptal %dir %_var/run/ptal-mlcd %dir %_var/run/ptal-printd %_sbindir/* %_bindir/ptal-* %_bindir/hpojip-* %doc %_defaultdocdir/%name-%version %files -n libptal %_libdir/libptal.so.* %_libdir/libhpojip.so.* %files -n libptal-devel %_includedir/* %_libdir/*.so %files -n libsane-hpoj %_libdir/libsane-hpoj.so.* %_libdir/sane/libsane-hpoj.so.* %files -n xojpanel %_bindir/xojpanel %_iconsdir/locolor/16x16/apps/* %_menudir/* %changelog * Tue Jan 14 2003 Grigory Batalov 0.90-alt0.1bga - 0.90 - Mandrake experience integrated * Fri Dec 07 2001 Stanislav Ievlev 0.8-alt1 - Initial release for ALT * Wed Oct 24 2001 Vincent Saugey 0.8-5mdk - Replace ucd-snmp require by libsnmp0 * Mon Oct 22 2001 Till Kamppeter 0.8-4mdk - Added patch to generate directories for the HPOJ daemons in the DevFS file system * Sat Oct 20 2001 Stew Benedict 0.8-3mdk - patch for PPC build * Wed Oct 10 2001 Till Kamppeter 0.8-2mdk - Rebuilt for libpng3. * Wed Aug 8 2001 Till Kamppeter 0.8-1mdk - initial release