02ee32
%global sum    An extensible i3status wrapper written in python
838493
02ee32
%bcond_without doc
02ee32
# test are somehow broken, so it's disabled now
02ee32
%bcond_with    test
838493
02ee32
Name:           py3status
9c70f2
Version:        3.24
9cabd7
Release:        2%{?dist}
02ee32
Summary:        %{sum}
02ee32
02ee32
License:        BSD
02ee32
URL:            https://github.com/ultrabug/py3status
02ee32
Source0:        https://github.com/ultrabug/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
02ee32
02ee32
BuildArch:      noarch
02ee32
BuildRequires:  python3-devel
02ee32
BuildRequires:  python3-setuptools
02ee32
%if %{with doc}
02ee32
BuildRequires:  dejavu-sans-mono-fonts
02ee32
BuildRequires:  python3-sphinx
02ee32
BuildRequires:  python3-fonttools
02ee32
BuildRequires:  python3-pillow
02ee32
%endif # docs
02ee32
%if %{with test}
02ee32
BuildRequires:  python3-tox
02ee32
%endif #test
02ee32
Requires:       i3status
838493
838493
%description
838493
Using py3status, you can take control of your i3bar easily by:
838493
- writing your own modules and have their output displayed on your bar
838493
- handling click events on your i3bar and play with them in no time
838493
- seeing your clock tick every second whatever your i3status interval
838493
No extra configuration file needed, just install & enjoy !
838493
02ee32
02ee32
%if %{with doc}
02ee32
%package doc
02ee32
Summary:         Documentation files for %{name}
02ee32
BuildArch:       noarch
02ee32
02ee32
%description doc
02ee32
%{sum}.
02ee32
%endif #doc
02ee32
838493
%prep
838493
%setup -q -n py3status-%{version}
2abe81
838493
838493
%build
3aea56
%py3_build
838493
02ee32
%if %{with doc}
02ee32
# we have to build docs in doc dir because of hardcoded paths
02ee32
pushd doc
02ee32
export PYTHONPATH=..
02ee32
sphinx-build-3 -d ../buildtree . ../html
02ee32
popd
02ee32
%{__rm} -rf html/.buildinfo
02ee32
%endif # doc
02ee32
838493
838493
%install
3aea56
%py3_install
838493
838493
02ee32
%if %{with test}
02ee32
%check
02ee32
tox
02ee32
%endif # test
02ee32
838493
%files
3aea56
%license LICENSE
3aea56
%doc README.rst CHANGELOG
02ee32
%{_bindir}/py3-cmd
838493
%{_bindir}/py3status
3aea56
%dir %{python3_sitelib}/py3status
3aea56
%{python3_sitelib}/py3status/*
3aea56
%{python3_sitelib}/*.egg-info
838493
02ee32
%if %{with doc}
02ee32
%files doc
02ee32
%license LICENSE
02ee32
%doc html/
02ee32
%endif # doc
02ee32
838493
838493
%changelog
9cabd7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.24-2
9cabd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9cabd7
9c70f2
* Sat Jan 11 2020 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.24-1
9c70f2
- Upgrade to version 3.24
9c70f2
3aeec2
* Sun Jan 05 2020 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.23-1
3aeec2
- Upgrade to version 3.23
3aeec2
19ece8
* Wed Oct 23 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.21-1
19ece8
- Upgrade to version 3.21
19ece8
85e634
* Thu Oct 03 2019 Miro Hron훾ok <mhroncok@redhat.com> - 3.19-4
85e634
- Rebuilt for Python 3.8.0rc1 (#1748018)
85e634
5f1449
* Mon Aug 19 2019 Miro Hron훾ok <mhroncok@redhat.com> - 3.19-3
5f1449
- Rebuilt for Python 3.8
5f1449
5005d3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.19-2
5005d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5005d3
dae0bc
* Fri May 10 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.19-1
dae0bc
- Upgrade to version 3.19
dae0bc
1e4e7c
* Wed Feb 20 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.16-1
1e4e7c
- Upgrade to version 3.16
1e4e7c
88dfae
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12-2
88dfae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
88dfae
ee7e07
* Fri Aug 10 2018 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.12-1
ee7e07
- Update to new version
ee7e07
620baf
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.11-2
620baf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
620baf
d4945a
* Mon Jul 09 2018 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.11-1
d4945a
- Update to new version
d4945a
80c885
* Tue Jun 19 2018 Miro Hron훾ok <mhroncok@redhat.com> - 3.9-2
80c885
- Rebuilt for Python 3.7
80c885
d83f5e
* Thu May 17 2018 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.9-1
d83f5e
- Update to new version
d83f5e
a54334
* Mon Apr 16 2018 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.8-1
a54334
- Update to new version (BZ#1563227)
a54334
d7323c
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.6-4
d7323c
- Escape macros in %%changelog
d7323c
de187e
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
de187e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
de187e
8fea97
* Thu Aug 24 2017 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.5-2
8fea97
- don't build -doc subpackage for F25, there is a weird error
8fea97
02ee32
* Thu Aug 24 2017 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.5-1
02ee32
- update to version 3.6
02ee32
- add -doc subpackage
02ee32
573826
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5-2
573826
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
573826
8974fe
* Mon Apr 10 2017 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.5-1
8974fe
- update to version 3.5
8974fe
6673e7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-3
6673e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6673e7
c159b2
* Mon Dec 19 2016 Miro Hron훾ok <mhroncok@redhat.com> - 3.3-2
c159b2
- Rebuild for Python 3.6
c159b2
26a237
* Sun Nov 20 2016 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.3-1
26a237
- update to version 3.3
26a237
f3fd54
* Thu Nov 03 2016 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.2-1
f3fd54
- update to version 3.2
f3fd54
bca334
* Thu Sep 15 2016 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.1-1
bca334
- update to version 3.1
bca334
913b3b
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-2
913b3b
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
913b3b
2ee995
* Mon Jun 27 2016 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.0-1
2ee995
- update to version 3.0
2ee995
3aea56
* Thu Apr 21 2016 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.9-1
3aea56
- update to version 2.9
3aea56
- use python3 support as default (BZ#1282483)
3aea56
d0c487
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-2
d0c487
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d0c487
2abe81
* Thu Nov 12 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.7-1
2abe81
- update to version 2.7
2abe81
23ddf6
* Mon Aug 31 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.6-2
d7323c
- fix modules location, it won't be used in %%doc anymore
23ddf6
46e994
* Mon Aug 31 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.6-1
46e994
- update to version 2.6
46e994
9db6af
* Tue Aug 25 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.5-1
9db6af
- update to version 2.5
9db6af
3b6c62
* Thu Jul 16 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.4-1
3b6c62
- update to version 2.4
3b6c62
7c9c75
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-3
7c9c75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7c9c75
3fbb47
* Thu Jan 29 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.2-2
3fbb47
- move modules dir into docs
3fbb47
b53e73
* Thu Jan 22 2015 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 2.2-1
b53e73
- update to new version
b53e73
838493
* Mon Oct 27 2014 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 1.6-1
838493
- inital package