]> git.pld-linux.org Git - packages/polybar.git/blob - polybar.spec
up to 3.7.1
[packages/polybar.git] / polybar.spec
1 Summary:        Fast and easy-to-use status bar
2 Name:           polybar
3 Version:        3.6.3
4 Release:        2
5 License:        MIT, BSD
6 Group:          X11/Window Managers
7 Source0:        https://github.com/polybar/polybar/releases/download/%{version}/%{name}-%{version}.tar.gz 
8 # Source0-md5:  6d51c4632b20c524f919c0a3b3a704f0
9 URL:            https://polybar.github.io/
10 BuildRequires:  alsa-lib-devel
11 BuildRequires:  cairo-devel
12 BuildRequires:  cmake >= 3.5.0
13 BuildRequires:  curl-devel
14 BuildRequires:  i3
15 BuildRequires:  i3-devel
16 BuildRequires:  jsoncpp-devel >= 1.7.7
17 BuildRequires:  libmpdclient-devel
18 BuildRequires:  libnl-devel
19 BuildRequires:  libstdc++-devel >= 6:5.1
20 BuildRequires:  libuv-devel >= 1.3.0
21 BuildRequires:  libxcb-devel >= 1.12
22 BuildRequires:  pkgconfig
23 BuildRequires:  pulseaudio
24 BuildRequires:  pulseaudio-devel
25 BuildRequires:  python3 >= 1:3.5
26 BuildRequires:  python3-Sphinx
27 BuildRequires:  python3-xcbgen
28 BuildRequires:  rpmbuild(macros) >= 1.719
29 BuildRequires:  sphinx-pdg
30 BuildRequires:  xcb-proto
31 BuildRequires:  xcb-util-cursor-devel
32 BuildRequires:  xcb-util-devel
33 BuildRequires:  xcb-util-image-devel
34 BuildRequires:  xcb-util-wm-devel
35 BuildRequires:  xcb-util-xrm-devel
36 Requires:       jsoncpp >= 1.7.7
37 Requires:       libuv >= 1.3.0
38 Requires:       libxcb >= 1.12
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 Polybar aims to help users build beautiful and highly customizable
43 status bars for their desktop environment, without the need of having
44 a black belt in shell scripting.
45
46 %package -n bash-completion-polybar
47 Summary:        bash-completion for polybar
48 Group:          Applications/Shells
49 Requires:       %{name} = %{version}-%{release}
50 Requires:       bash-completion >= 2.0
51 BuildArch:      noarch
52
53 %description -n bash-completion-polybar
54 bash-completion for polybar.
55
56 %package -n zsh-completion-polybar
57 Summary:        zsh-completion for polybar
58 Summary(pl.UTF-8):      Uzupełnianie nazw w zsh dla polybar
59 Group:          Applications/Shells
60 Requires:       %{name} = %{version}-%{release}
61 Requires:       zsh
62 BuildArch:      noarch
63
64 %description -n zsh-completion-polybar
65 zsh-completion for polybar.
66
67 %prep
68 %setup -q
69
70 %build
71 install -d build
72 cd build
73 %cmake ..
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} -C build install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %files
87 %defattr(644,root,root,755)
88 %doc README.md SUPPORT.md
89 %dir %{_sysconfdir}/polybar
90 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/polybar/config.ini
91 %attr(755,root,root) %{_bindir}/polybar
92 %attr(755,root,root) %{_bindir}/polybar-msg
93 %{_mandir}/man1/polybar.1*
94 %{_mandir}/man1/polybar-msg.1*
95 %{_mandir}/man5/polybar.5*
96
97 %files -n bash-completion-polybar
98 %defattr(644,root,root,755)
99 %{bash_compdir}/polybar
100
101 %files -n zsh-completion-polybar
102 %defattr(644,root,root,755)
103 %{zsh_compdir}/_polybar
104 %{zsh_compdir}/_polybar_msg
This page took 0.057125 seconds and 3 git commands to generate.