代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-pystray 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Testsuite needs human interaction.
%bcond_with test
%global common_sum Provides system tray integration
%global common_desc This library allows you to create a system tray icon.
%global upname pystray
Name: python-%{upname}
Version: 0.14.3
Release: 1
Summary: %{common_sum}
License: LGPLv3+
URL: https://github.com/moses-palmer/%{upname}
Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildArch: noarch
%description
%{common_desc}
%package -n python3-%{upname}
Summary: %{common_sum}
BuildRequires: python3-devel >= 3.4
BuildRequires: python3-pillow
BuildRequires: python3-setuptools
BuildRequires: python3-six
BuildRequires: python3-xlib >= 0.17
Requires: python3-pillow
Requires: python3-six
Requires: python3-xlib >= 0.17
%{?python_provide:%python_provide python3-%{upname}}
%description -n python3-%{upname}
%{common_desc}
%package -n python3-%{upname}-doc
Summary: Documentation-files for python3-%{upname}
BuildRequires: fdupes
BuildRequires: python3-sphinx >= 1.3.1
%description -n python3-%{upname}-doc
This package contains the Documentation-files for python3-%{upname}.
%prep
%autosetup -n %{upname}-%{version}
# Remove pre-built and bundled crap.
%{__rm} -fr *.egg*
%build
%py3_build
sphinx-build-3 docs docs/build-%{python3_version}/html
%fdupes -s docs/build-%{python3_version}
for f in .buildinfo .doctrees .inv ; do
%{_bindir}/find docs/ -name "*${f}*" -print0 | \
%{_bindir}/xargs -0 %{__rm} -frv
done
%install
%py3_install
%if %{with test}
%check
%{__python3} setup.py test
%endif # with test
%files -n python3-%{upname}
%license COPYING*
%doc README.rst
%{python3_sitelib}/%{upname}
%{python3_sitelib}/%{upname}-%{version}-py%{python3_version}.egg-info
%files -n python3-%{upname}-doc
%doc CHANGES.rst docs/build-%{python3_version}/html
%changelog
* Tue July 6 2021 xiehongyu <xiehongyu@kylinos.cn> - 0.14.3-1
- Initial package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。