python-urwid/python-urwid.spec

124 lines
4.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: python-urwid
Version: 2.4.6
Release: 1mamba
Summary: A console user interface library for Python
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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
* Tue Jan 23 2024 Automatic Build System <autodist@openmamba.org> 2.4.6-1mamba
- automatic version update by autodist
* Tue Jan 23 2024 Automatic Build System <autodist@openmamba.org> 2.4.5-1mamba
- automatic version update by autodist
* Thu Jan 18 2024 Automatic Build System <autodist@openmamba.org> 2.4.4-1mamba
- automatic version update by autodist
* Thu Jan 18 2024 Automatic Build System <autodist@openmamba.org> 2.4.3-1mamba
- automatic version update by autodist
* Thu Jan 11 2024 Automatic Build System <autodist@openmamba.org> 2.4.2-1mamba
- automatic version update by autodist
* Thu Jan 04 2024 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
- automatic version update by autodist
* Wed Jan 03 2024 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
- automatic version update by autodist
* Wed Dec 06 2023 Automatic Build System <autodist@mambasoft.it> 2.3.4-1mamba
- automatic version update by autodist
* Mon Nov 06 2023 Automatic Build System <autodist@mambasoft.it> 2.2.3-1mamba
- automatic version update by autodist
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 2.1.2-1mamba
- automatic version update by autodist
* Wed Sep 09 2020 Automatic Build System <autodist@mambasoft.it> 2.1.1-1mamba
- automatic update by autodist
* Sat Aug 03 2019 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
- automatic update by autodist
* Fri Aug 12 2016 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
- automatic update by autodist
* Sat Oct 18 2014 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic update by autodist
* Sun Oct 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.2-1mamba
- update to 1.2.2
* Mon Dec 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-2mamba
- rebuilt with python 2.7
* Sun Nov 25 2012 Automatic Build System <autodist@mambasoft.it> 1.1.1-1mamba
- automatic version update by autodist
* Sat Oct 27 2012 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Fri Jun 15 2012 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Sun Oct 02 2011 Automatic Build System <autodist@mambasoft.it> 1.0.0-1mamba
- automatic version update by autodist
* Thu Jul 21 2011 Automatic Build System <autodist@mambasoft.it> 0.9.9.2-1mamba
- automatic update by autodist
* Sat Apr 17 2010 Automatic Build System <autodist@mambasoft.it> 0.9.9.1-1mamba
- automatic update by autodist
* Sat Jan 16 2010 Automatic Build System <autodist@mambasoft.it> 0.9.9-1mamba
- automatic update by autodist
* Sat Aug 01 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8.4-1mamba
- package created by autospec