summaryrefslogtreecommitdiff
path: root/move-to-next-monitor/move-to-next-monitor.spec
diff options
context:
space:
mode:
Diffstat (limited to 'move-to-next-monitor/move-to-next-monitor.spec')
-rw-r--r--move-to-next-monitor/move-to-next-monitor.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/move-to-next-monitor/move-to-next-monitor.spec b/move-to-next-monitor/move-to-next-monitor.spec
index 332b8b9..be792d2 100644
--- a/move-to-next-monitor/move-to-next-monitor.spec
+++ b/move-to-next-monitor/move-to-next-monitor.spec
@@ -34,7 +34,12 @@ BuildRequires: coreutils
Requires: python3
Requires: wmctrl
Requires: xdotool
+%if 0%{?rhel} == 7
+Requires: xorg-x11-utils
+%else
Requires: (xorg-x11-utils or ((xprop and xrandr) and xwininfo))
+BuildRequires: make
+%endif
%description
move-to-next-monitor is a small script that makes it easy for display managers without this native functionality to provide it. You can assign a shortcut key in the display manager settings to the script to use it.
@@ -79,7 +84,9 @@ move-to-next-monitor is a small script that makes it easy for display managers w
:
%files
+%if 0%{?rhel} != 7
%license LICENSE
+%endif
%doc %{_pkgdocdir}/*
%{_bindir}/%{name}
bgstack15