-
-
Notifications
You must be signed in to change notification settings - Fork 31
/
lprint.spec
53 lines (44 loc) · 1.63 KB
/
lprint.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#
# RPM "spec" file for LPrint.
#
Name: lprint
Version: 1.3.1
Release: 0
Summary: LPrint, A Label Printer Application
License: ASL 2.0
Source0: https://github.com/michaelrsweet/lprint/releases/download/v%{version}/lprint-%{version}.tar.gz
URL: https://www.msweet.org/lprint
Packager: Anonymous <[email protected]>
Vendor: Example Corp
# Note: Package names are as defined for Red Hat (and clone) distributions
BuildRequires: avahi-devel, cups-devel >= 2.2, gnutls-devel, libpng-devel >= 1.6, libusb-devel >= 1.0, pam-devel, pappl-devel >= 1.2
#BuildRoot: /tmp/%{name}-root
%description
LPrint implements printing for a variety of common label and receipt printers
connected via network or USB. Features include:
- A single executable handles spooling, status, and server functionality.
- Multiple printer support.
- Each printer implements an IPP Everywhere™ print service and is compatible
with the driverless printing support in iOS, macOS, and Linux clients.
- Each printer can support options such as label modes, tear-off offsets,
media tracking, media top offset, print darkness, resolution, roll
selection, and speed.
- Each printer can print "raw", Apple/PWG Raster, and/or PNG files.
For more information, see the file "DOCUMENTATION.md", the man pages in the
"man" directory, and/or the LPrint project page at
"https://www.msweet.org/lprint".
%prep
%setup
%build
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
make
%install
make install
%clean
rm -rf $RPM_BUILD_ROOT
%files
/usr/bin/lprint
%dir /usr/share/man/man1
/usr/share/man/man1/*
%dir /usr/share/man/man5
/usr/share/man/man5/*