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