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