]> git.pld-linux.org Git - packages/polybar.git/blame - polybar.spec
package sample config
[packages/polybar.git] / polybar.spec
CommitLineData
3d06777a
JP
1Summary: Fast and easy-to-use status bar
2Name: polybar
3Version: 3.4.2
4Release: 1
5License: MIT, BSD
6Group: X11/Window Managers
7Source0: https://github.com/polybar/polybar/releases/download/%{version}/%{name}-%{version}.tar
8# Source0-md5: fe5c215f9e2f2dacae65246d18c97bd5
9Patch0: %{name}-consistent_python.patch
10URL: https://polybar.github.io/
11BuildRequires: alsa-lib-devel
12BuildRequires: cairo-devel
13BuildRequires: cmake >= 3.1
14BuildRequires: curl-devel
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
22BuildRequires: pulseaudio-devel
23BuildRequires: python3 >= 3.5
24BuildRequires: python3-Sphinx
25BuildRequires: python3-xcbgen
26BuildRequires: rpmbuild(macros) >= 1.719
27BuildRequires: sphinx-pdg
28BuildRequires: xcb-proto
29BuildRequires: xcb-util-cursor-devel
30BuildRequires: xcb-util-devel
31BuildRequires: xcb-util-image-devel
32BuildRequires: xcb-util-wm-devel
33BuildRequires: xcb-util-xrm-devel
34Requires: jsoncpp >= 1.7.7
35Requires: libxcb >= 1.12
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
39Polybar aims to help users build beautiful and highly customizable
40status bars for their desktop environment, without the need of having
41a black belt in shell scripting.
42
43%package -n bash-completion-polybar
44Summary: bash-completion for polybar
45Group: Applications/Shells
46Requires: %{name} = %{version}-%{release}
47Requires: bash-completion >= 2.0
48%if "%{_rpmversion}" >= "5"
49BuildArch: noarch
50%endif
51
52%description -n bash-completion-polybar
53bash-completion for polybar.
54
55%package -n zsh-completion-polybar
56Summary: zsh-completion for polybar
57Summary(pl.UTF-8): Uzupełnianie nazw w zsh dla polybar
58Group: Applications/Shells
59Requires: %{name} = %{version}-%{release}
60Requires: zsh
61%if "%{_rpmversion}" >= "5"
62BuildArch: noarch
63%endif
64
65%description -n zsh-completion-polybar
66zsh-completion for polybar.
67
68%prep
69%setup -q -n %{name}
70%patch0 -p1
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*
94
95%files -n bash-completion-polybar
96%defattr(644,root,root,755)
97%{bash_compdir}/polybar
98
99%files -n zsh-completion-polybar
100%defattr(644,root,root,755)
101%{zsh_compdir}/_polybar
102%{zsh_compdir}/_polybar_msg
This page took 0.073848 seconds and 4 git commands to generate.