]>
Commit | Line | Data |
---|---|---|
1 | Summary: xpr applications - printing X window | |
2 | Summary(pl.UTF-8): Aplikacje xpr - drukowanie okienek X | |
3 | Name: xorg-app-xpr | |
4 | Version: 1.2.0 | |
5 | Release: 1 | |
6 | License: MIT | |
7 | Group: X11/Applications | |
8 | Source0: https://xorg.freedesktop.org/releases/individual/app/xpr-%{version}.tar.xz | |
9 | # Source0-md5: ab6c9d17eb1940afcfb80a72319270ae | |
10 | URL: https://xorg.freedesktop.org/ | |
11 | BuildRequires: autoconf >= 2.60 | |
12 | BuildRequires: automake | |
13 | BuildRequires: pkgconfig >= 1:0.19 | |
14 | BuildRequires: tar >= 1:1.22 | |
15 | BuildRequires: xorg-lib-libX11-devel | |
16 | # just xmuu | |
17 | BuildRequires: xorg-lib-libXmu-devel | |
18 | BuildRequires: xorg-proto-xproto-devel >= 7.0.25 | |
19 | BuildRequires: xorg-util-util-macros >= 1.8 | |
20 | BuildRequires: xz | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | xpr takes as input a window dump file produced by xwd and formats it | |
25 | for output on PostScript printers, the Digital LN03 or LA100, the IBM | |
26 | PP3812 page printer, the HP LaserJet (or other PCL printers), or the | |
27 | HP PaintJet. | |
28 | ||
29 | xdpr uses the commands xwd, xpr, and lpr or lp to dump an X window, | |
30 | process it for a particular printer type, and print it out on the | |
31 | printer of your choice. | |
32 | ||
33 | %description -l pl.UTF-8 | |
34 | xpr przyjmuje na wejściu plik zrzutu okna utworzony przez xwd i | |
35 | formatuje go do wydruku na drukarkach postscriptowych, Digital LN03 | |
36 | lub LA100, drukarce stronnicowej IBM PP3812, HP LaserJet (albo innych | |
37 | drukarkach PCL) lub HP PaintJet. | |
38 | ||
39 | xdpr używa poleceń xwd, xpr i lpr lub lp do wykonania zrzutu okienka | |
40 | X, przetworzenia go dla danego typu drukarki i wydrukowania go na | |
41 | wybranej drukarce. | |
42 | ||
43 | %prep | |
44 | %setup -q -n xpr-%{version} | |
45 | ||
46 | %build | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__autoheader} | |
50 | %{__automake} | |
51 | %configure | |
52 | ||
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %doc COPYING ChangeLog README.md | |
67 | %attr(755,root,root) %{_bindir}/xdpr | |
68 | %attr(755,root,root) %{_bindir}/xpr | |
69 | %{_mandir}/man1/xdpr.1* | |
70 | %{_mandir}/man1/xpr.1* |