]>
Commit | Line | Data |
---|---|---|
306abb7a JP |
1 | Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors |
2 | Name: waybar | |
83eb1f69 | 3 | Version: 0.9.17 |
49de9341 | 4 | Release: 1 |
306abb7a JP |
5 | License: MIT |
6 | Group: Applications | |
7 | Source0: https://github.com/Alexays/Waybar/archive/%{version}/%{name}-%{version}.tar.gz | |
83eb1f69 | 8 | # Source0-md5: 9f21b583a3f89045169bde27ff9e1197 |
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 | |
49de9341 | 15 | BuildRequires: jsoncpp-devel >= 1.9.2 |
306abb7a | 16 | BuildRequires: libdbusmenu-gtk3-devel |
0a54f880 | 17 | BuildRequires: libevdev-devel |
49de9341 JP |
18 | BuildRequires: libfmt-devel >= 8.1.1 |
19 | BuildRequires: libinput-devel | |
306abb7a JP |
20 | BuildRequires: libmpdclient-devel |
21 | BuildRequires: libnl-devel >= 3.0 | |
22 | BuildRequires: libsigc++-devel >= 2.0 | |
23 | BuildRequires: libstdc++-devel >= 6:8 | |
0a54f880 | 24 | BuildRequires: libxkbregistry-devel |
306abb7a JP |
25 | BuildRequires: meson >= 0.49.0 |
26 | BuildRequires: ninja | |
fd288d0a | 27 | BuildRequires: pipewire-wireplumber-devel >= 0.4 |
306abb7a | 28 | BuildRequires: pkgconfig |
83eb1f69 | 29 | BuildRequires: playerctl-devel |
306abb7a | 30 | BuildRequires: pulseaudio-devel |
747cfb6d | 31 | BuildRequires: rpmbuild(macros) >= 2.011 |
306abb7a | 32 | BuildRequires: scdoc >= 1.9.2 |
49de9341 | 33 | BuildRequires: spdlog-devel >= 1:1.10.0 |
306abb7a JP |
34 | BuildRequires: systemd-devel |
35 | BuildRequires: udev-devel | |
9fbe5acd | 36 | BuildRequires: upower-devel |
306abb7a JP |
37 | BuildRequires: wayland-devel |
38 | BuildRequires: wayland-protocols | |
747cfb6d | 39 | Requires(post,preun): systemd-units >= 1:250.1 |
306abb7a | 40 | Requires: gtkmm3 >= 3.22.0 |
49de9341 JP |
41 | Requires: jsoncpp >= 1.9.2 |
42 | Requires: libfmt >= 8.1.1 | |
43 | Requires: spdlog >= 1:1.10.0 | |
747cfb6d | 44 | Requires: systemd-units >= 1:250.1 |
306abb7a JP |
45 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
46 | ||
47 | %description | |
48 | Highly customizable Wayland bar for Sway and Wlroots based | |
49 | compositors. | |
50 | ||
51 | %prep | |
52 | %setup -q -n Waybar-%{version} | |
53 | ||
54 | %build | |
55 | %meson build | |
56 | %ninja_build -C build | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | %ninja_install -C build | |
61 | ||
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
747cfb6d JR |
65 | %post |
66 | %systemd_user_post waybar.service | |
67 | ||
68 | %preun | |
69 | %systemd_user_preun waybar.service | |
70 | ||
306abb7a JP |
71 | %files |
72 | %defattr(644,root,root,755) | |
73 | %doc README.md | |
74 | %dir /etc/xdg/waybar | |
75 | %config(noreplace) %verify(not md5 mtime size) /etc/xdg/waybar/config | |
76 | %config(noreplace) %verify(not md5 mtime size) /etc/xdg/waybar/style.css | |
77 | %attr(755,root,root) %{_bindir}/waybar | |
78 | %{systemduserunitdir}/waybar.service | |
79 | %{_mandir}/man5/waybar*.5* |