Blob Blame History Raw
%{!?__python2: %global __python2 /usr/bin/python2}
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}

Name:		py3status
Version:	2.2
Release:	2%{?dist}
Summary:	An extensible i3status wrapper written in python

Group:		User Interface/Desktops
License:	BSD

BuildArch:	noarch
BuildRequires:	python2-devel
BuildRequires:	python-setuptools
Requires:	i3status

Using py3status, you can take control of your i3bar easily by:
- writing your own modules and have their output displayed on your bar
- handling click events on your i3bar and play with them in no time
- seeing your clock tick every second whatever your i3status interval
No extra configuration file needed, just install & enjoy !

%setup -q -n py3status-%{version}
mv %{_builddir}/py3status-%{version}/py3status/modules %{_builddir}/py3status-%{version}/

%{__python2} build

%{__python2} install --skip-build --root $RPM_BUILD_ROOT
rm -rf %{buildroot}/%{python2_sitelib}/modules

%dir %{python2_sitelib}/py3status

* Thu Jan 29 2015 Jakub Jedelsky <> - 2.2-2
- move modules dir into docs

* Thu Jan 22 2015 Jakub Jedelsky <> - 2.2-1
- update to new version

* Mon Oct 27 2014 Jakub Jedelsky <> - 1.6-1
- inital package