]>
Commit | Line | Data |
---|---|---|
8bb53f35 | 1 | Summary: LPRngTool - printer configuration, monitoring and management utility with GUI for LPRng |
95793e65 | 2 | Summary(pl.UTF-8): LPRngTool - narzędziem do monitorowania i zarządzania systemem druku LPRng |
41d17f30 | 3 | Name: LPRngTool |
97fdefa8 | 4 | Version: 1.3.2 |
277ff6ce | 5 | Release: 5 |
e9b2724f | 6 | License: GPL v2 |
41d17f30 | 7 | Group: Applications/Publishing |
25f8b6ee | 8 | Source0: http://www.lprng.com/DISTRIB/LPRngTool/%{name}-%{version}.tgz |
fa49c7d0 | 9 | # Source0-md5: 964bb358dbe140c7be5ebbdf0eecf64a |
97fdefa8 | 10 | Source1: %{name}.desktop |
11 | Source2: %{name}.png | |
12 | Patch0: %{name}-ac_fixes.patch | |
e9b2724f | 13 | URL: http://www.lprng.com/LPRngTool.html |
69135b96 PG |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
a60fd28f | 16 | Requires: LPRng >= 3.7 |
69135b96 | 17 | Requires: ghostscript |
a60fd28f | 18 | Requires: ifhp >= 3.4 |
2987f59b JB |
19 | Requires: tcl >= 8.3 |
20 | Requires: tk >= 8.3 | |
21 | # or mpage, selectable at configure time (see configure) | |
22 | Suggests: a2ps | |
23 | Suggests: samba-client | |
24 | # ncpfs (/usr/bin/nprint) for Netware printing, but it's probably too legacy to suggest these days | |
25 | # pap? (see configure) | |
36988ea6 | 26 | Obsoletes: printtool |
2987f59b | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
41d17f30 | 28 | |
277ff6ce | 29 | %define lpfiltersdir %{_libexecdir}/lpfilters |
41d17f30 | 30 | |
31 | %description | |
32 | LPRngTool is a printer configuration and print queue monitoring and | |
33 | management utility with a graphical user interface. LPRngTool is | |
34 | similar to Red Hat's 'printtool', but includes most of the additional | |
35 | functions of LPRng (including printer pooling, printer redirection, | |
36 | job accounting, etc), and the 'lpc' facilities for local and remote | |
37 | queue management and monitoring. LPRngTool works with SMB, Windows, HP | |
38 | JetDirect, locally-attached, and unfiltered printers and print queues. | |
39 | ||
ed9239f6 JR |
40 | %description -l pl.UTF-8 |
41 | LPRngTool to narzędzie do konfiguracji drukarki, monitorowania i | |
42 | zarządzania kolejką wydruku z graficznym interfejsem użytkownika. Jest | |
43 | podobne do RedHatowego printtoola, ale zwiera większość dodatkowych | |
8bb53f35 | 44 | funkcji LPRng (w tym przekierowanie drukarek, przydzielanie prac |
ed9239f6 JR |
45 | itp.), oraz udogodnienia lpc do monitorowania i zarządzania lokalnymi |
46 | oraz zdalnymi kolejkami. LPRngTool działa z drukarkami i kolejkami | |
47 | SMB, Windows, HP JetDirect, lokalnie podłączonymi i niefiltrowanymi. | |
8bb53f35 | 48 | |
41d17f30 | 49 | %prep |
50 | %setup -q | |
97fdefa8 | 51 | %patch0 -p1 |
41d17f30 | 52 | |
53 | %build | |
b47a7834 | 54 | %{__aclocal} |
b4633d8c | 55 | %{__autoconf} |
9b8e2804 | 56 | cp -f /usr/share/automake/config.sub . |
69135b96 | 57 | %configure \ |
2987f59b JB |
58 | A2PS=/usr/bin/a2ps \ |
59 | GS=/usr/bin/gs \ | |
60 | NPRINT=/usr/bin/nprint \ | |
61 | SMBCLIENT=/usr/bin/smbclient \ | |
62 | WITH=/usr/bin/wish \ | |
e9b2724f JB |
63 | --with-filterdir=%{lpfiltersdir} \ |
64 | --with-ifhp_path=%{lpfiltersdir} \ | |
65 | --with-gsupdir=%{_datadir}/ghostscript \ | |
1a40db31 PG |
66 | --with-lprngtool_conf=%{_sysconfdir}/lprngtool.conf \ |
67 | --with-printcap_path=%{_sysconfdir}/printcap \ | |
41d17f30 | 68 | --with-spool_directory=/var/spool/lpd \ |
e9b2724f JB |
69 | --with-groupid=lp \ |
70 | --with-userid=lp | |
41d17f30 | 71 | %{__make} |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
97fdefa8 | 75 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_filterdir}} \ |
76 | $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir},%{_mandir}/man1} \ | |
97bb5e80 | 77 | $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}} |
41d17f30 | 78 | |
a60fd28f PG |
79 | %{__make} install \ |
80 | DESTDIR=$RPM_BUILD_ROOT | |
41d17f30 | 81 | |
97bb5e80 | 82 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
97fdefa8 | 83 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} |
69135b96 | 84 | |
41d17f30 | 85 | %clean |
8bb53f35 | 86 | rm -rf $RPM_BUILD_ROOT |
41d17f30 | 87 | |
88 | %files | |
89 | %defattr(644,root,root,755) | |
97fdefa8 | 90 | %doc README CHANGES |
2987f59b JB |
91 | %attr(755,root,root) %{_bindir}/lprngtool |
92 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lprngtool.conf | |
97fdefa8 | 93 | %{_sysconfdir}/lprngtool.conf.sample |
e9b2724f JB |
94 | %dir %{lpfiltersdir} |
95 | %attr(755,root,root) %{lpfiltersdir}/atalkprint | |
96 | %attr(755,root,root) %{lpfiltersdir}/ncpprint | |
97 | %attr(755,root,root) %{lpfiltersdir}/smbprint | |
98 | %{lpfiltersdir}/printerdb | |
99 | %{lpfiltersdir}/testpage* | |
2987f59b JB |
100 | %{_desktopdir}/LPRngTool.desktop |
101 | %{_pixmapsdir}/LPRngTool.png | |
102 | %{_mandir}/man1/lprngtool.1* |