]>
Commit | Line | Data |
---|---|---|
1 | Summary: improved tiling wm | |
2 | Name: i3 | |
3 | Version: 4.20.1 | |
4 | Release: 1 | |
5 | License: BSD | |
6 | Group: X11/Window Managers | |
7 | Source0: https://i3wm.org/downloads/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: 0c94d32b7a132b7dfce49b12960dfb7d | |
9 | Patch0: %{name}-remember_ws_output.patch | |
10 | URL: http://i3wm.org/ | |
11 | BuildRequires: asciidoc | |
12 | BuildRequires: bison | |
13 | BuildRequires: cairo-devel >= 1.14.4 | |
14 | BuildRequires: flex | |
15 | BuildRequires: glib2 | |
16 | BuildRequires: libev-devel | |
17 | BuildRequires: libxcb-devel | |
18 | BuildRequires: meson >= 0.45.0 | |
19 | BuildRequires: ninja | |
20 | BuildRequires: pango-devel | |
21 | BuildRequires: pcre-devel >= 8.10 | |
22 | BuildRequires: perl-devel | |
23 | BuildRequires: pkgconfig | |
24 | BuildRequires: rpmbuild(macros) >= 1.736 | |
25 | BuildRequires: startup-notification-devel | |
26 | BuildRequires: tar >= 1:1.22 | |
27 | BuildRequires: xcb-proto | |
28 | BuildRequires: xcb-util-cursor-devel | |
29 | BuildRequires: xcb-util-devel | |
30 | BuildRequires: xcb-util-keysyms-devel | |
31 | BuildRequires: xcb-util-wm-devel | |
32 | BuildRequires: xcb-util-xrm-devel | |
33 | BuildRequires: xmlto | |
34 | BuildRequires: xorg-lib-libX11-devel | |
35 | BuildRequires: xorg-lib-libXcursor-devel | |
36 | BuildRequires: xorg-lib-libxkbcommon-devel | |
37 | BuildRequires: xorg-lib-libxkbcommon-x11-devel | |
38 | BuildRequires: xorg-lib-libxkbfile | |
39 | BuildRequires: xz | |
40 | BuildRequires: yajl-devel | |
41 | Requires: cairo >= 1.14.4 | |
42 | Requires: glib2 | |
43 | Requires: pcre >= 8.10 | |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
45 | ||
46 | %description | |
47 | i3 is a tiling window manager, completely written from scratch. The | |
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 | |
50 | primarily targeted at advanced users and developers. | |
51 | ||
52 | %package devel | |
53 | Summary: Header files for %{name} | |
54 | Group: Development/Libraries | |
55 | ||
56 | %description devel | |
57 | Header files for %{name}. | |
58 | ||
59 | %prep | |
60 | %setup -q | |
61 | %patch0 -p1 | |
62 | %{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' i3-save-tree i3-migrate-config-to-v4 i3-dmenu-desktop | |
63 | ||
64 | %build | |
65 | %meson build | |
66 | %ninja_build -C build | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | %ninja_install -C build | |
71 | ||
72 | rm -r $RPM_BUILD_ROOT%{_docdir}/i3 | |
73 | ||
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
79 | %doc LICENSE RELEASE-NOTES-%{version} docs/*.html | |
80 | %dir %{_sysconfdir}/%{name} | |
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 | |
92 | %attr(755,root,root) %{_bindir}/i3-save-tree | |
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 | |
96 | %attr(755,root,root) %{_bindir}/i3-with-shmlog | |
97 | %{_datadir}/xsessions/%{name}.desktop | |
98 | %{_desktopdir}/%{name}.desktop | |
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 | |
113 | ||
114 | %files devel | |
115 | %defattr(644,root,root,755) | |
116 | %dir %{_includedir}/%{name} | |
117 | %{_includedir}/%{name}/ipc.h |