Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 36915274
en ru br
ALT Linux repos
S:20200207-alt1
D:20080605-alt2
5.0: 20081207-alt1
4.1: 20080923-alt1
4.0: 20080806-alt1.M40.1
+backports:20060523-alt0.9
3.0: 1.59-alt1
+backports:20060523-alt0.1.M30.1

Group :: System/Configuration/Hardware
RPM: foo2zjs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: foo2zjs
Version: 20080806
Release: alt1.M40.1

Summary: ZJS (some HP/Minolta) printer driver
License: GPL
Group: System/Configuration/Hardware

Url: http://foo2zjs.rkkda.com
Source0: %name.tar.gz
Patch1: foo2zjs.make_20080609.patch
Patch2: foo2zjs-20080402-alt-hotplug.patch
Patch3: foo2oak-wrapper.in_20080504.patch
Packager: Evgeny V Shishkov <shev at altlinux.org>

# Automatically added by buildreq on Thu Apr 02 2008 (-bi)

BuildRequires: foomatic-filters ghostscript-utils ghostscript-module-X groff-ps psutils

Requires: tcl-tix tk >= 8.4

%def_without foomaticdb

%description
This package contains %name drivers for printers using ZjStream
wire protocol, including:

foo2zjs:
* Minolta/QMS magicolor 2200 DL / 2300 DL
* Konica Minolta magicolor 2430 DL
* Minolta Color PageWorks/Pro L
* HP LaserJet 1000 / 1005 / 1020 / 1018 / 1022

foo2xqx:
* HP LaserJet P1005 / P1006 / P2014 / P2014n / P1505 / P1505n
* HP LaserJet M1005MFP / M1120MFP

foo2hp:
* HP Color LaserJet CP1215

foo2lava/LAVAFLOW:
* Konica Minolta magicolor 2490 MF / 2530 DL
* Xerox Phaser 6115MFP
* Konica Minolta magicolor 2480 MF
* Kyocera Mita KM-1635 / KM-2035 ===

foo2qpdl:
* Samsung CLP-300 / CLP-315 / CLP-600 / CLP-610 / CLX-2160 / CLX-3160
* Xerox Phaser 6110 / 6110MFP

foo2slx:
* Lexmark C500n

foo2hiperc:
* Oki C3200n / C3300n / C3400n / C5100n / C5200n / C5500n / C5600n / C5800n

%prep
%setup -q -n %name
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
%make CFLAGS="%optflags"

%install
# need to prepare these by hand
mkdir -p %buildroot{/bin,%_bindir,%_datadir/cups/model}
mkdir -p %buildroot%_datadir/foomatic/db/source/{driver,opt,printer}
mkdir -p %buildroot%_sysconfdir/udev/rules.d
mkdir -p %buildroot%_datadir{/applications,/pixmaps}
%make \
DESTDIR=%buildroot \
PREFIX=%buildroot%_usr \
FOODB=%buildroot%_datadir/foomatic/db/source \
MODEL=%buildroot%_datadir/cups/model \
install install-hotplug

rm -rf %buildroot%_docdir/%name/

%files
%doc COPYING ChangeLog INSTALL README manual.pdf
%doc getweb
%_man1dir/*
%_bindir/*
/bin/*
%_sysconfdir/hotplug/usb/*
%_sysconfdir/udev/rules.d/*
%dir %_datadir/foo2zjs/
%_datadir/foo2zjs/*
%_datadir/foo2hiperc/*
%_datadir/foo2lava/*
%_datadir/foo2oak/*
%_datadir/foo2slx/*
%_datadir/foo2xqx/*
%_datadir/foo2hp/*
%_datadir/foo2qpdl/*
%_datadir/foomatic/db/source/*/*
%_datadir/cups/model/*
%_datadir/applications/*.desktop
%_datadir/pixmaps/*

# discontinued

#%exclude %_bindir/foo2oak-wrapper
#%exclude %_datadir/cups/model/Generic-OAKT_Printer.ppd.gz
%exclude %_datadir/cups/model/HP-Color_LaserJet_1500.ppd.gz
#%exclude %_datadir/man/man1/foo2oak*
#%exclude %_datadir/man/man1/oakdecode.1.gz
#%exclude %_datadir/foomatic/db/source/opt/foo2oak*

# due to file conflicts with foomatic-db

%if_without foomaticdb
#%exclude %_datadir/foomatic/db/source/driver/foo2oak.xml
#%exclude %_datadir/foomatic/db/source/driver/foo2zjs.xml
#%exclude %_datadir/foomatic/db/source/opt/foo2zjs-ColorMode.xml
#%exclude %_datadir/foomatic/db/source/opt/foo2zjs-Duplex.xml
#%exclude %_datadir/foomatic/db/source/opt/foo2zjs-ICM.xml
#%exclude %_datadir/foomatic/db/source/opt/foo2zjs-Intent.xml
#%exclude %_datadir/foomatic/db/source/opt/foo2zjs-PageSize.xml
#%exclude %_datadir/foomatic/db/source/opt/foo2zjs-PrinterType.xml
#%exclude %_datadir/foomatic/db/source/opt/foo2zjs-Resolution.xml
#%exclude %_datadir/foomatic/db/source/printer/Generic-OAKT_Printer.xml
%exclude %_datadir/foomatic/db/source/printer/HP-Color_LaserJet_1500.xml
%exclude %_datadir/foomatic/db/source/printer/HP-Color_LaserJet_1600.xml
%exclude %_datadir/foomatic/db/source/printer/HP-Color_LaserJet_2600n.xml
%exclude %_datadir/foomatic/db/source/printer/HP-LaserJet_1000.xml
%exclude %_datadir/foomatic/db/source/printer/HP-LaserJet_1005.xml
%exclude %_datadir/foomatic/db/source/printer/HP-LaserJet_1020.xml
%exclude %_datadir/foomatic/db/source/printer/HP-LaserJet_1022.xml
%exclude %_datadir/foomatic/db/source/printer/HP-LaserJet_M1005_MFP.xml
#%exclude %_datadir/foomatic/db/source/printer/Minolta-Color_PageWorks_Pro_L.xml
#%exclude %_datadir/foomatic/db/source/printer/Minolta-magicolor_2200_DL.xml
%exclude %_datadir/foomatic/db/source/printer/Minolta-magicolor_2300_DL.xml
%exclude %_datadir/foomatic/db/source/printer/Minolta-magicolor_2430_DL.xml
%exclude %_datadir/foomatic/db/source/printer/KONICA_MINOLTA-magicolor_2480_MF.xml
%exclude %_datadir/foomatic/db/source/printer/KONICA_MINOLTA-magicolor_2490_MF.xml
%exclude %_datadir/foomatic/db/source/printer/KONICA_MINOLTA-magicolor_2530_DL.xml
%exclude %_datadir/foomatic/db/source/printer/Samsung-CLP-300.xml
%exclude %_datadir/foomatic/db/source/printer/Samsung-CLP-600.xml
%exclude %_datadir/foomatic/db/source/printer/Xerox-Phaser-6110.xml
%exclude %_datadir/foomatic/db/source/printer/Xerox-Phaser-6115MFP.xml
%endif

%post
%update_menus

%postun
%clean_menus

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin