]>
Commit | Line | Data |
---|---|---|
cd42400f JP |
1 | Summary: Status bar generator for i3bar, dzen2, xmobar or similar programs |
2 | Name: i3status | |
78712afd | 3 | Version: 2.14 |
cd42400f JP |
4 | Release: 1 |
5 | License: BSD | |
6 | Group: X11/Window Managers | |
78712afd JP |
7 | Source0: https://i3wm.org/i3status/%{name}-%{version}.tar.xz |
8 | # Source0-md5: 55a4bb05362947947bc93f705f5d71cd | |
cd42400f JP |
9 | URL: https://i3wm.org/i3status/ |
10 | BuildRequires: alsa-lib-devel | |
11 | BuildRequires: asciidoc | |
78712afd | 12 | BuildRequires: bash |
cd42400f JP |
13 | BuildRequires: libconfuse-devel |
14 | BuildRequires: libnl-devel | |
78712afd JP |
15 | BuildRequires: meson >= 0.45.0 |
16 | BuildRequires: ninja | |
17 | BuildRequires: perl-base | |
18 | BuildRequires: perl-tools-pod | |
19 | BuildRequires: pkgconfig | |
cd42400f | 20 | BuildRequires: pulseaudio-devel |
78712afd JP |
21 | BuildRequires: rpmbuild(macros) >= 1.736 |
22 | BuildRequires: tar >= 1:1.22 | |
cd42400f | 23 | BuildRequires: xmlto |
78712afd | 24 | BuildRequires: xz |
cd42400f JP |
25 | BuildRequires: yajl-devel |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
29 | i3status is a program for generating a status bar for i3bar, dzen2, | |
30 | xmobar or similar programs. It issues a small number of system calls, | |
31 | as one generally wants to update such status lines every second so | |
32 | that the bar is updated even under load. It saves a bit of energy by | |
33 | being more efficient than shell commands. | |
34 | ||
35 | %prep | |
36 | %setup -q | |
37 | ||
38 | %build | |
78712afd JP |
39 | %meson build \ |
40 | -Dmans=true | |
41 | ||
42 | %ninja_build -C build | |
cd42400f JP |
43 | |
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
78712afd JP |
46 | |
47 | %ninja_install -C build | |
cd42400f JP |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf | |
55 | %attr(755,root,root) %{_bindir}/%{name} | |
56 | %{_mandir}/man*/%{name}.1* |