]>
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 |
71c6cbc4 | 4 | Version: 1.0.2 |
8ca42c77 | 5 | Release: 3 |
193c1f1d AM |
6 | License: MIT |
7 | Group: X11/Applications | |
4c6607fd | 8 | Source0: http://xorg.freedesktop.org/releases/individual/app/xmessage-%{version}.tar.bz2 |
71c6cbc4 | 9 | # Source0-md5: b4b561ef11fd184989a6062962e86748 |
8ca42c77 | 10 | Patch0: %{name}-xaw.patch |
193c1f1d | 11 | URL: http://xorg.freedesktop.org/ |
6a57e8ef | 12 | BuildRequires: autoconf >= 2.57 |
193c1f1d | 13 | BuildRequires: automake |
0357549e | 14 | BuildRequires: pkgconfig >= 1:0.19 |
193c1f1d | 15 | BuildRequires: xorg-lib-libXaw-devel |
1636d836 | 16 | BuildRequires: xorg-lib-libXt-devel >= 1.0.0 |
3ee908b2 | 17 | BuildRequires: xorg-util-util-macros >= 0.99.2 |
1a302a2b | 18 | Requires: xorg-lib-libXt >= 1.0.0 |
19de5cd1 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
193c1f1d AM |
20 | |
21 | %description | |
72151eea JB |
22 | The xmessage program displays a window containing a message from the |
23 | command line, a file, or standard input. Along the lower edge of the | |
24 | message is row of buttons; clicking the left mouse button on any of | |
25 | these buttons will cause xmessage to exit. Which button was pressed is | |
26 | returned in the exit status and, optionally, by writing the label of | |
27 | the button to standard output. | |
193c1f1d | 28 | |
23533bdf | 29 | %description -l pl.UTF-8 |
72151eea JB |
30 | Program xmessage wyświetla okienko zawierające komunikat z linii |
31 | poleceń, pliku lub standardowego wejścia. Wzdłuż dolnej krawędzi | |
32 | komunikatu znajduje się wiersz przycisków; kliknięcie lewym klawiszem | |
33 | myszy na dowolnym z przycisków powoduje zakończenie xmessage, To, | |
34 | który przycisk został wciśnięty, jest zwracane w kodzie wyjścia oraz, | |
35 | opcjonalnie, poprzez wypisanie etykiety przycisku na standardowym | |
36 | wyjściu. | |
193c1f1d | 37 | |
193c1f1d AM |
38 | %prep |
39 | %setup -q -n xmessage-%{version} | |
8ca42c77 | 40 | %patch0 -p1 |
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* | |
65 | %{_mandir}/man1/xmessage.1x* |