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