Name: wmctrl Version: 1.07 Release: 2%{?dist} Summary: A command line tool to interact with an X Window Manager Group: User Interface/X License: GPL URL: http://sweb.cz/tripie/utils/wmctrl Source0: http://sweb.cz/tripie/utils/wmctrl/dist/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: xorg-x11-proto-devel, libXmu-devel, glib2-devel %description The wmctrl program is a UNIX/Linux command line tool to interact with an EWMH/NetWM compatible X Window Manager. The tool provides command line access to almost all the features defined in the EWMH specification. It can be used, for example, to obtain information about the window manager, to get a detailed list of desktops and managed windows, to switch and resize desktops, to make windows full-screen, always-above or sticky, and to activate, close, move, resize, maximize and minimize them. The command line access to these window management functions makes it easy to automate and execute them from any application that is able to run a command in response to an event. %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING INSTALL README %{_bindir}/* %{_mandir}/man1/* %changelog * Wed Oct 04 2006 Michael Rice - 1.07-2 - Fix Summary per rpmlint warning - Fix description per rpmlint warning - Remove unneeded line from setup - Remove NEWS from docs since it was empty - Reformat Changlelog entrys in spec file due to bad formatting - Changed Group to User Interface/X * Wed Sep 27 2006 Michael Rice - 1.07-1 - Initial RPM release