|
|
8384932 |
%{!?__python2: %global __python2 /usr/bin/python2}
|
|
|
8384932 |
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
|
8384932 |
|
|
|
8384932 |
Name: py3status
|
|
|
9db6afa |
Version: 2.5
|
|
|
3b6c62d |
Release: 1%{?dist}
|
|
|
8384932 |
Summary: An extensible i3status wrapper written in python
|
|
|
8384932 |
|
|
|
8384932 |
Group: User Interface/Desktops
|
|
|
8384932 |
License: BSD
|
|
|
8384932 |
URL: https://github.com/ultrabug/py3status
|
|
|
8384932 |
Source0: https://github.com/ultrabug/py3status/archive/%{version}.tar.gz
|
|
|
8384932 |
|
|
|
8384932 |
BuildArch: noarch
|
|
|
8384932 |
BuildRequires: python2-devel
|
|
|
8384932 |
BuildRequires: python-setuptools
|
|
|
8384932 |
Requires: i3status
|
|
|
8384932 |
|
|
|
8384932 |
%description
|
|
|
8384932 |
Using py3status, you can take control of your i3bar easily by:
|
|
|
8384932 |
- writing your own modules and have their output displayed on your bar
|
|
|
8384932 |
- handling click events on your i3bar and play with them in no time
|
|
|
8384932 |
- seeing your clock tick every second whatever your i3status interval
|
|
|
8384932 |
No extra configuration file needed, just install & enjoy !
|
|
|
8384932 |
|
|
|
8384932 |
%prep
|
|
|
8384932 |
%setup -q -n py3status-%{version}
|
|
|
3fbb47d |
mv %{_builddir}/py3status-%{version}/py3status/modules %{_builddir}/py3status-%{version}/
|
|
|
8384932 |
|
|
|
8384932 |
%build
|
|
|
8384932 |
%{__python2} setup.py build
|
|
|
8384932 |
|
|
|
8384932 |
|
|
|
8384932 |
%install
|
|
|
8384932 |
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
3fbb47d |
rm -rf %{buildroot}/%{python2_sitelib}/modules
|
|
|
8384932 |
|
|
|
8384932 |
|
|
|
8384932 |
%files
|
|
|
3fbb47d |
%doc README.rst LICENSE CHANGELOG modules
|
|
|
8384932 |
%{_bindir}/py3status
|
|
|
8384932 |
%dir %{python2_sitelib}/py3status
|
|
|
8384932 |
%{python2_sitelib}/py3status/*
|
|
|
8384932 |
%{python2_sitelib}/*.egg-info
|
|
|
8384932 |
|
|
|
8384932 |
|
|
|
8384932 |
%changelog
|
|
|
9db6afa |
* Tue Aug 25 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.5-1
|
|
|
9db6afa |
- update to version 2.5
|
|
|
9db6afa |
|
|
|
3b6c62d |
* Thu Jul 16 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.4-1
|
|
|
3b6c62d |
- update to version 2.4
|
|
|
3b6c62d |
|
|
|
7c9c751 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-3
|
|
|
7c9c751 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7c9c751 |
|
|
|
3fbb47d |
* Thu Jan 29 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.2-2
|
|
|
3fbb47d |
- move modules dir into docs
|
|
|
3fbb47d |
|
|
|
b53e736 |
* Thu Jan 22 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.2-1
|
|
|
b53e736 |
- update to new version
|
|
|
b53e736 |
|
|
|
8384932 |
* Mon Oct 27 2014 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 1.6-1
|
|
|
8384932 |
- inital package
|