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 @@ @@ -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
Version: 3.19
Version: 3.26
Release: 1%{?dist}
Summary: %{sum}

Summary: An extensible i3status wrapper written in python
License: BSD
URL: https://github.com/ultrabug/py3status
Source0: https://github.com/ultrabug/%{name}/archive/%{version}/%{name}-%{version}.tar.gz

BuildArch: noarch
BuildRequires: python3-devel
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


%description
Using py3status, you can take control of your i3bar easily by:
- 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: @@ -39,15 +19,6 @@ Using py3status, you can take control of your i3bar easily by:
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
%setup -q -n py3status-%{version}

@ -55,25 +26,11 @@ BuildArch: noarch @@ -55,25 +26,11 @@ BuildArch: noarch
%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
%py3_install


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

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

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


%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
- Upgrade to version 3.19


Loading…
Cancel
Save