2016-12-19 02:59:48 +00:00
|
|
|
%define name wmswallow
|
|
|
|
%define ver 0.6
|
|
|
|
%define rel 1
|
|
|
|
%define copy GPL
|
|
|
|
%define ich friedel <friedel@burse.uni-hamburg.de>
|
|
|
|
%define group X11/WindowMaker Applets
|
|
|
|
%define realname %{name}
|
|
|
|
Summary: wmswallow is a WindowMaker dock applet to make any application dockable in the WindowMaker dock
|
|
|
|
Name: %{name}
|
|
|
|
Version: %{ver}
|
|
|
|
Release: %{rel}
|
|
|
|
Copyright: %{copy}
|
|
|
|
Packager: %{ich}
|
|
|
|
URL: http://burse.uni-hamburg.de/~friedel/software/wmswallow.html
|
|
|
|
Group: %{group}
|
|
|
|
Source: http://burse.uni-hamburg.de/~friedel/software/wmswallow/wmswallow.tar.Z
|
|
|
|
BuildRoot: /var/tmp/%{name}-root
|
|
|
|
#Patch: %{name}-%{ver}.patch
|
|
|
|
%description
|
|
|
|
- wmswallow was mainly created to swallow coolmail in the WindowMaker dock, but it can
|
2017-02-21 00:16:01 +00:00
|
|
|
swallow about any X-window you conceive.
|
|
|
|
- The window may receive mouseclicks,
|
2016-12-19 02:59:48 +00:00
|
|
|
- for windows that do not get mouseclicks (like xload or xeyes), you can specify a
|
2017-02-21 00:16:01 +00:00
|
|
|
shell-command to execute on a click.
|
2016-12-19 02:59:48 +00:00
|
|
|
- The geometry for the swallowed app can be specified. Only HEIGHTxWIDTH are used,
|
2017-02-21 00:16:01 +00:00
|
|
|
however.
|
2016-12-19 02:59:48 +00:00
|
|
|
- Applications can be started on wmswallows commandline. An already running window
|
2017-02-21 00:16:01 +00:00
|
|
|
can be swallowed, either by name, class or directly by window-id
|
|
|
|
- The window may receive keyboard-focus, if you specify the "-focus" switch.
|
2016-12-19 02:59:48 +00:00
|
|
|
- Even windows (like xteddy or wine) that hide from the windowmanager can be
|
2017-02-21 00:16:01 +00:00
|
|
|
swallowed with the -unmanaged switch
|
2016-12-19 02:59:48 +00:00
|
|
|
%changelog
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%setup -n %{realname}
|
|
|
|
|
|
|
|
#%patch -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
make xfree
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/local/bin
|
|
|
|
cp wmswallow $RPM_BUILD_ROOT/usr/local/bin
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CHANGELOG README todo INSTALL README.solaris LICENCE
|
|
|
|
/usr/local/bin/wmswallow
|
|
|
|
|