]>
Commit | Line | Data |
---|---|---|
72151eea JB |
1 | Summary: xmessage application - display a message or query in a window |
2 | Summary(pl.UTF-8): Aplikacja xmessage - wyświetlanie komunikatu lub zapytania w oknie | |
193c1f1d | 3 | Name: xorg-app-xmessage |
049bdd6b | 4 | Version: 1.0.7 |
ef1be956 | 5 | Release: 1 |
193c1f1d AM |
6 | License: MIT |
7 | Group: X11/Applications | |
6482891c | 8 | Source0: https://xorg.freedesktop.org/releases/individual/app/xmessage-%{version}.tar.xz |
049bdd6b | 9 | # Source0-md5: ba2dd3db3361e374fefe2b1c797c46eb |
ef1be956 | 10 | URL: https://xorg.freedesktop.org/ |
7b93aaba | 11 | BuildRequires: autoconf >= 2.60 |
193c1f1d | 12 | BuildRequires: automake |
0357549e | 13 | BuildRequires: pkgconfig >= 1:0.19 |
6482891c | 14 | BuildRequires: tar >= 1:1.22 |
193c1f1d | 15 | BuildRequires: xorg-lib-libXaw-devel |
1636d836 | 16 | BuildRequires: xorg-lib-libXt-devel >= 1.0.0 |
7b93aaba | 17 | BuildRequires: xorg-util-util-macros >= 1.8 |
6482891c | 18 | BuildRequires: xz |
1a302a2b | 19 | Requires: xorg-lib-libXt >= 1.0.0 |
19de5cd1 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
193c1f1d AM |
21 | |
22 | %description | |
72151eea JB |
23 | The xmessage program displays a window containing a message from the |
24 | command line, a file, or standard input. Along the lower edge of the | |
25 | message is row of buttons; clicking the left mouse button on any of | |
26 | these buttons will cause xmessage to exit. Which button was pressed is | |
27 | returned in the exit status and, optionally, by writing the label of | |
28 | the button to standard output. | |
193c1f1d | 29 | |
23533bdf | 30 | %description -l pl.UTF-8 |
72151eea JB |
31 | Program xmessage wyświetla okienko zawierające komunikat z linii |
32 | poleceń, pliku lub standardowego wejścia. Wzdłuż dolnej krawędzi | |
33 | komunikatu znajduje się wiersz przycisków; kliknięcie lewym klawiszem | |
34 | myszy na dowolnym z przycisków powoduje zakończenie xmessage, To, | |
35 | który przycisk został wciśnięty, jest zwracane w kodzie wyjścia oraz, | |
36 | opcjonalnie, poprzez wypisanie etykiety przycisku na standardowym | |
37 | wyjściu. | |
193c1f1d | 38 | |
193c1f1d AM |
39 | %prep |
40 | %setup -q -n xmessage-%{version} | |
193c1f1d | 41 | |
193c1f1d AM |
42 | %build |
43 | %{__aclocal} | |
44 | %{__autoconf} | |
45 | %{__autoheader} | |
46 | %{__automake} | |
47 | %configure | |
48 | ||
49 | %{__make} | |
50 | ||
193c1f1d AM |
51 | %install |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
3ee908b2 | 55 | DESTDIR=$RPM_BUILD_ROOT |
193c1f1d | 56 | |
193c1f1d AM |
57 | %clean |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
193c1f1d AM |
60 | %files |
61 | %defattr(644,root,root,755) | |
1636d836 | 62 | %doc COPYING ChangeLog README |
4c6607fd JB |
63 | %attr(755,root,root) %{_bindir}/xmessage |
64 | %{_datadir}/X11/app-defaults/Xmessage* | |
0bcb0d92 | 65 | %{_mandir}/man1/xmessage.1* |