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