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