]>
Commit | Line | Data |
---|---|---|
9679bb22 CM |
1 | Summary: improved tiling wm |
2 | Name: i3 | |
8219db2a | 3 | Version: 4.20.1 |
97ce06f6 | 4 | Release: 1 |
9679bb22 CM |
5 | License: BSD |
6 | Group: X11/Window Managers | |
3135e1ca | 7 | Source0: https://i3wm.org/downloads/%{name}-%{version}.tar.xz |
8219db2a | 8 | # Source0-md5: 0c94d32b7a132b7dfce49b12960dfb7d |
761e03e8 | 9 | Patch0: %{name}-remember_ws_output.patch |
9679bb22 | 10 | URL: http://i3wm.org/ |
799db4d2 | 11 | BuildRequires: asciidoc |
0f70a8f6 | 12 | BuildRequires: bison |
b9658c3a | 13 | BuildRequires: cairo-devel >= 1.14.4 |
0f70a8f6 | 14 | BuildRequires: flex |
b9658c3a | 15 | BuildRequires: glib2 |
0f70a8f6 | 16 | BuildRequires: libev-devel |
799db4d2 | 17 | BuildRequires: libxcb-devel |
343ff939 JP |
18 | BuildRequires: meson >= 0.45.0 |
19 | BuildRequires: ninja | |
799db4d2 | 20 | BuildRequires: pango-devel |
b9658c3a | 21 | BuildRequires: pcre-devel >= 8.10 |
8219db2a | 22 | BuildRequires: perl-devel |
7c36c3e7 | 23 | BuildRequires: pkgconfig |
e2741297 | 24 | BuildRequires: rpmbuild(macros) >= 1.736 |
0f70a8f6 | 25 | BuildRequires: startup-notification-devel |
f6bcdf1b | 26 | BuildRequires: tar >= 1:1.22 |
799db4d2 | 27 | BuildRequires: xcb-proto |
d03533d5 | 28 | BuildRequires: xcb-util-cursor-devel |
0f70a8f6 | 29 | BuildRequires: xcb-util-devel |
29d4a0b9 | 30 | BuildRequires: xcb-util-keysyms-devel |
290e0da4 | 31 | BuildRequires: xcb-util-wm-devel |
d03533d5 | 32 | BuildRequires: xcb-util-xrm-devel |
799db4d2 ER |
33 | BuildRequires: xmlto |
34 | BuildRequires: xorg-lib-libX11-devel | |
0f70a8f6 | 35 | BuildRequires: xorg-lib-libXcursor-devel |
d03533d5 JP |
36 | BuildRequires: xorg-lib-libxkbcommon-devel |
37 | BuildRequires: xorg-lib-libxkbcommon-x11-devel | |
799db4d2 | 38 | BuildRequires: xorg-lib-libxkbfile |
f6bcdf1b | 39 | BuildRequires: xz |
0f70a8f6 | 40 | BuildRequires: yajl-devel |
b9658c3a JP |
41 | Requires: cairo >= 1.14.4 |
42 | Requires: glib2 | |
43 | Requires: pcre >= 8.10 | |
a6a46b77 | 44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9679bb22 CM |
45 | |
46 | %description | |
47 | i3 is a tiling window manager, completely written from scratch. The | |
a6a46b77 CM |
48 | target platforms are GNU/Linux and BSD operating systems, our code is |
49 | Free and Open Source Software (FOSS) under the BSD license. i3 is | |
9679bb22 CM |
50 | primarily targeted at advanced users and developers. |
51 | ||
3b079283 CM |
52 | %package devel |
53 | Summary: Header files for %{name} | |
54 | Group: Development/Libraries | |
55 | ||
56 | %description devel | |
57 | Header files for %{name}. | |
58 | ||
9679bb22 CM |
59 | %prep |
60 | %setup -q | |
761e03e8 | 61 | %patch0 -p1 |
b9658c3a | 62 | %{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' i3-save-tree i3-migrate-config-to-v4 i3-dmenu-desktop |
9679bb22 CM |
63 | |
64 | %build | |
343ff939 | 65 | %meson build |
e2741297 | 66 | %ninja_build -C build |
9679bb22 CM |
67 | |
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
e2741297 | 70 | %ninja_install -C build |
9679bb22 | 71 | |
d03533d5 JP |
72 | rm -r $RPM_BUILD_ROOT%{_docdir}/i3 |
73 | ||
9679bb22 CM |
74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
9679bb22 CM |
77 | %files |
78 | %defattr(644,root,root,755) | |
d03533d5 | 79 | %doc LICENSE RELEASE-NOTES-%{version} docs/*.html |
3b079283 | 80 | %dir %{_sysconfdir}/%{name} |
799db4d2 ER |
81 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/config |
82 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/config.keycodes | |
83 | %attr(755,root,root) %{_bindir}/i3 | |
84 | %attr(755,root,root) %{_bindir}/i3bar | |
85 | %attr(755,root,root) %{_bindir}/i3-config-wizard | |
86 | %attr(755,root,root) %{_bindir}/i3-dmenu-desktop | |
87 | %attr(755,root,root) %{_bindir}/i3-dump-log | |
88 | %attr(755,root,root) %{_bindir}/i3-input | |
89 | %attr(755,root,root) %{_bindir}/i3-migrate-config-to-v4 | |
90 | %attr(755,root,root) %{_bindir}/i3-msg | |
91 | %attr(755,root,root) %{_bindir}/i3-nagbar | |
be547928 | 92 | %attr(755,root,root) %{_bindir}/i3-save-tree |
799db4d2 ER |
93 | %attr(755,root,root) %{_bindir}/i3-sensible-editor |
94 | %attr(755,root,root) %{_bindir}/i3-sensible-pager | |
95 | %attr(755,root,root) %{_bindir}/i3-sensible-terminal | |
d03533d5 | 96 | %attr(755,root,root) %{_bindir}/i3-with-shmlog |
3b079283 CM |
97 | %{_datadir}/xsessions/%{name}.desktop |
98 | %{_desktopdir}/%{name}.desktop | |
d03533d5 JP |
99 | %{_mandir}/man1/i3.1* |
100 | %{_mandir}/man1/i3bar.1* | |
101 | %{_mandir}/man1/i3-config-wizard.1* | |
102 | %{_mandir}/man1/i3-dmenu-desktop.1* | |
103 | %{_mandir}/man1/i3-dump-log.1* | |
104 | %{_mandir}/man1/i3-input.1* | |
105 | %{_mandir}/man1/i3-migrate-config-to-v4.1* | |
106 | %{_mandir}/man1/i3-msg.1* | |
107 | %{_mandir}/man1/i3-nagbar.1* | |
108 | %{_mandir}/man1/i3-save-tree.1* | |
109 | %{_mandir}/man1/i3-sensible-editor.1* | |
110 | %{_mandir}/man1/i3-sensible-pager.1* | |
111 | %{_mandir}/man1/i3-sensible-terminal.1* | |
112 | %{_datadir}/xsessions/i3-with-shmlog.desktop | |
3b079283 CM |
113 | |
114 | %files devel | |
115 | %defattr(644,root,root,755) | |
92f3a236 | 116 | %dir %{_includedir}/%{name} |
3b079283 | 117 | %{_includedir}/%{name}/ipc.h |