mirror of
https://abf.rosa.ru/djam/xsuspender.git
synced 2025-02-23 14:32:56 +00:00
1.3
This commit is contained in:
parent
77c03db4be
commit
c2e90bcd71
1 changed files with 9 additions and 7 deletions
|
@ -4,8 +4,8 @@ Version: 1.3
|
||||||
Release: 1
|
Release: 1
|
||||||
License: WTFPL
|
License: WTFPL
|
||||||
Group: System/Configuration/Hardware
|
Group: System/Configuration/Hardware
|
||||||
Url: https://github.com/kernc/xsuspender
|
URL: https://github.com/kernc/xsuspender
|
||||||
Source0: https://github.com/kernc/xsuspender/archive/%{version}.tar.gz?/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(libwnck-3.0)
|
BuildRequires: pkgconfig(libwnck-3.0)
|
||||||
|
@ -13,10 +13,12 @@ BuildRequires: pkgconfig(libwnck-3.0)
|
||||||
%description
|
%description
|
||||||
Automatically suspend inactive X11 applications.
|
Automatically suspend inactive X11 applications.
|
||||||
|
|
||||||
When an application window loses focus, XSuspender tries to match it to one of
|
When an application window loses focus, XSuspender tries to
|
||||||
the rules in its configuration. If a match is found, the application is sent a
|
match it to one of the rules in its configuration. If a match
|
||||||
SIGSTOP signal (preventing the process from obtaining further CPU time). Upon
|
is found, the application is sent a SIGSTOP signal
|
||||||
windows regaining focus, the process is seamlessly continued where it had left off.
|
(preventing the process from obtaining further CPU time). Upon
|
||||||
|
windows regaining focus, the process is seamlessly continued
|
||||||
|
where it had left off.
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/xsuspender
|
%{_bindir}/xsuspender
|
||||||
|
@ -27,7 +29,7 @@ windows regaining focus, the process is seamlessly continued where it had left o
|
||||||
#------------------------------------------------------------------
|
#------------------------------------------------------------------
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake
|
%cmake
|
||||||
|
|
Loading…
Add table
Reference in a new issue