source: spec/trunk/SPECS/splix.spec@ 1567

Last change on this file since 1567 was 1482, checked in by Silvan Scherrer, 7 years ago

spec: splix: Release version 2.0.0-2.

File size: 1.6 KB
Line 
1Summary: Driver for QPDL/SPL2 printers (Samsung and several Xerox printers)
2Name: splix
3Version: 2.0.0
4Release: 2
5License: GPLv2
6URL: http://splix.sourceforge.net/
7
8Vendor: bww bitwise works GmbH
9%scm_source svn http://svn.netlabs.org/repos/ports/splix/trunk 2000
10
11Requires: cups
12
13BuildRequires: cups-devel
14BuildRequires: dos2unix
15
16#BuildRequires: python3-cups
17BuildRequires: cups
18BuildRequires: jbigkit-devel
19
20%description
21This driver is usable by all printer devices which understand the QPDL
22(Quick Page Description Language) also known as SPL2 (Samsung Printer Language)
23language. It covers several Samsung, Xerox and Dell printers.
24Splix doesn't support old SPL(1) printers.
25
26%debug_package
27
28%prep
29%scm_setup
30
31cd ppd
32# remove old PPDs
33make distclean
34cd ..
35
36%build
37make 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
41for f in `find ppd -type f -name '*.drv'` ; do
42 dos2unix $f
43done
44
45CXXFLAGS="%{optflags} -fno-strict-aliasing" \
46LDFLAGS="-Zomf -Zhigh-mem -lcx" \
47make all V=1 DRV_ONLY=1 %{?_smp_mflags}
48
49%install
50make 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
Note: See TracBrowser for help on using the repository browser.