]>
Commit | Line | Data |
---|---|---|
306abb7a JP |
1 | Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors |
2 | Name: waybar | |
9fbe5acd | 3 | Version: 0.9.13 |
a314a1d6 | 4 | Release: 1 |
306abb7a JP |
5 | License: MIT |
6 | Group: Applications | |
7 | Source0: https://github.com/Alexays/Waybar/archive/%{version}/%{name}-%{version}.tar.gz | |
9fbe5acd | 8 | # Source0-md5: 85b7c6c8c902aef676360e8b81caadf6 |
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 |
a314a1d6 | 18 | BuildRequires: libfmt-devel >= 7.0.0 |
306abb7a JP |
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 | |
747cfb6d | 28 | BuildRequires: rpmbuild(macros) >= 2.011 |
306abb7a | 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 | |
9fbe5acd | 33 | BuildRequires: upower-devel |
306abb7a JP |
34 | BuildRequires: wayland-devel |
35 | BuildRequires: wayland-protocols | |
747cfb6d | 36 | Requires(post,preun): systemd-units >= 1:250.1 |
306abb7a | 37 | Requires: gtkmm3 >= 3.22.0 |
a314a1d6 | 38 | Requires: libfmt >= 7.0.0 |
0a54f880 | 39 | Requires: spdlog >= 1:1.8.5 |
747cfb6d | 40 | Requires: systemd-units >= 1:250.1 |
306abb7a JP |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
43 | %description | |
44 | Highly customizable Wayland bar for Sway and Wlroots based | |
45 | compositors. | |
46 | ||
47 | %prep | |
48 | %setup -q -n Waybar-%{version} | |
49 | ||
50 | %build | |
51 | %meson build | |
52 | %ninja_build -C build | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | %ninja_install -C build | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
747cfb6d JR |
61 | %post |
62 | %systemd_user_post waybar.service | |
63 | ||
64 | %preun | |
65 | %systemd_user_preun waybar.service | |
66 | ||
306abb7a JP |
67 | %files |
68 | %defattr(644,root,root,755) | |
69 | %doc README.md | |
70 | %dir /etc/xdg/waybar | |
71 | %config(noreplace) %verify(not md5 mtime size) /etc/xdg/waybar/config | |
72 | %config(noreplace) %verify(not md5 mtime size) /etc/xdg/waybar/style.css | |
73 | %attr(755,root,root) %{_bindir}/waybar | |
74 | %{systemduserunitdir}/waybar.service | |
75 | %{_mandir}/man5/waybar*.5* |