|
Last change
on this file since 1036 was 982, checked in by Silvan Scherrer, 9 years ago |
|
spec: splix: Release version 2.0.0-1.
|
|
File size:
1.5 KB
|
| Line | |
|---|
| 1 | Summary: Driver for QPDL/SPL2 printers (Samsung and several Xerox printers)
|
|---|
| 2 | Name: splix
|
|---|
| 3 | Version: 2.0.0
|
|---|
| 4 | Release: 1
|
|---|
| 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, cups
|
|---|
| 17 | #BuildRequires: jbigkit-devel
|
|---|
| 18 |
|
|---|
| 19 | %description
|
|---|
| 20 | This driver is usable by all printer devices which understand the QPDL
|
|---|
| 21 | (Quick Page Description Language) also known as SPL2 (Samsung Printer Language)
|
|---|
| 22 | language. It covers several Samsung, Xerox and Dell printers.
|
|---|
| 23 | Splix doesn't support old SPL(1) printers.
|
|---|
| 24 |
|
|---|
| 25 | %debug_package
|
|---|
| 26 |
|
|---|
| 27 | %prep
|
|---|
| 28 | %scm_setup
|
|---|
| 29 |
|
|---|
| 30 | cd ppd
|
|---|
| 31 | # remove old PPDs
|
|---|
| 32 | make distclean
|
|---|
| 33 | cd ..
|
|---|
| 34 |
|
|---|
| 35 | %build
|
|---|
| 36 | make 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
|
|---|
| 40 | for f in `find ppd -type f -name '*.drv'` ; do
|
|---|
| 41 | dos2unix $f
|
|---|
| 42 | done
|
|---|
| 43 |
|
|---|
| 44 | CXXFLAGS="%{optflags} -fno-strict-aliasing" \
|
|---|
| 45 | LDFLAGS="-Zomf -Zhigh-mem -lcx" \
|
|---|
| 46 | make all V=1 DISABLE_JBIG=1 DRV_ONLY=1 %{?_smp_mflags}
|
|---|
| 47 |
|
|---|
| 48 | %install
|
|---|
| 49 | make 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.