automatic version update by autodist [release 0.52.22-1mamba;Thu Nov 24 2022]
This commit is contained in:
parent
0d30ced5b8
commit
a130b147f0
41
newt.spec
41
newt.spec
@ -1,26 +1,25 @@
|
||||
Name: newt
|
||||
Version: 0.52.21
|
||||
Version: 0.52.22
|
||||
Release: 1mamba
|
||||
Summary: A development library for text mode user interfaces
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
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
|
||||
Patch0: newt-0.52.17-configure-pythonvers.patch
|
||||
Patch1: %{name}-0.51.6-if1close.patch
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libpopt-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: libpython310-devel
|
||||
BuildRequires: libslang-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython3-devel
|
||||
#BuildRequires: libtcl-devel >= 8.6.1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
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: python3
|
||||
Provides: python-newt
|
||||
Obsoletes: python-newt
|
||||
Obsoletes: python-newt < 0.52.22
|
||||
|
||||
%description -n python-%{name}-py3
|
||||
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.
|
||||
|
||||
%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
|
||||
|
||||
%prep
|
||||
@ -87,11 +97,12 @@ rm -f %{buildroot}%{_libdir}/python/site-packages/*.so
|
||||
rm -f %{buildroot}%{_libdir}/python/site-packages/*.py
|
||||
rm -rf %{buildroot}%{_libdir}/python2.*/site-packages
|
||||
rm -rf %{buildroot}%{_libdir}/python3.6/site-packages
|
||||
rm -rf %{buildroot}%{_libdir}/python3.9/site-packages
|
||||
|
||||
%ifarch x86_64 aarch64
|
||||
install -d -m0755 %{buildroot}%{_prefix}/lib
|
||||
mv %{buildroot}%{_libdir}/python* %{buildroot}%{_prefix}/lib/
|
||||
%endif
|
||||
#%ifarch x86_64 aarch64
|
||||
#install -d -m0755 %{buildroot}%{_prefix}/lib
|
||||
#mv %{buildroot}%{_libdir}/python* %{buildroot}%{_prefix}/lib/
|
||||
#%endif
|
||||
|
||||
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
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitelib}/*.so
|
||||
%{python3_sitelib}/*.py
|
||||
%{python3_sitearch}/*.so
|
||||
%{python3_sitearch}/*.py
|
||||
|
||||
%files -n python-newt-py310
|
||||
%defattr(-,root,root)
|
||||
%{python310_sitearch}/*.so
|
||||
%{python310_sitearch}/*.py
|
||||
|
||||
%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
|
||||
- update to 0.52.21
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user