Browse Source

py3status version update 3.26

Signed-off-by: guibuilder_pel7x64builder0 <guibuilder@powerel.org>
master
guibuilder_pel7x64builder0 5 years ago
parent
commit
ae3c7610cf
  1. 73
      SPECS/py3status.spec

73
SPECS/py3status.spec

@ -1,36 +1,16 @@
%global sum An extensible i3status wrapper written in python

%if 0%{?fedora} <= 25
%bcond_with doc
%else
%bcond_without doc
%endif
# test are somehow broken, so it's disabled now
%bcond_with test

Name: py3status Name: py3status
Version: 3.19 Version: 3.26
Release: 1%{?dist} Release: 1%{?dist}
Summary: %{sum} Summary: An extensible i3status wrapper written in python

License: BSD License: BSD
URL: https://github.com/ultrabug/py3status URL: https://github.com/ultrabug/py3status
Source0: https://github.com/ultrabug/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/ultrabug/%{name}/archive/%{version}/%{name}-%{version}.tar.gz

BuildArch: noarch BuildArch: noarch
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
%if %{with doc}
BuildRequires: dejavu-sans-mono-fonts
BuildRequires: python3-sphinx
BuildRequires: python3-fonttools
BuildRequires: python3-pillow
%endif # docs
%if %{with test}
BuildRequires: python3-tox
%endif #test
Requires: i3status Requires: i3status



%description %description
Using py3status, you can take control of your i3bar easily by: Using py3status, you can take control of your i3bar easily by:
- writing your own modules and have their output displayed on your bar - writing your own modules and have their output displayed on your bar
@ -39,15 +19,6 @@ Using py3status, you can take control of your i3bar easily by:
No extra configuration file needed, just install & enjoy ! No extra configuration file needed, just install & enjoy !




%if %{with doc}
%package doc
Summary: Documentation files for %{name}
BuildArch: noarch

%description doc
%{sum}.
%endif #doc

%prep %prep
%setup -q -n py3status-%{version} %setup -q -n py3status-%{version}


@ -55,25 +26,11 @@ BuildArch: noarch
%build %build
%py3_build %py3_build


%if %{with doc}
# we have to build docs in doc dir because of hardcoded paths
pushd doc
export PYTHONPATH=..
sphinx-build-3 -d ../buildtree . ../html
popd
%{__rm} -rf html/.buildinfo
%endif # doc



%install %install
%py3_install %py3_install




%if %{with test}
%check
tox
%endif # test

%files %files
%license LICENSE %license LICENSE
%doc README.rst CHANGELOG %doc README.rst CHANGELOG
@ -83,14 +40,26 @@ tox
%{python3_sitelib}/py3status/* %{python3_sitelib}/py3status/*
%{python3_sitelib}/*.egg-info %{python3_sitelib}/*.egg-info


%if %{with doc}
%files doc
%license LICENSE
%doc html/
%endif # doc



%changelog %changelog
* Sat Jan 11 2020 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.24-1
- Upgrade to version 3.24

* Sun Jan 05 2020 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.23-1
- Upgrade to version 3.23

* Wed Oct 23 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.21-1
- Upgrade to version 3.21

* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.19-4
- Rebuilt for Python 3.8.0rc1 (#1748018)

* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.19-3
- Rebuilt for Python 3.8

* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Fri May 10 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.19-1 * Fri May 10 2019 Jakub Jedelsky <jakub.jedelsky@gmail.com> - 3.19-1
- Upgrade to version 3.19 - Upgrade to version 3.19



Loading…
Cancel
Save