wmctrl/wmctrl.spec

52 lines
1.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: wmctrl
Version: 1.07
Release: 1mamba
Summary: A command line tool to interact with an EWMH/NetWM compatible X Window Manager
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://tomas.styblo.name/wmctrl/
Source: http://tomas.styblo.name/wmctrl/dist/wmctrl-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libglib-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXmu-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
wmctrl 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 get 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
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/wmctrl
%{_mandir}/man1/wmctrl.1*
%doc AUTHORS COPYING ChangeLog README
%changelog
* Wed Jun 01 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.07-1mamba
- package created by autospec