From 64fb6fb22bbf6297b7cd4d339bfca7064c14db07 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 19:45:17 +0100 Subject: [PATCH] automatic version update by autodist [release 1.0.4-1mamba;Sat Jan 19 2013] --- README.md | 9 +++++++++ xmessage.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 xmessage.spec diff --git a/README.md b/README.md index 1f45f42..5224d33 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,11 @@ # xmessage +The xmessage program displays a window containing a message from the command line, a file, or standard input. +Along the lower edge of the message is row of buttons; clicking the left mouse button on any of these buttons will cause xmessage to exit. +Which button was pressed is returned in the exit status and, optionally, by writing the label of the button to standard output. + +The program is typically used by shell scripts to display information to the user or to ask the user to make a choice. + +Unless a size is specified, xmessage sizes itself to fit the message, up to a maximum size. +If the message is too big for the window, xmessage will display scroll bars. + diff --git a/xmessage.spec b/xmessage.spec new file mode 100644 index 0000000..fedef50 --- /dev/null +++ b/xmessage.spec @@ -0,0 +1,56 @@ +Name: xmessage +Version: 1.0.4 +Release: 1mamba +Summary: xmessage - display a message or query in a window (X-based /bin/echo) +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://xorg.freedesktop.org/ +Source: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libXaw-devel +BuildRequires: libXt-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The xmessage program displays a window containing a message from the command line, a file, or standard input. +Along the lower edge of the message is row of buttons; clicking the left mouse button on any of these buttons will cause xmessage to exit. +Which button was pressed is returned in the exit status and, optionally, by writing the label of the button to standard output. + +The program is typically used by shell scripts to display information to the user or to ask the user to make a choice. + +Unless a size is specified, xmessage sizes itself to fit the message, up to a maximum size. +If the message is too big for the window, xmessage will display scroll bars. + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/%{name} +%{_datadir}/X11/app-defaults/Xmessage* +%{_mandir}/man?/* +%doc COPYING ChangeLog README + +%changelog +* Sat Jan 19 2013 Automatic Build System 1.0.4-1mamba +- automatic version update by autodist + +* Mon Apr 25 2011 Tiziana Ferro 1.0.3-1mamba +- package created by autospec \ No newline at end of file