]>
Commit | Line | Data |
---|---|---|
306abb7a JP |
1 | Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors |
2 | Name: waybar | |
0a54f880 | 3 | Version: 0.9.8 |
306abb7a JP |
4 | Release: 1 |
5 | License: MIT | |
6 | Group: Applications | |
7 | Source0: https://github.com/Alexays/Waybar/archive/%{version}/%{name}-%{version}.tar.gz | |
0a54f880 | 8 | # Source0-md5: b9f5223906266b39cb9766debd31987e |
306abb7a JP |
9 | URL: https://github.com/Alexays/Waybar/ |
10 | BuildRequires: date-devel | |
11 | BuildRequires: glib2-devel | |
12 | BuildRequires: gtk+3-devel | |
13 | BuildRequires: gtk-layer-shell-devel | |
14 | BuildRequires: gtkmm3-devel >= 3.22.0 | |
15 | BuildRequires: jsoncpp-devel | |
16 | BuildRequires: libdbusmenu-gtk3-devel | |
0a54f880 | 17 | BuildRequires: libevdev-devel |
306abb7a JP |
18 | BuildRequires: libfmt-devel >= 5.3.0 |
19 | BuildRequires: libmpdclient-devel | |
20 | BuildRequires: libnl-devel >= 3.0 | |
21 | BuildRequires: libsigc++-devel >= 2.0 | |
22 | BuildRequires: libstdc++-devel >= 6:8 | |
0a54f880 | 23 | BuildRequires: libxkbregistry-devel |
306abb7a JP |
24 | BuildRequires: meson >= 0.49.0 |
25 | BuildRequires: ninja | |
26 | BuildRequires: pkgconfig | |
27 | BuildRequires: pulseaudio-devel | |
28 | BuildRequires: rpmbuild(macros) >= 1.736 | |
29 | BuildRequires: scdoc >= 1.9.2 | |
0a54f880 | 30 | BuildRequires: spdlog-devel >= 1:1.8.5 |
306abb7a JP |
31 | BuildRequires: systemd-devel |
32 | BuildRequires: udev-devel | |
33 | BuildRequires: wayland-devel | |
34 | BuildRequires: wayland-protocols | |
35 | Requires: gtkmm3 >= 3.22.0 | |
36 | Requires: libfmt >= 5.3.0 | |
0a54f880 | 37 | Requires: spdlog >= 1:1.8.5 |
306abb7a JP |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
39 | ||
40 | %description | |
41 | Highly customizable Wayland bar for Sway and Wlroots based | |
42 | compositors. | |
43 | ||
44 | %prep | |
45 | %setup -q -n Waybar-%{version} | |
46 | ||
47 | %build | |
48 | %meson build | |
49 | %ninja_build -C build | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | %ninja_install -C build | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc README.md | |
61 | %dir /etc/xdg/waybar | |
62 | %config(noreplace) %verify(not md5 mtime size) /etc/xdg/waybar/config | |
63 | %config(noreplace) %verify(not md5 mtime size) /etc/xdg/waybar/style.css | |
64 | %attr(755,root,root) %{_bindir}/waybar | |
65 | %{systemduserunitdir}/waybar.service | |
66 | %{_mandir}/man5/waybar*.5* |