]>
Commit | Line | Data |
---|---|---|
b27aa1aa JB |
1 | Summary: xwd application - dump an image of an X window |
2 | Summary(pl.UTF-8): Aplikacja xwd - zrzut obrazu okna X | |
30c3423a | 3 | Name: xorg-app-xwd |
99061152 | 4 | Version: 1.0.9 |
b86db875 | 5 | Release: 1 |
30c3423a AM |
6 | License: MIT |
7 | Group: X11/Applications | |
99061152 JB |
8 | Source0: https://xorg.freedesktop.org/releases/individual/app/xwd-%{version}.tar.xz |
9 | # Source0-md5: b0081fb92ae56510958024242ed1bc23 | |
fb91a7aa | 10 | Source1: xwd.1x.pl |
b86db875 | 11 | URL: https://xorg.freedesktop.org/ |
e6de9a0e | 12 | BuildRequires: autoconf >= 2.60 |
30c3423a | 13 | BuildRequires: automake |
03c97a52 | 14 | BuildRequires: pkgconfig >= 1:0.19 |
99061152 | 15 | BuildRequires: tar >= 1:1.22 |
bd23a510 | 16 | BuildRequires: xorg-lib-libX11-devel |
b86db875 JB |
17 | BuildRequires: xorg-lib-libxkbfile-devel |
18 | BuildRequires: xorg-proto-xproto-devel >= 7.0.25 | |
e6de9a0e | 19 | BuildRequires: xorg-util-util-macros >= 1.8 |
99061152 | 20 | BuildRequires: xz |
f8c4d65d | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30c3423a AM |
22 | |
23 | %description | |
b27aa1aa JB |
24 | xwd application is an X Window System window dumping utility. It |
25 | allows X users to store window images in a specially formatted dump | |
26 | file. This file can then be read by various other X utilities for | |
27 | redisplay, printing, editing, formatting, archiving, image processing, | |
28 | etc. The target window is selected by clicking the pointer in the | |
29 | desired window. | |
30c3423a | 30 | |
b131b741 | 31 | %description -l pl.UTF-8 |
b27aa1aa JB |
32 | Aplikacja xwd to narzędzie do wykonywania zrzutów okien X Window |
33 | System. Umożliwia użytkownikom zapisywanie obrazów okien w plikach o | |
34 | specjalnym formacie, które później mogą być czytane przez różne inne | |
35 | narzędzia X do wyświetlania, drukowania, edycji, formatowania, | |
36 | archiwizacji, przetwarzania itp. Wyboru okna dokonuje się klikając na | |
37 | nim kursorem. | |
30c3423a | 38 | |
30c3423a AM |
39 | %prep |
40 | %setup -q -n xwd-%{version} | |
30c3423a | 41 | |
30c3423a AM |
42 | %build |
43 | %{__aclocal} | |
44 | %{__autoconf} | |
45 | %{__autoheader} | |
46 | %{__automake} | |
47 | %configure | |
48 | ||
49 | %{__make} | |
50 | ||
30c3423a AM |
51 | %install |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
f4c9e3fd | 55 | DESTDIR=$RPM_BUILD_ROOT |
30c3423a | 56 | |
fb91a7aa JB |
57 | install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/xwd.1x |
58 | ||
30c3423a AM |
59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
30c3423a AM |
62 | %files |
63 | %defattr(644,root,root,755) | |
78f51824 | 64 | %doc COPYING ChangeLog README.md |
fb91a7aa | 65 | %attr(755,root,root) %{_bindir}/xwd |
17d710e4 JB |
66 | %{_mandir}/man1/xwd.1* |
67 | %lang(pl) %{_mandir}/pl/man1/xwd.1* |