]> git.pld-linux.org Git - packages/polybar.git/blame_incremental - polybar.spec
- unconditional noarch subpackages
[packages/polybar.git] / polybar.spec
... / ...
CommitLineData
1Summary: Fast and easy-to-use status bar
2Name: polybar
3Version: 3.5.4
4Release: 1
5License: MIT, BSD
6Group: X11/Window Managers
7Source0: https://github.com/polybar/polybar/releases/download/%{version}/%{name}-%{version}.tar.gz
8# Source0-md5: adc534fe17ce8fde1b4e77b04545cec2
9Patch0: %{name}-mpd-overhead.patch
10URL: https://polybar.github.io/
11BuildRequires: alsa-lib-devel
12BuildRequires: cairo-devel
13BuildRequires: cmake >= 3.1
14BuildRequires: curl-devel
15BuildRequires: i3
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
23BuildRequires: pulseaudio
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
50BuildArch: noarch
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
61BuildArch: noarch
62
63%description -n zsh-completion-polybar
64zsh-completion for polybar.
65
66%prep
67%setup -q
68%patch0 -p1
69
70%build
71install -d build
72cd build
73%cmake ..
74
75%install
76rm -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
84rm -rf $RPM_BUILD_ROOT
85
86%files
87%defattr(644,root,root,755)
88%doc README.md SUPPORT.md config
89%attr(755,root,root) %{_bindir}/polybar
90%attr(755,root,root) %{_bindir}/polybar-msg
91%{_mandir}/man1/polybar.1*
92%{_mandir}/man5/polybar.5*
93
94%files -n bash-completion-polybar
95%defattr(644,root,root,755)
96%{bash_compdir}/polybar
97
98%files -n zsh-completion-polybar
99%defattr(644,root,root,755)
100%{zsh_compdir}/_polybar
101%{zsh_compdir}/_polybar_msg
This page took 0.059059 seconds and 4 git commands to generate.