]> git.pld-linux.org Git - packages/LPRngTool.git/blob - LPRngTool.spec
- BuildArch: noarch.
[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:        1
6 License:        GPL
7 Group:          Applications/Publishing
8 Source0:        ftp://ftp.lprng.com/pub/LPRng/LPRngTool/%{name}-%{version}.tgz
9 Source1:        %{name}.desktop
10 Source2:        %{name}.png
11 Patch0:         %{name}-ac_fixes.patch
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  samba-client
15 Requires:       ghostscript
16 Requires:       tcl
17 Requires:       tk >= 1.50
18 Requires:       LPRng >= 3.7
19 Requires:       ifhp >= 3.4
20 BuildArch:      noarch
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 %define         _prefix         /usr/X11R6
27 %define         _mandir         %{_prefix}/man
28
29 %description
30 LPRngTool is a printer configuration and print queue monitoring and
31 management utility with a graphical user interface. LPRngTool is
32 similar to Red Hat's 'printtool', but includes most of the additional
33 functions of LPRng (including printer pooling, printer redirection,
34 job accounting, etc), and the 'lpc' facilities for local and remote
35 queue management and monitoring. LPRngTool works with SMB, Windows, HP
36 JetDirect, locally-attached, and unfiltered printers and print queues.
37
38 %description -l pl
39 LPRngTool to narzêdzie do konfiguracji drukarki, monitorowania i
40 zarz±dzania kolejk± wydruku z graficznym interfejsem u¿ytkownika. Jest
41 podobne do RedHatowego printtoola, ale zwiera wiêkszo¶æ dodatkowych
42 funkcji LPRng (w tym przekierowanie drukarek, przydzielanie prac
43 itp.), oraz udogodnienia lpc do monitorowania i zarz±dzania lokalnymi
44 oraz zdalnymi kolejkami. LPRngTool dzia³a z drukarkami i kolejkami
45 SMB, Windows, HP JetDirect, lokalnie pod³±czonymi i niefiltrowanymi.
46
47 %prep
48 %setup -q
49 %patch0 -p1
50
51 %build
52 aclocal
53 %{__autoconf}
54 %configure \
55         --with-lprngtool_conf=%{_sysconfdir}/lprngtool.conf \
56         --with-printcap_path=%{_sysconfdir}/printcap \
57         --with-spool_directory=/var/spool/lpd  \
58         --with-ifhp_path=%{_ifhpfilterdir}/ifhp \
59         --with-filterdir=%{_filterdir} \
60         --with-gsupdir=%{_datadir}/ghostscript \
61         --with-userid=lp \
62         --with-groupid=lp 
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_bindir},%{_filterdir}} \
68         $RPM_BUILD_ROOT{%{_sysconfdir},%{_mandir},%{_mandir}/man1} \
69         $RPM_BUILD_ROOT{%{_pixmapsdir},%{_applnkdir}/Settings}
70
71 %{__make} DESTDIR=$RPM_BUILD_ROOT install
72
73 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Settings
74 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
75
76 %clean
77 rm -rf $RPM_BUILD_ROOT
78
79 %files
80 %defattr(644,root,root,755)
81 %doc README CHANGES
82 %attr(0755,root,root) %{_bindir}/*
83 %config %{_sysconfdir}/lprngtool.conf
84 %{_sysconfdir}/lprngtool.conf.sample
85 %{_mandir}/man1/*.1*
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*
92 %{_applnkdir}/Settings/*
93 %{_pixmapsdir}/*
This page took 0.107428 seconds and 4 git commands to generate.