From 19022221bfea0d9f36f31bef66cdd59ed65204a7 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Feb 11 2022 16:16:24 +0000 Subject: Revert "Orphaned for 6+ weeks" Unretirement for https://pagure.io/releng/issue/10640 This reverts commit 79eeaf77e090953bac10fabc3054a28e51719d46. --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3915672 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/npyscreen-4.10.5.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..21beb17 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-npyscreen + +The python-npyscreen package \ No newline at end of file diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/python-npyscreen.spec b/python-npyscreen.spec new file mode 100644 index 0000000..ebd40d0 --- /dev/null +++ b/python-npyscreen.spec @@ -0,0 +1,77 @@ +%global pypi_name npyscreen + +Name: python-%{pypi_name} +Version: 4.10.5 +Release: 7%{?dist} +Summary: Writing user interfaces without all that ugly mucking about in hyperspace + +License: BSD +URL: http://www.npcole.com/npyscreen/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) + +%description +This library provides a framework for developing console applications using +Python and curses. This framework should be powerful enough to create everything +from quick, simple programs to complex, multi-screen applications. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +This library provides a framework for developing console applications using +Python and curses. This framework should be powerful enough to create everything +from quick, simple programs to complex, multi-screen applications. + + +%prep +%autosetup -n %{pypi_name}-%{version} +for i in $(find . -name '*.py') +do + sed -i -e"s/#\!\/usr\/bin\/python//" $i + sed -i -e"s/#\!\/usr\/bin\/env python//" $i + sed -i -e"s/#\!\/usr\/bin\/env pyton//" $i +done + +%build +%py3_build + +%install +%py3_install +mv LICENCE LICENSE + +%files -n python3-%{pypi_name} +%license LICENSE +%{python3_sitelib}/%{pypi_name} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info + +%changelog +* Fri Jun 04 2021 Python Maint - 4.10.5-7 +- Rebuilt for Python 3.10 + +* Wed Jan 27 2021 Fedora Release Engineering - 4.10.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 4.10.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro HronĨok - 4.10.5-4 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 4.10.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Dec 13 2019 Neil Horman - 4.10.5-2 +- Updated to use %pypi_source +- Updated to include license file +- Fixed spelling typo in License file +- Shortened descriptions +- Fixed egg-info glob + +* Thu Dec 12 2019 Neil Horman - 4.10.5-1 +- Initial package + diff --git a/sources b/sources new file mode 100644 index 0000000..0f5db01 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (npyscreen-4.10.5.tar.gz) = 5f01bca78a5d719eb1604fcfb4383878564abe55d8ec5f1ea8b8f17fb1da742f947dd3f9905aae1d99ae4d48c797d29eb3cebc6799a55731e33303be6f37e777