2019-11-06 19:50:29 +08:00
|
|
|
Name: python-simpleline
|
2021-12-20 16:14:25 +08:00
|
|
|
Version: 1.9.0
|
2022-10-27 02:31:04 +00:00
|
|
|
Release: 2
|
2019-11-06 19:50:29 +08:00
|
|
|
Summary: A Python3-only text UI framework
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: https://github.com/rhinstaller/python-simpleline
|
2021-12-20 16:14:25 +08:00
|
|
|
Source0: https://github.com/rhinstaller/python-simpleline/releases/download/%{version}/simpleline-%{version}.tar.gz
|
2019-11-06 19:50:29 +08:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%global common_description %{expand:
|
|
|
|
|
This is a text UI framework originally which was a part of the Anaconda
|
|
|
|
|
installer project.This UI is simple and easy to use. It is designed to be
|
|
|
|
|
used with line-based machines and tools (e.g. serial console) so that
|
|
|
|
|
every new line is appended to the bottom of the screen. Printed lines
|
|
|
|
|
are never rewritten!}
|
|
|
|
|
|
2020-07-27 17:27:40 +08:00
|
|
|
BuildRequires: python3-devel python3-gobject-base python3-setuptools gettext intltool
|
2019-11-06 19:50:29 +08:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
%package -n python3-simpleline
|
|
|
|
|
Summary: A Python3-only text UI framework
|
|
|
|
|
Requires: rpm-python3
|
|
|
|
|
%{?python_provide:%python_provide python3-simpleline}
|
|
|
|
|
|
|
|
|
|
%description -n python3-simpleline
|
|
|
|
|
%{common_description}
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n simpleline-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
|
|
%files -n python3-simpleline -f %{name}.lang
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc ChangeLog README.md
|
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-10-27 02:31:04 +00:00
|
|
|
* Thu Oct 27 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.9.0-2
|
|
|
|
|
- Rebuild for next release
|
|
|
|
|
|
2021-12-20 16:14:25 +08:00
|
|
|
* Mon Dec 20 2021 renhongxun <renhongxun@huawei.com> 1.9.0-1
|
|
|
|
|
- Upgrade version to 1.9.0
|
|
|
|
|
|
2020-07-27 17:27:40 +08:00
|
|
|
* Mon Jul 27 2020 tianwei <tianwei12@huawei.com> - 1.7-1
|
|
|
|
|
- Package update to 1.7
|
|
|
|
|
|
2019-11-06 19:50:29 +08:00
|
|
|
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6-1
|
|
|
|
|
- Package init
|