1 Summary: i3-compatible Wayland compositor
7 Source0: https://github.com/swaywm/sway/releases/download/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: a44921207cd8faaf7c80f97518bb2492
10 URL: https://swaywm.org/
11 BuildRequires: OpenGLESv2-devel
12 BuildRequires: bash-completion
13 BuildRequires: cairo-devel
14 BuildRequires: gdk-pixbuf2-devel
15 BuildRequires: json-c-devel >= 0.13
16 BuildRequires: libdrm-devel
17 BuildRequires: libevdev-devel
18 BuildRequires: libinput-devel >= 1.6.0
19 BuildRequires: libxcb-devel
20 BuildRequires: meson >= 0.53.0
22 BuildRequires: pango-devel
23 BuildRequires: pcre-devel
24 BuildRequires: pixman-devel
25 BuildRequires: rpmbuild(macros) >= 1.752
26 BuildRequires: scdoc >= 1.9.2
27 BuildRequires: systemd-devel >= 239
28 BuildRequires: udev-devel
29 BuildRequires: wayland-devel
30 BuildRequires: wayland-protocols >= 1.14
31 BuildRequires: wlroots-devel >= 0.13.0
32 BuildRequires: xorg-lib-libxkbcommon-devel
33 Requires: json-c >= 0.13
34 Requires: libinput >= 1.6.0
35 Requires: systemd-libs >= 239
36 Requires: wlroots >= 0.13.0
37 Suggests: xorg-xserver-Xwayland
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 Sway is a tiling Wayland compositor and a drop-in replacement for the
42 i3 window manager for X11. It works with your existing i3
43 configuration and supports most of i3's features, plus a few extras.
45 Sway allows you to arrange your application windows logically, rather
46 than spatially. Windows are arranged into a grid by default which
47 maximizes the efficiency of your screen and can be quickly manipulated
48 using only the keyboard.
51 Summary: Background images for sway compositor
53 Requires: %{name} = %{version}-%{release}
56 %description backgrounds
57 Background images for sway compositor.
59 %package -n bash-completion-sway
60 Summary: Bash completion for sway
61 Group: Applications/Shells
62 Requires: %{name} = %{version}-%{release}
63 Requires: bash-completion >= 2.0
66 %description -n bash-completion-sway
67 Bash completion for sway.
69 %package -n fish-completion-sway
70 Summary: fish-completion for sway
71 Group: Applications/Shells
72 Requires: %{name} = %{version}-%{release}
76 %description -n fish-completion-sway
77 fish-completion for sway.
79 %package -n zsh-completion-sway
80 Summary: ZSH completion for sway
81 Group: Applications/Shells
82 Requires: %{name} = %{version}-%{release}
86 %description -n zsh-completion-sway
87 ZSH completion for sway.
98 rm -rf $RPM_BUILD_ROOT
99 %ninja_install -C build
102 rm -rf $RPM_BUILD_ROOT
105 %defattr(644,root,root,755)
106 %doc CONTRIBUTING.md README.md
107 %dir %{_sysconfdir}/sway
108 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sway/config
109 %attr(755,root,root) %{_bindir}/sway
110 %attr(755,root,root) %{_bindir}/swaybar
111 %attr(755,root,root) %{_bindir}/swaymsg
112 %attr(755,root,root) %{_bindir}/swaynag
113 %{_datadir}/wayland-sessions/sway.desktop
114 %{_mandir}/man1/sway.1*
115 %{_mandir}/man1/swaymsg.1*
116 %{_mandir}/man1/swaynag.1*
117 %{_mandir}/man5/sway-bar.5*
118 %{_mandir}/man5/sway-input.5*
119 %{_mandir}/man5/sway-output.5*
120 %{_mandir}/man5/sway.5*
121 %{_mandir}/man5/swaynag.5*
122 %{_mandir}/man7/sway-ipc.7*
123 %{_mandir}/man7/swaybar-protocol.7*
126 %defattr(644,root,root,755)
127 %dir %{_datadir}/backgrounds/sway
128 %{_datadir}/backgrounds/sway/Sway_Wallpaper_Blue_*.png
130 %files -n bash-completion-sway
131 %defattr(644,root,root,755)
133 %{bash_compdir}/swaybar
134 %{bash_compdir}/swaymsg
136 %files -n fish-completion-sway
137 %defattr(644,root,root,755)
138 %{fish_compdir}/sway.fish
139 %{fish_compdir}/swaymsg.fish
140 %{fish_compdir}/swaynag.fish
142 %files -n zsh-completion-sway
143 %defattr(644,root,root,755)
145 %{zsh_compdir}/_swaymsg