Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors
+Summary(pl.UTF-8): Bardzo konfigurowalny pasek Waylanda do kompozytorów opartych na Sway i Wlroots
Name: waybar
-Version: 0.9.7
+Version: 0.9.19
Release: 1
License: MIT
Group: Applications
Source0: https://github.com/Alexays/Waybar/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 5b9ca9317efe83bce0cce1691ab7a863
+# Source0-md5: 82483d342f1dd257badaad484c746815
URL: https://github.com/Alexays/Waybar/
BuildRequires: date-devel
BuildRequires: glib2-devel
BuildRequires: gtk+3-devel
BuildRequires: gtk-layer-shell-devel
BuildRequires: gtkmm3-devel >= 3.22.0
-BuildRequires: jsoncpp-devel
+BuildRequires: jsoncpp-devel >= 1.9.2
BuildRequires: libdbusmenu-gtk3-devel
-BuildRequires: libfmt-devel >= 5.3.0
+BuildRequires: libevdev-devel
+BuildRequires: libfmt-devel >= 8.1.1
+BuildRequires: libinput-devel
BuildRequires: libmpdclient-devel
BuildRequires: libnl-devel >= 3.0
BuildRequires: libsigc++-devel >= 2.0
BuildRequires: libstdc++-devel >= 6:8
-BuildRequires: meson >= 0.49.0
+BuildRequires: libxkbregistry-devel
+BuildRequires: meson >= 0.50.0
BuildRequires: ninja
+BuildRequires: pipewire-wireplumber-devel >= 0.4
BuildRequires: pkgconfig
+BuildRequires: playerctl-devel
BuildRequires: pulseaudio-devel
-BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: rpmbuild(macros) >= 2.011
BuildRequires: scdoc >= 1.9.2
-BuildRequires: spdlog-devel >= 1:1.8.0
+BuildRequires: spdlog-devel >= 1:1.10.0
BuildRequires: systemd-devel
BuildRequires: udev-devel
+BuildRequires: upower-devel
BuildRequires: wayland-devel
BuildRequires: wayland-protocols
+Requires(post,preun): systemd-units >= 1:250.1
Requires: gtkmm3 >= 3.22.0
-Requires: libfmt >= 5.3.0
-Requires: spdlog >= 1:1.8.0
+Requires: jsoncpp >= 1.9.2
+Requires: libfmt >= 8.1.1
+Requires: spdlog >= 1:1.10.0
+Requires: systemd-units >= 1:250.1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Highly customizable Wayland bar for Sway and Wlroots based
compositors.
+%description -l pl.UTF-8
+Bardzo konfigurowalny pasek Waylanda do kompozytorów opartych na Sway
+i Wlroots.
+
%prep
%setup -q -n Waybar-%{version}
%build
%meson build
+
%ninja_build -C build
%install
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%systemd_user_post waybar.service
+
+%preun
+%systemd_user_preun waybar.service
+
%files
%defattr(644,root,root,755)
%doc README.md