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