File wmctrl.spec of Package wmctrl
#
# spec file for package wmctrl (Version 1.07)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: wmctrl
BuildRequires: glib2-devel xorg-x11-devel
License: GNU General Public License (GPL)
Group: System/X11/Utilities
Version: 1.07
Release: 1
URL: http://sweb.cz/tripie/utils/wmctrl/
Summary: Command line tool to interact with an EWMH/NetWM compatible X Window Manager
Source: %name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Wmctrl provides command line access to almost all the features defined
in the EWMH specification. Using it, it's possible to, for example,
obtain information about the window manager, get a detailed list of
desktops and managed windows, switch and resize desktops, change number
of desktops, make windows full-screen, always-above or sticky, and
activate, close, move, resize, maximize and minimize them.
The command line access makes it easy to automate these tasks and
execute them from any application that is able to run a command in
response to some event.
Please note that wmctrl only works with window managers which implement
this specification.
Authors:
--------
Tomas Styblo <tripie@cpan.org>
%prep
%setup
%build
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --mandir=%_mandir
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%_bindir/*
%_mandir/man1/wmctrl.1.gz
%changelog
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Feb 16 2005 - hvogel@suse.de
- update to version 1.07
* Tue Jan 11 2005 - hvogel@suse.de
- update to version 1.06 which includes
- mmj's patch
- support for WM_CLASS
- ability to address the currently active window
* Mon Feb 23 2004 - mmj@suse.de
- sizeof(Window) != 4 on all archs ...
* Mon Feb 23 2004 - mmj@suse.de
- Update to wmctrl-1.05
* Fri Nov 07 2003 - mmj@suse.de
- Initial version, wmctrl-1.0.4