]> git.pld-linux.org Git - packages/LPRngTool.git/blob - LPRngTool.spec
- s/R/BR/g
[packages/LPRngTool.git] / LPRngTool.spec
1 Summary:        LPRngTool - printer configuration, monitoring and management utility with GUI for LPRng
2 Summary(pl):    LPRngTool jest narzêdziem do monitorowania i zarz±dzania systemem druku LPRng
3 Name:           LPRngTool
4 Version:        1.2.7
5 Release:        2
6 License:        GPL
7 Group:          Applications/Publishing
8 Source0:        ftp://ftp.astart.com/pub/LPRng/LPRngTool/%{name}-%{version}.tgz
9 BuildRequires:  autoconf
10 BuildRequires:  automake
11 BuildRequires:  samba
12 Requires:       ghostscript
13 Requires:       tcl
14 Requires:       tk >= 1.50
15 Requires:       LPRng >= 3.7
16 Requires:       ifhp >= 3.4
17 Obsoletes:      printtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _wmconfig       /etc/X11/wmconfig
21 %define         _controlpanel   /usr/lib/rhs/control-panel
22 %define         _filterdir      /usr/lib/filters
23 %define         _rhfilterdir    %{_filterdir}/rhs
24 %define         _prefix         /usr/X11R6
25
26 %description
27 LPRngTool is a printer configuration and print queue monitoring and
28 management utility with a graphical user interface. LPRngTool is
29 similar to Red Hat's 'printtool', but includes most of the additional
30 functions of LPRng (including printer pooling, printer redirection,
31 job accounting, etc), and the 'lpc' facilities for local and remote
32 queue management and monitoring. LPRngTool works with SMB, Windows, HP
33 JetDirect, locally-attached, and unfiltered printers and print queues.
34
35 %description -l pl
36 LPRngTool to narzêdzie do konfiguracji drukarki, monitorowania i
37 zarz±dzania kolejk± wydruku z graficznym interfejsem u¿ytkownika. Jest
38 podobne do RedHatowego printtoola, ale zwiera wiêkszo¶æ dodatkowych
39 funkcji LPRng (w tym przekierowanie drukarek, przydzielanie prac
40 itp.), oraz udogodnienia lpc do monitorowania i zarz±dzania lokalnymi
41 oraz zdalnymi kolejkami. LPRngTool dzia³a z drukarkami i kolejkami
42 SMB, Windows, HP JetDirect, lokalnie pod³±czonymi i niefiltrowanymi.
43
44 %prep
45 %setup -q
46
47 %build
48 #CFLAGS=%{rpmcflags} 
49 aclocal
50 autoconf
51 %configure \
52         --with-lprngtool_conf=%{_sysconfdir}/lprngtool.conf \
53         --with-printcap_path=%{_sysconfdir}/printcap \
54         --with-spool_directory=/var/spool/lpd  \
55         --with-ifhp_path=%{_filterdir}/ifhp \
56         --with-filterdir=%{_filterdir} \
57         --with-rhfilterdir=%{_rhfilterdir} \
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{%{_wmconfig},%{_bindir},%{_controlpanel},%{_filterdir}}
66 install -d $RPM_BUILD_ROOT{%{_rhfilterdir},%{_sysconfdir},%{_mandir},%{_mandir}/man1}
67
68 %{__make} DESTDIR=$RPM_BUILD_ROOT install
69
70 install lprngtool.wmconfig $RPM_BUILD_ROOT%{_wmconfig}/lprngtool  
71 install lprngtool.init $RPM_BUILD_ROOT%{_controlpanel}/lprngtool.init
72 install lprngtool.xpm  $RPM_BUILD_ROOT%{_controlpanel}/lprngtool.xpm
73
74 gzip -9nf README CHANGES INSTALL
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc *.gz
82 %attr(0755,root,root) %{_bindir}/*
83 %{_controlpanel}/lprngtool.init
84 %{_controlpanel}/lprngtool.xpm
85 %attr(0644,root,root)   %config            %{_sysconfdir}/lprngtool.conf
86 %attr(0644,root,root)                      %{_sysconfdir}/lprngtool.conf.sample
87 %attr(0644,root,root)   %config(missingok) %{_wmconfig}/lprngtool
88 %{_mandir}/man1/*.1*
89 %dir %{_rhfilterdir}
90 %{_rhfilterdir}/*
This page took 0.038138 seconds and 4 git commands to generate.