59 lines
2.0 KiB
RPMSpec
59 lines
2.0 KiB
RPMSpec
Name: xmessage
|
|
Version: 1.0.5
|
|
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 <tiziana.ferro@email.it>
|
|
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
|
|
* Tue Apr 10 2018 Automatic Build System <autodist@mambasoft.it> 1.0.5-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Jan 19 2013 Automatic Build System <autodist@mambasoft.it> 1.0.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Apr 25 2011 Tiziana Ferro <tiziana.ferro@email.it> 1.0.3-1mamba
|
|
- package created by autospec |