2019-09-30 11:09:48 -04:00
|
|
|
Name: newt
|
2024-01-30 02:05:47 +00:00
|
|
|
Version: 0.52.23
|
2024-12-05 11:53:47 +08:00
|
|
|
Release: 3
|
2019-09-30 11:09:48 -04:00
|
|
|
Summary: A library for text mode user interfaces
|
2024-08-01 06:43:50 +00:00
|
|
|
License: LGPL-2.0-only
|
2019-09-30 11:09:48 -04:00
|
|
|
URL: https://pagure.io/newt
|
|
|
|
|
Source: https://pagure.io/releases/newt/newt-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc popt-devel python3-devel slang-devel
|
2023-01-31 08:20:56 +00:00
|
|
|
BuildRequires: docbook-utils lynx make
|
2019-09-30 11:09:48 -04:00
|
|
|
|
|
|
|
|
Provides: snack = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-static
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
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 package also contains a Dialog replacement called whiptail. Newt
|
|
|
|
|
is based on the slang library.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: slang-devel %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The devel for %{name}. Install %{name}-devel can help you develop
|
|
|
|
|
applications.
|
|
|
|
|
|
|
|
|
|
%package -n python3-newt
|
|
|
|
|
%{?python_provide:%python_provide python3-newt}
|
|
|
|
|
Provides: %{name}-python3 = %{version}-%{release}
|
|
|
|
|
Provides: %{name}-python3%{?_isa} = %{version}-%{release}
|
|
|
|
|
Obsoletes: %{name}-python3 < %{version}-%{release}
|
|
|
|
|
Summary: Python 3 bindings for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description -n python3-newt
|
|
|
|
|
The python3-%{name} package contains the Python 3 bindings for the %{name} library
|
|
|
|
|
providing a python API for creating text mode interfaces.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --without-tcl
|
|
|
|
|
%make_build all
|
2023-01-31 08:20:56 +00:00
|
|
|
chmod 0644 peanuts.py popcorn.py
|
|
|
|
|
docbook2txt tutorial.sgml
|
2019-09-30 11:09:48 -04:00
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_install
|
2024-12-05 11:53:47 +08:00
|
|
|
%delete_la_and_a
|
2019-09-30 11:09:48 -04:00
|
|
|
|
2024-12-05 11:53:47 +08:00
|
|
|
%find_lang %{name}
|
2019-09-30 11:09:48 -04:00
|
|
|
|
|
|
|
|
%check
|
2024-12-05 11:53:47 +08:00
|
|
|
%make_build test
|
2019-09-30 11:09:48 -04:00
|
|
|
|
2024-12-05 11:53:47 +08:00
|
|
|
%files -f %{name}.lang
|
2019-11-06 19:44:01 +08:00
|
|
|
%doc AUTHORS README
|
|
|
|
|
%license COPYING
|
2019-09-30 11:09:48 -04:00
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_libdir}/libnewt.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/newt*
|
|
|
|
|
%{_libdir}/libnewt.so
|
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
|
|
|
|
%files -n python3-newt
|
|
|
|
|
%doc peanuts.py popcorn.py
|
|
|
|
|
%{python3_sitearch}/*.*
|
|
|
|
|
%{python3_sitearch}/__pycache__/*.py*
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%doc tutorial.* CHANGES
|
|
|
|
|
%{_mandir}/man1/whiptail.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-12-05 11:53:47 +08:00
|
|
|
* Thu Dec 05 2024 Funda Wang <fundawang@yeah.net> - 0.52.23-3
|
|
|
|
|
- fix locale files installation
|
|
|
|
|
|
2024-08-01 06:43:50 +00:00
|
|
|
* Thu Aug 01 2024 yanglu <yanglu72@h-partners.com> - 0.52.23-2
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix license
|
|
|
|
|
|
2024-01-30 02:05:47 +00:00
|
|
|
* Thu Feb 01 2024 yanglu <yanglu72@h-partners.com> - 0.52.23-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Revert update newt version to 0.52.24
|
|
|
|
|
|
2023-12-06 15:40:15 +08:00
|
|
|
* Wed Dec 06 2023 Vicoloa <lvkun@uniontech.com> - 0.52.24-1
|
|
|
|
|
- Update newt version to 0.52.24
|
|
|
|
|
|
2023-01-31 08:20:56 +00:00
|
|
|
* Tue Jan 31 2023 yanglu <yanglu72@h-partners.com> - 0.52.23-1
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update newt version to 0.52.23
|
|
|
|
|
|
2022-10-20 03:35:12 +00:00
|
|
|
* Thu Oct 20 2022 yanglu <yanglu72@h-partners.com> - 0.52.21-7
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:fix warnings about never-read values
|
|
|
|
|
|
2022-04-28 15:17:54 +08:00
|
|
|
* Thu Apr 28 2022 yanglu <yanglu72@h-partners.com> - 0.52.21-6
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:rebuild package
|
|
|
|
|
|
2020-10-29 09:54:19 +08:00
|
|
|
* Thu Oct 29 2020 gaihuiying <gaihuiying1@huawei.com> - 0.52.21-4
|
|
|
|
|
- Type:requirement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:remove python2
|
|
|
|
|
|
2019-11-06 19:44:01 +08:00
|
|
|
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.52.21-3
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:modify the location of COPYING
|
|
|
|
|
|
2019-09-30 11:09:48 -04:00
|
|
|
* Tue Sep 24 2019 wangli <wangli221@huawei.com> - 0.52.21-2
|
|
|
|
|
- Type:Enhance
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: openEuler Debranding
|
|
|
|
|
|
|
|
|
|
* Wed Sep 04 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.52.21-1
|
|
|
|
|
- Package init
|