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

Last change on this file since 1330 was 982, checked in by Silvan Scherrer, 9 years ago

spec: splix: Release version 2.0.0-1.

File size: 1.5 KB
Line 
1Summary: Driver for QPDL/SPL2 printers (Samsung and several Xerox printers)
2Name: splix
3Version: 2.0.0
4Release: 1
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, cups
17#BuildRequires: jbigkit-devel
18
19%description
20This driver is usable by all printer devices which understand the QPDL
21(Quick Page Description Language) also known as SPL2 (Samsung Printer Language)
22language. It covers several Samsung, Xerox and Dell printers.
23Splix doesn't support old SPL(1) printers.
24
25%debug_package
26
27%prep
28%scm_setup
29
30cd ppd
31# remove old PPDs
32make distclean
33cd ..
34
35%build
36make drv
37
38# the shell script generating the drv files uses redirect. so we get CRLF files
39# but we need LF (unix style files) here
40for f in `find ppd -type f -name '*.drv'` ; do
41 dos2unix $f
42done
43
44CXXFLAGS="%{optflags} -fno-strict-aliasing" \
45LDFLAGS="-Zomf -Zhigh-mem -lcx" \
46make all V=1 DISABLE_JBIG=1 DRV_ONLY=1 %{?_smp_mflags}
47
48%install
49make install DISABLE_JBIG=1 DRV_ONLY=1 CUPSDRV=%{_datadir}/cups/drv/splix DESTDIR=%{buildroot}
50
51%files
52%license COPYING
53%doc AUTHORS ChangeLog THANKS
54%{_cups_serverbin}/filter/pstoqpdl.exe
55%{_cups_serverbin}/filter/rastertoqpdl.exe
56%{_datadir}/cups/drv/splix
57
58%changelog
59* Sat Feb 11 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 2.0.0-1
60- initial port
Note: See TracBrowser for help on using the repository browser.