Blame python-npyscreen.spec

1902222
%global pypi_name npyscreen
1902222
1902222
Name:           python-%{pypi_name}
1902222
Version:        4.10.5
46f8e58
Release:        11%{?dist}
1902222
Summary:        Writing user interfaces without all that ugly mucking about in hyperspace
1902222
1902222
License:        BSD
1902222
URL:            http://www.npcole.com/npyscreen/
1902222
Source0:        %{pypi_source}
1902222
BuildArch:      noarch
0ae4767
1902222
BuildRequires:  python3-devel
1902222
BuildRequires:  python3dist(setuptools)
1902222
1902222
%description
1902222
This library provides a framework for developing console applications using
1902222
Python and curses. This framework should be powerful enough to create everything
1902222
from quick, simple programs to complex, multi-screen applications.
1902222
1902222
%package -n     python3-%{pypi_name}
1902222
Summary:        %{summary}
1902222
%{?python_provide:%python_provide python3-%{pypi_name}}
1902222
1902222
%description -n python3-%{pypi_name}
1902222
This library provides a framework for developing console applications using
1902222
Python and curses. This framework should be powerful enough to create everything
1902222
from quick, simple programs to complex, multi-screen applications.
1902222
1902222
1902222
%prep
1902222
%autosetup -n %{pypi_name}-%{version}
1902222
for i in $(find . -name '*.py')
1902222
do
0ae4767
        sed -i -e"s|#\!/usr/bin/python||" $i
0ae4767
        sed -i -e"s|#\!/usr/bin/env python||" $i
0ae4767
        sed -i -e"s|#\!/usr/bin/env pyton||" $i
1902222
done
1902222
1902222
%build
1902222
%py3_build
1902222
1902222
%install
1902222
%py3_install
1902222
1902222
%files -n python3-%{pypi_name}
0ae4767
%license LICENCE
0ae4767
%{python3_sitelib}/%{pypi_name}/
1902222
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
1902222
1902222
%changelog
46f8e58
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.5-11
46f8e58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
46f8e58
a4e966d
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.5-10
a4e966d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
a4e966d
ba2017a
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 4.10.5-9
ba2017a
- Rebuilt for Python 3.11
ba2017a
0ae4767
* Fri Feb 11 2022 Neal Gompa <ngompa@fedoraproject.org> - 4.10.5-8
0ae4767
- Minor spec cleanups
0ae4767
1902222
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 4.10.5-7
1902222
- Rebuilt for Python 3.10
1902222
1902222
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.5-6
1902222
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1902222
1902222
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.5-5
1902222
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1902222
1902222
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 4.10.5-4
1902222
- Rebuilt for Python 3.9
1902222
1902222
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.10.5-3
1902222
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1902222
1902222
* Fri Dec 13 2019 Neil Horman <nhorman@redhat.com> - 4.10.5-2
1902222
- Updated to use %pypi_source
1902222
- Updated to include license file
1902222
- Fixed spelling typo in License file
1902222
- Shortened descriptions
1902222
- Fixed egg-info glob
1902222
1902222
* Thu Dec 12 2019 Neil Horman <nhorman@redhat.com> - 4.10.5-1
1902222
- Initial package
1902222