xwininfo/xwininfo.spec

58 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: xwininfo
Version: 1.1.4
Release: 1mamba
Summary: xwininfo - window information utility for X
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/xwininfo-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libxcb-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Xwininfo is a utility for displaying information about windows. Various information is displayed depending on which options are selected.
If no options are chosen, -stats is assumed.
The user has the option of selecting the target window with the mouse (by clicking any mouse button in the desired window) or by specifying its window id on the command line with the -id option.
Or instead of specifying the window by its id number, the -name option may be used to specify which window is desired by name.
There is also a special -root option to quickly obtain information on the screen's root window.
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_mandir}/man?/*
%doc COPYING ChangeLog README
%changelog
* Wed Sep 12 2018 Automatic Build System <autodist@mambasoft.it> 1.1.4-1mamba
- automatic update by autodist
* Wed May 22 2013 Automatic Build System <autodist@mambasoft.it> 1.1.3-1mamba
- automatic update by autodist
* Sun Aug 07 2011 Automatic Build System <autodist@mambasoft.it> 1.1.2-1mamba
- automatic version update by autodist
* Tue Mar 01 2011 Tiziana Ferro <tiziana.ferro@email.it> 1.1.1-1mamba
- package created by autospec