automatic version update by autodist [release 0.52.22-1mamba;Thu Nov 24 2022]

This commit is contained in:
Automatic Build System 2024-01-06 07:37:20 +01:00
parent 0d30ced5b8
commit a130b147f0

View File

@ -1,26 +1,25 @@
Name: newt Name: newt
Version: 0.52.21 Version: 0.52.22
Release: 1mamba Release: 1mamba
Summary: A development library for text mode user interfaces Summary: A development library for text mode user interfaces
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pagure.io/releases/newt URL: https://releases.pagure.org/newt/
Source: https://pagure.io/releases/newt/newt-%{version}.tar.gz Source: https://pagure.io/releases/newt/newt-%{version}.tar.gz
Patch0: newt-0.52.17-configure-pythonvers.patch Patch0: newt-0.52.17-configure-pythonvers.patch
Patch1: %{name}-0.51.6-if1close.patch Patch1: %{name}-0.51.6-if1close.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libpopt-devel BuildRequires: libpopt-devel
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: libpython310-devel
BuildRequires: libslang-devel BuildRequires: libslang-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
#BuildRequires: libtcl-devel >= 8.6.1 #BuildRequires: libtcl-devel >= 8.6.1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Newt is a programming library for color text mode, widget based user interfaces. Newt is a programming library for color text mode, widget based user interfaces.
@ -51,13 +50,24 @@ Group: Development/Libraries/Python
Requires: lib%{name} = %{version}-%{release} Requires: lib%{name} = %{version}-%{release}
Requires: python3 Requires: python3
Provides: python-newt Provides: python-newt
Obsoletes: python-newt Obsoletes: python-newt < 0.52.22
%description -n python-%{name}-py3 %description -n python-%{name}-py3
Newt is a programming library for color text mode, widget based user interfaces. Newt is a programming library for color text mode, widget based user interfaces.
Newt can be used to add stacked windows, entry widgets, checkboxes, radio buttons, labels, plain text fields, scrollbars, etc., to text mode user interfaces. Newt can be used to add stacked windows, entry widgets, checkboxes, radio buttons, labels, plain text fields, scrollbars, etc., to text mode user interfaces.
This module contains Python bindings for the newt library. This module contains Python bindings for the newt library.
%package -n python-%{name}-py310
Summary: Python bindings for GNU parted for newt windowing toolkit
Group: Development/Libraries/Python
Requires: lib%{name} = %{version}-%{release}
Requires: python310
%description -n python-%{name}-py310
Newt is a programming library for color text mode, widget based user interfaces.
Newt can be used to add stacked windows, entry widgets, checkboxes, radio buttons, labels, plain text fields, scrollbars, etc., to text mode user interfaces.
This module contains Python bindings for the newt library.
%debug_package %debug_package
%prep %prep
@ -87,11 +97,12 @@ rm -f %{buildroot}%{_libdir}/python/site-packages/*.so
rm -f %{buildroot}%{_libdir}/python/site-packages/*.py rm -f %{buildroot}%{_libdir}/python/site-packages/*.py
rm -rf %{buildroot}%{_libdir}/python2.*/site-packages rm -rf %{buildroot}%{_libdir}/python2.*/site-packages
rm -rf %{buildroot}%{_libdir}/python3.6/site-packages rm -rf %{buildroot}%{_libdir}/python3.6/site-packages
rm -rf %{buildroot}%{_libdir}/python3.9/site-packages
%ifarch x86_64 aarch64 #%ifarch x86_64 aarch64
install -d -m0755 %{buildroot}%{_prefix}/lib #install -d -m0755 %{buildroot}%{_prefix}/lib
mv %{buildroot}%{_libdir}/python* %{buildroot}%{_prefix}/lib/ #mv %{buildroot}%{_libdir}/python* %{buildroot}%{_prefix}/lib/
%endif #%endif
rm -rf %{buildroot}%{_libdir}/usr/include/python/Python.h/site-packages/snack.py rm -rf %{buildroot}%{_libdir}/usr/include/python/Python.h/site-packages/snack.py
@ -125,10 +136,18 @@ rm -rf %{buildroot}%{_libdir}/usr/include/python/Python.h/site-packages/snack.py
%files -n python-newt-py3 %files -n python-newt-py3
%defattr(-,root,root) %defattr(-,root,root)
%{python3_sitelib}/*.so %{python3_sitearch}/*.so
%{python3_sitelib}/*.py %{python3_sitearch}/*.py
%files -n python-newt-py310
%defattr(-,root,root)
%{python310_sitearch}/*.so
%{python310_sitearch}/*.py
%changelog %changelog
* Thu Nov 24 2022 Automatic Build System <autodist@mambasoft.it> 0.52.22-1mamba
- automatic version update by autodist
* Thu Nov 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.52.21-1mamba * Thu Nov 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.52.21-1mamba
- update to 0.52.21 - update to 0.52.21