From c6558687d78a3b3f1c2faee5e0ee88b0f607232b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 16:50:28 +0100 Subject: [PATCH] automatic version update by autodist [release 2.2.3-1mamba;Mon Nov 06 2023] --- README.md | 2 + python-urwid.spec | 99 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) create mode 100644 python-urwid.spec diff --git a/README.md b/README.md index 4e4b13e..43d87a1 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-urwid +A console UI library featuring fluid interface resizing, UTF-8 support, multiple text layouts, simple attribute markup, powerful scrolling list boxes and flexible interface design. + diff --git a/python-urwid.spec b/python-urwid.spec new file mode 100644 index 0000000..42e7a7d --- /dev/null +++ b/python-urwid.spec @@ -0,0 +1,99 @@ +Name: python-urwid +Version: 2.2.3 +Release: 1mamba +Summary: A console user interface library for Python +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://excess.org/urwid/ +Source: https://pypi.debian.net/urwid/urwid-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpython311-devel +## AUTOBUILDREQ-END + +%if 0%{?with_pyver} +%define py_requires_append \ +Obsoletes: urwid < 2.2.3 +%pyver_package +%endif + +%description +A console UI library featuring fluid interface resizing, UTF-8 support, multiple text layouts, simple attribute markup, powerful scrolling list boxes and flexible interface design. + +%prep +%setup -q -n urwid-%{version} + +%build +CFLAGS="%{optflags}" %{__python3} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%{__python3} setup.py install \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python3_sitearch} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files %{?pyappend} +%defattr(-,root,root) +%dir %{python3_sitearch}/urwid +%{python3_sitearch}/urwid/* +%{python3_sitearch}/urwid-%{version}-py*.egg-info + +%changelog +* Mon Nov 06 2023 Automatic Build System 2.2.3-1mamba +- automatic version update by autodist + +* Tue Feb 23 2021 Automatic Build System 2.1.2-1mamba +- automatic version update by autodist + +* Wed Sep 09 2020 Automatic Build System 2.1.1-1mamba +- automatic update by autodist + +* Sat Aug 03 2019 Automatic Build System 2.0.1-1mamba +- automatic update by autodist + +* Fri Aug 12 2016 Automatic Build System 1.3.1-1mamba +- automatic update by autodist + +* Sat Oct 18 2014 Automatic Build System 1.3.0-1mamba +- automatic update by autodist + +* Sun Oct 12 2014 Silvan Calarco 1.2.2-1mamba +- update to 1.2.2 + +* Mon Dec 30 2013 Silvan Calarco 1.1.1-2mamba +- rebuilt with python 2.7 + +* Sun Nov 25 2012 Automatic Build System 1.1.1-1mamba +- automatic version update by autodist + +* Sat Oct 27 2012 Automatic Build System 1.1.0-1mamba +- automatic version update by autodist + +* Wed Aug 15 2012 Automatic Build System 1.0.2-1mamba +- automatic version update by autodist + +* Fri Jun 15 2012 Automatic Build System 1.0.1-1mamba +- automatic version update by autodist + +* Sun Oct 02 2011 Automatic Build System 1.0.0-1mamba +- automatic version update by autodist + +* Thu Jul 21 2011 Automatic Build System 0.9.9.2-1mamba +- automatic update by autodist + +* Sat Apr 17 2010 Automatic Build System 0.9.9.1-1mamba +- automatic update by autodist + +* Sat Jan 16 2010 Automatic Build System 0.9.9-1mamba +- automatic update by autodist + +* Sat Aug 01 2009 Silvan Calarco 0.9.8.4-1mamba +- package created by autospec