1 Summary: Modular status panel for X11 and Wayland
7 Source0: https://codeberg.org/dnkl/yambar/archive/%{version}.tar.gz
8 # Source0-md5: 2cd1725479977b4132bdba8d3d3458de
9 URL: https://codeberg.org/dnkl/yambar/
10 BuildRequires: alsa-lib-devel
12 BuildRequires: fcft-devel < 4.0.0
13 BuildRequires: fcft-devel >= 3.0.0
15 BuildRequires: json-c-devel
16 BuildRequires: libmpdclient-devel
17 BuildRequires: libxcb-devel
18 BuildRequires: meson >= 0.59.0
20 BuildRequires: pipewire-devel >= 0.3
21 BuildRequires: pixman-devel
22 BuildRequires: pkgconfig
23 BuildRequires: pulseaudio-devel
24 BuildRequires: rpm-build >= 4.6
25 BuildRequires: rpmbuild(macros) >= 1.736
27 BuildRequires: tllist-devel >= 1.0.1
28 BuildRequires: udev-devel
29 BuildRequires: wayland-devel
30 BuildRequires: wayland-protocols
31 BuildRequires: xcb-util-cursor-devel
32 BuildRequires: xcb-util-devel
33 BuildRequires: xcb-util-errors-devel
34 BuildRequires: xcb-util-wm-devel
35 BuildRequires: yaml-devel
36 Requires(post,postun): desktop-file-utils
37 Requires: fcft < 4.0.0
38 Requires: fcft >= 3.0.0
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 %define specflags -Wno-format-truncation
44 yambar is a lightweight and configurable status panel (bar, for short)
45 for X11 and Wayland, that goes to great lengths to be both CPU and
46 battery efficient - polling is only done when absolutely necessary.
49 Summary: Header files for yambar
50 Group: Development/Libraries
53 Header files for yambar.
55 %package -n zsh-completion-yambar
56 Summary: ZSH completion for yambar command line
57 Group: Applications/Shells
58 Requires: %{name} = %{version}-%{release}
62 %description -n zsh-completion-yambar
63 ZSH completion for yambar command line.
74 rm -rf $RPM_BUILD_ROOT
76 %ninja_install -C build
79 rm -rf $RPM_BUILD_ROOT
82 %update_desktop_database_post
85 %update_desktop_database_postun
88 %defattr(644,root,root,755)
89 %doc CHANGELOG.md README.md
90 %attr(755,root,root) %{_bindir}/yambar
91 %{_desktopdir}/yambar.desktop
92 %{_mandir}/man1/yambar.1*
93 %{_mandir}/man5/yambar.5*
94 %{_mandir}/man5/yambar-decorations.5*
95 %{_mandir}/man5/yambar-modules*.5*
96 %{_mandir}/man5/yambar-particles.5*
97 %{_mandir}/man5/yambar-tags.5*
100 %defattr(644,root,root,755)
101 %dir %{_includedir}/yambar
102 %{_includedir}/yambar/*.h
103 %dir %{_includedir}/yambar/bar
104 %{_includedir}/yambar/bar/*.h
106 %files -n zsh-completion-yambar
107 %defattr(644,root,root,755)
108 %{zsh_compdir}/_yambar