]>
Commit | Line | Data |
---|---|---|
306abb7a JP |
1 | Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors |
2 | Name: waybar | |
fd288d0a | 3 | Version: 0.9.16 |
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 | |
fd288d0a | 8 | # Source0-md5: f5e8830136ec769d913815ae21dc6e62 |
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 JP |
28 | BuildRequires: pkgconfig |
29 | BuildRequires: pulseaudio-devel | |
747cfb6d | 30 | BuildRequires: rpmbuild(macros) >= 2.011 |
306abb7a | 31 | BuildRequires: scdoc >= 1.9.2 |
49de9341 | 32 | BuildRequires: spdlog-devel >= 1:1.10.0 |
306abb7a JP |
33 | BuildRequires: systemd-devel |
34 | BuildRequires: udev-devel | |
9fbe5acd | 35 | BuildRequires: upower-devel |
306abb7a JP |
36 | BuildRequires: wayland-devel |
37 | BuildRequires: wayland-protocols | |
747cfb6d | 38 | Requires(post,preun): systemd-units >= 1:250.1 |
306abb7a | 39 | Requires: gtkmm3 >= 3.22.0 |
49de9341 JP |
40 | Requires: jsoncpp >= 1.9.2 |
41 | Requires: libfmt >= 8.1.1 | |
42 | Requires: spdlog >= 1:1.10.0 | |
747cfb6d | 43 | Requires: systemd-units >= 1:250.1 |
306abb7a JP |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
45 | ||
46 | %description | |
47 | Highly customizable Wayland bar for Sway and Wlroots based | |
48 | compositors. | |
49 | ||
50 | %prep | |
51 | %setup -q -n Waybar-%{version} | |
52 | ||
53 | %build | |
54 | %meson build | |
55 | %ninja_build -C build | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | %ninja_install -C build | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
747cfb6d JR |
64 | %post |
65 | %systemd_user_post waybar.service | |
66 | ||
67 | %preun | |
68 | %systemd_user_preun waybar.service | |
69 | ||
306abb7a JP |
70 | %files |
71 | %defattr(644,root,root,755) | |
72 | %doc README.md | |
73 | %dir /etc/xdg/waybar | |
74 | %config(noreplace) %verify(not md5 mtime size) /etc/xdg/waybar/config | |
75 | %config(noreplace) %verify(not md5 mtime size) /etc/xdg/waybar/style.css | |
76 | %attr(755,root,root) %{_bindir}/waybar | |
77 | %{systemduserunitdir}/waybar.service | |
78 | %{_mandir}/man5/waybar*.5* |