File wmctrl.spec of Package wmctrl

#
# spec file for package wmctrl (Version 1.07)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           wmctrl
BuildRequires:  glib2-devel xorg-x11-devel
License:        GPL v2 or later
Group:          System/X11/Utilities
Version:        1.07
Release:        127
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
Patch:          wmctrl_1.07-6.diff.bz2

%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 -q
%patch -p1

%build
ls -lha .
autoreconf -fi
%configure
%{__make} %{?jobs:-j%jobs}

%install
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
* Fri Mar 13 2009 crrodriguez@suse.de
- import patches from debian, fixes 64 issues [bnc#480034]
* 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
openSUSE Build Service is sponsored by