]> git.pld-linux.org Git - packages/LPRngTool.git/blob - LPRngTool.spec
- many small fixes, mostly inpired by kloczek
[packages/LPRngTool.git] / LPRngTool.spec
1 Summary:        LPRngTool - printer configuration, monitoring and management utility with GUI for LPRng
2 Summary(pl):    LPRngTool - narzêdziem do monitorowania i zarz±dzania systemem druku LPRng
3 Name:           LPRngTool
4 Version:        1.3.2
5 Release:        2
6 License:        GPL
7 Group:          Applications/Publishing
8 Source0:        ftp://ftp.lprng.com/pub/LPRng/LPRngTool/%{name}-%{version}.tgz
9 # Source0-md5:  964bb358dbe140c7be5ebbdf0eecf64a
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 Patch0:         %{name}-ac_fixes.patch
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  samba-client
16 Requires:       LPRng >= 3.7
17 Requires:       ghostscript
18 Requires:       ifhp >= 3.4
19 Requires:       tcl
20 Requires:       tk >= 1.50
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Obsoletes:      printtool
23
24 %define         _ifhpfilterdir  /usr/lib/lpfilters
25 %define         _filterdir      /usr/lib/filters
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
36 %description -l pl
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
40 funkcji LPRng (w tym przekierowanie drukarek, przydzielanie prac
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.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48
49 %build
50 %{__aclocal}
51 %{__autoconf}
52 %configure \
53         --with-lprngtool_conf=%{_sysconfdir}/lprngtool.conf \
54         --with-printcap_path=%{_sysconfdir}/printcap \
55         --with-spool_directory=/var/spool/lpd  \
56         --with-ifhp_path=%{_ifhpfilterdir}/ifhp \
57         --with-filterdir=%{_filterdir} \
58         --with-gsupdir=%{_datadir}/ghostscript \
59         --with-userid=lp \
60         --with-groupid=lp 
61 %{__make}
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT{%{_bindir},%{_filterdir}} \
66         $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir},%{_mandir}/man1} \
67         $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Settings}
68
69 %{__make} install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
73 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80 %doc README CHANGES
81 %attr(0755,root,root) %{_bindir}/*
82 %config %{_sysconfdir}/lprngtool.conf
83 %{_sysconfdir}/lprngtool.conf.sample
84 %{_mandir}/man1/*.1*
85 %dir %{_filterdir}
86 %attr(755,root,root) %{_filterdir}/atalkprint
87 %attr(755,root,root) %{_filterdir}/ncpprint
88 %attr(755,root,root) %{_filterdir}/smbprint
89 %{_filterdir}/printerdb
90 %{_filterdir}/testpage*
91 %{_applnkdir}/Settings/*
92 %{_pixmapsdir}/*
This page took 0.083131 seconds and 3 git commands to generate.