%global srcname waybar %global commit 473eb0982bc7e0c8f5275079b5c79720d5083711 %global date 20230313 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: %{srcname}-git Version: 0.9.17^%{date}g%{shortcommit} Release: 2%{?dist} Summary: Highly customizable Wayland bar for Sway and Wlroots based compositors # MIT for main package, Boost for bundled clara.hpp License: MIT and Boost URL: https://github.com/Alexays/Waybar Source0: %{url}/archive/%{commit}/%{srcname}-%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: meson >= 0.49.0 BuildRequires: scdoc BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(catch2) BuildRequires: pkgconfig(date) BuildRequires: pkgconfig(dbusmenu-gtk3-0.4) BuildRequires: pkgconfig(fmt) >= 5.3.0 BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gtk-layer-shell-0) BuildRequires: pkgconfig(gtkmm-3.0) BuildRequires: pkgconfig(jack) BuildRequires: pkgconfig(jsoncpp) BuildRequires: pkgconfig(libevdev) BuildRequires: pkgconfig(libinput) BuildRequires: pkgconfig(libmpdclient) BuildRequires: pkgconfig(libnl-3.0) BuildRequires: pkgconfig(libnl-genl-3.0) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(playerctl) BuildRequires: pkgconfig(sigc++-2.0) BuildRequires: pkgconfig(spdlog) >= 1.3.1 BuildRequires: pkgconfig(upower-glib) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wireplumber-0.4) BuildRequires: pkgconfig(xkbregistry) Conflicts: %{srcname} Provides: %{srcname} Recommends: (font(fontawesome5free) or font(fontawesome)) Suggests: font(fontawesome5free) %description %{summary}. %prep %autosetup -p1 -n Waybar-%{commit} %build %meson \ -Dsndio=disabled \ -Dexperimental=true %meson_build %install %meson_install %check %meson_test %post %systemd_user_post %{srcname}.service %preun %systemd_user_preun %{srcname}.service %files %license LICENSE %doc README.md %dir %{_sysconfdir}/xdg/%{srcname} %config(noreplace) %{_sysconfdir}/xdg/%{srcname}/config %config(noreplace) %{_sysconfdir}/xdg/%{srcname}/style.css %{_bindir}/%{srcname} %{_mandir}/man5/%{srcname}* %{_userunitdir}/%{srcname}.service %changelog * Mon Jan 10 2022 Aleksei Bavshin - 0.9.9-1 - Update to 0.9.9 - Install systemd user service * Wed Nov 03 2021 Björn Esser - 0.9.8-3 - Rebuild (jsoncpp) * Tue Nov 02 2021 Aleksei Bavshin - 0.9.8-2 - Add patch for 'river/tags' protocol error on River * Mon Aug 16 2021 Aleksei Bavshin - 0.9.8-1 - Update to 0.9.8 * Fri Jul 23 2021 Fedora Release Engineering - 0.9.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jul 05 2021 Richard Shaw - 0.9.7-3 - Rebuild for new fmt version. * Tue Jun 15 2021 Aleksei Bavshin - 0.9.7-2 - Add patch for waybar crash on disabling outputs * Thu Apr 15 2021 Aleksei Bavshin - 0.9.7-1 - Update to 0.9.7 * Thu Apr 15 2021 Aleksei Bavshin - 0.9.6-1 - Update to 0.9.6 * Wed Feb 10 2021 Aleksei Bavshin - 0.9.5-4 - Add patch for rfkill exception with kernel 5.11 - Fixes rhbz#1927821 * Wed Jan 27 2021 Fedora Release Engineering - 0.9.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jan 11 2021 Aleksei Bavshin - 0.9.5-2 - Fix build with spdlog 1.5 (f32) - Add patch for possible crashes in 'wlr/taskbar' * Wed Dec 23 2020 Aleksei Bavshin - 0.9.5-1 - Update to 0.9.5 * Fri Nov 13 2020 Aleksei Bavshin - 0.9.4-3 - Add patch for 'wlr/taskbar' protocol error with wlroots 0.12.0 * Tue Nov 03 2020 Jeff Law - 0.9.4-2 - Fix mising #includes for gcc-11 * Mon Sep 21 2020 Aleksei Bavshin - 0.9.4-1 - Update to 0.9.4 * Sun Sep 20 2020 Aleksei Bavshin - 0.9.3-2 - Add patch for custom module signal handling regression - Add patch for network module crash with fmt 7.0 - Add patch for broken updates in mpd and network modules * Wed Aug 05 2020 Aleksei Bavshin - 0.9.3-1 - Update to 0.9.3 (closes rhbz#1866571) - Add patch for wlr/taskbar config strings * Mon Aug 03 2020 Aleksei Bavshin - 0.9.2-4 - Rebuild (date) * Wed Jul 29 2020 Fedora Release Engineering - 0.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat May 30 2020 Björn Esser - 0.9.2-2 - Rebuild (jsoncpp) * Sat Apr 11 2020 Aleksei Bavshin - 0.9.2-1 - Update to 0.9.2 * Mon Feb 10 2020 Aleksei Bavshin - 0.9.1-1 - Update to 0.9.1 - Remove upstreamed patch - Add BuildRequires: pkgconfig(date) * Sat Feb 08 2020 Aleksei Bavshin - 0.9.0-1 - Initial import (#1798811)