]> git.pld-linux.org Git - packages/polybar.git/blobdiff - polybar.spec
up to 3.7.1
[packages/polybar.git] / polybar.spec
index 6fd40838d033e7f23122cf53ed3847d03e4ceccb..05a824e93697fa6db8f74681a6d8bf8a5c0a117f 100644 (file)
@@ -1,30 +1,31 @@
 Summary:       Fast and easy-to-use status bar
 Name:          polybar
-Version:       3.5.4
+Version:       3.7.1
 Release:       1
 License:       MIT, BSD
 Group:         X11/Window Managers
 Source0:       https://github.com/polybar/polybar/releases/download/%{version}/%{name}-%{version}.tar.gz 
-# Source0-md5: adc534fe17ce8fde1b4e77b04545cec2
-Patch0:                %{name}-mpd-overhead.patch
+# Source0-md5: c70dab46f1747b996a868562f113a69c
 URL:           https://polybar.github.io/
 BuildRequires: alsa-lib-devel
 BuildRequires: cairo-devel
-BuildRequires: cmake >= 3.1
+BuildRequires: cmake >= 3.5.0
 BuildRequires: curl-devel
 BuildRequires: i3
 BuildRequires: i3-devel
 BuildRequires: jsoncpp-devel >= 1.7.7
 BuildRequires: libmpdclient-devel
 BuildRequires: libnl-devel
-BuildRequires: libstdc++-devel >= 6:5.1
+BuildRequires: libstdc++-devel >= 6:9
+BuildRequires: libuv-devel >= 1.3.0
 BuildRequires: libxcb-devel >= 1.12
 BuildRequires: pkgconfig
 BuildRequires: pulseaudio
 BuildRequires: pulseaudio-devel
-BuildRequires: python3 >= 3.5
+BuildRequires: python3 >= 1:3.5
 BuildRequires: python3-Sphinx
 BuildRequires: python3-xcbgen
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpmbuild(macros) >= 1.719
 BuildRequires: sphinx-pdg
 BuildRequires: xcb-proto
@@ -34,6 +35,7 @@ BuildRequires:        xcb-util-image-devel
 BuildRequires: xcb-util-wm-devel
 BuildRequires: xcb-util-xrm-devel
 Requires:      jsoncpp >= 1.7.7
+Requires:      libuv >= 1.3.0
 Requires:      libxcb >= 1.12
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -46,7 +48,7 @@ a black belt in shell scripting.
 Summary:       bash-completion for polybar
 Group:         Applications/Shells
 Requires:      %{name} = %{version}-%{release}
-Requires:      bash-completion >= 2.0
+Requires:      bash-completion >= 1:2.0
 BuildArch:     noarch
 
 %description -n bash-completion-polybar
@@ -65,7 +67,6 @@ zsh-completion for polybar.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 install -d build
@@ -76,7 +77,7 @@ cd build
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} -C build install \
-        DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}
 
@@ -85,10 +86,13 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README.md SUPPORT.md config
+%doc README.md SUPPORT.md
+%dir %{_sysconfdir}/polybar
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/polybar/config.ini
 %attr(755,root,root) %{_bindir}/polybar
 %attr(755,root,root) %{_bindir}/polybar-msg
 %{_mandir}/man1/polybar.1*
+%{_mandir}/man1/polybar-msg.1*
 %{_mandir}/man5/polybar.5*
 
 %files -n bash-completion-polybar
This page took 0.141142 seconds and 4 git commands to generate.