1 | Summary: Driver for QPDL/SPL2 printers (Samsung and several Xerox printers)
|
---|
2 | Name: splix
|
---|
3 | Version: 2.0.0
|
---|
4 | Release: 2
|
---|
5 | License: GPLv2
|
---|
6 | URL: http://splix.sourceforge.net/
|
---|
7 |
|
---|
8 | Vendor: bww bitwise works GmbH
|
---|
9 | %scm_source svn http://svn.netlabs.org/repos/ports/splix/trunk 2000
|
---|
10 |
|
---|
11 | Requires: cups
|
---|
12 |
|
---|
13 | BuildRequires: cups-devel
|
---|
14 | BuildRequires: dos2unix
|
---|
15 |
|
---|
16 | #BuildRequires: python3-cups
|
---|
17 | BuildRequires: cups
|
---|
18 | BuildRequires: jbigkit-devel
|
---|
19 |
|
---|
20 | %description
|
---|
21 | This driver is usable by all printer devices which understand the QPDL
|
---|
22 | (Quick Page Description Language) also known as SPL2 (Samsung Printer Language)
|
---|
23 | language. It covers several Samsung, Xerox and Dell printers.
|
---|
24 | Splix doesn't support old SPL(1) printers.
|
---|
25 |
|
---|
26 | %debug_package
|
---|
27 |
|
---|
28 | %prep
|
---|
29 | %scm_setup
|
---|
30 |
|
---|
31 | cd ppd
|
---|
32 | # remove old PPDs
|
---|
33 | make distclean
|
---|
34 | cd ..
|
---|
35 |
|
---|
36 | %build
|
---|
37 | make drv
|
---|
38 |
|
---|
39 | # the shell script generating the drv files uses redirect. so we get CRLF files
|
---|
40 | # but we need LF (unix style files) here
|
---|
41 | for f in `find ppd -type f -name '*.drv'` ; do
|
---|
42 | dos2unix $f
|
---|
43 | done
|
---|
44 |
|
---|
45 | CXXFLAGS="%{optflags} -fno-strict-aliasing" \
|
---|
46 | LDFLAGS="-Zomf -Zhigh-mem -lcx" \
|
---|
47 | make all V=1 DRV_ONLY=1 %{?_smp_mflags}
|
---|
48 |
|
---|
49 | %install
|
---|
50 | make install DRV_ONLY=1 CUPSDRV=%{_datadir}/cups/drv/splix DESTDIR=%{buildroot}
|
---|
51 |
|
---|
52 | %files
|
---|
53 | %license COPYING
|
---|
54 | %doc AUTHORS ChangeLog THANKS
|
---|
55 | %{_cups_serverbin}/filter/pstoqpdl.exe
|
---|
56 | %{_cups_serverbin}/filter/rastertoqpdl.exe
|
---|
57 | %{_datadir}/cups/drv/splix
|
---|
58 |
|
---|
59 | %changelog
|
---|
60 | * Fri Sep 07 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 2.0.0-2
|
---|
61 | - enable jbigkit
|
---|
62 |
|
---|
63 | * Sat Feb 11 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 2.0.0-1
|
---|
64 | - initial port
|
---|