python-simpleline/python-simpleline.spec
2019-11-06 19:50:29 +08:00

60 lines
1.3 KiB
RPMSpec

Name: python-simpleline
Version: 1.6
Release: 1
Summary: A Python3-only text UI framework
License: GPLv2+
URL: https://github.com/rhinstaller/python-simpleline
Source0: https://github.com/rhinstaller/python-simpleline/releases/download/simpleline-1.6/simpleline-1.6.tar.gz
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!}
BuildRequires: python3-devel python3-gobject-base python3-setuptools gettext
%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)
%license COPYING
%doc ChangeLog README.md
%{python3_sitelib}/*
%changelog
* Fri Oct 18 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.6-1
- Package init