41 lines
1.4 KiB
RPMSpec
41 lines
1.4 KiB
RPMSpec
Name: wmctrl
|
|
Version: 1.07
|
|
Release: 1
|
|
Summary: Command line tool to interact with an X Window Manager
|
|
License: GPLv2+
|
|
URL: http://sweb.cz/tripie/utils/wmctrl
|
|
Source0: http://sweb.cz/tripie/utils/wmctrl/dist/%{name}-%{version}.tar.gz
|
|
Patch0000: wmctrl-sticky-workspace.patch
|
|
|
|
BuildRequires: gcc glib2-devel libXmu-devel xorg-x11-proto-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
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%doc AUTHORS COPYING README
|
|
%{_bindir}/*
|
|
%{_mandir}/man1/*
|
|
|
|
%changelog
|
|
* Tue Jul 28 2020 maminjie <maminjie1@huawei.com> - 1.07-1
|
|
- package init
|