From 9330e500a5032072bc7c193a9eaba56aaa3c4598 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:26:18 +0100 Subject: [PATCH] update to 6.1.0 [release 6.1.0-1mamba;Tue Nov 07 2023] --- README.md | 7 +++ python-pyinstaller.spec | 129 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+) create mode 100644 python-pyinstaller.spec diff --git a/README.md b/README.md index c536a3a..a0f3fa9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,9 @@ # python-pyinstaller +PyInstaller is a program that converts (packages) Python programs into stand-alone executables, under Windows, Linux, and Mac OS X. +Its main advantages over similar tools are that PyInstaller works with any version of Python since 1.5, it builds smaller executables thanks to transparent compression, it is fully multi-platform, and use the OS support to load the dynamic libraries, thus ensuring full compatibility. + +The main goal of PyInstaller is to be compatible with 3rd-party packages out-of-the-box. +This means that, with PyInstaller, all the required tricks to make external packages work are already integrated within PyInstaller itself so that there is no user intervention required. +You'll never be required to look for tricks in wikis and apply custom modification to your files or your setup scripts. + diff --git a/python-pyinstaller.spec b/python-pyinstaller.spec new file mode 100644 index 0000000..24f0776 --- /dev/null +++ b/python-pyinstaller.spec @@ -0,0 +1,129 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) + +Name: python-pyinstaller +Version: 6.1.0 +Release: 1mamba +Summary: A program that converts Python programs into stand-alone executables +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://pyinstaller.org/en/stable/ +Source: https://pypi.debian.net/PyInstaller/pyinstaller-%{version}.tar.gz +License: GPL, MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpython311-devel +BuildRequires: libz-devel +BuildRequires: python3.11dist(altgraph) +BuildRequires: python3.11dist(packaging) +BuildRequires: python3.11dist(pyinstaller-hooks-contrib) +BuildRequires: python3.11dist(setuptools) +## AUTOBUILDREQ-END + +%description +PyInstaller is a program that converts (packages) Python programs into stand-alone executables, under Windows, Linux, and Mac OS X. +Its main advantages over similar tools are that PyInstaller works with any version of Python since 1.5, it builds smaller executables thanks to transparent compression, it is fully multi-platform, and use the OS support to load the dynamic libraries, thus ensuring full compatibility. + +The main goal of PyInstaller is to be compatible with 3rd-party packages out-of-the-box. +This means that, with PyInstaller, all the required tricks to make external packages work are already integrated within PyInstaller itself so that there is no user intervention required. +You'll never be required to look for tricks in wikis and apply custom modification to your files or your setup scripts. + +%if 0%{?with_pyver} +%define py_requires_append \ +Obsoletes: pyinstaller < 6.1.0 +%pyver_package +%endif + +%prep +%setup -q -n pyinstaller-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{python_inc} \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files %{?pyappend} -f %{name}.filelist +%defattr(-,root,root) +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* + +%changelog +* Tue Nov 07 2023 Silvan Calarco 6.1.0-1mamba +- update to 6.1.0 + +* Mon Mar 24 2014 Silvan Calarco 2.1-1mamba +- update to 2.1 + +* Sat May 18 2013 Silvan Calarco 1.4.svn20110303-2mamba +- python 2.7 mass rebuild + +* Sat Mar 12 2011 Stefano Cotta Ramusino 1.4.svn20110303-1mamba +- update to 1.4.svn20110303 + +* Mon Feb 07 2011 Stefano Cotta Ramusino 1.4.svn20110204-1mamba +- update to 1.4.svn20110204 + +* Fri Jan 14 2011 Stefano Cotta Ramusino 1.4.svn20110111-1mamba +- update to 1.4.svn20110111 +- updated configuration and help patches + +* Tue Jan 04 2011 Stefano Cotta Ramusino 1.4.svn20101214-1mamba +- update to 1.4.svn20101214 + +* Mon Dec 06 2010 Stefano Cotta Ramusino 1.4.svn20101206-1mamba +- update to 1.4.svn20101206 + +* Wed Nov 24 2010 Stefano Cotta Ramusino 1.4.svn20101124-1mamba +- update to 1.4.svn20101124 +- updated configuration patch + +* Sun Nov 14 2010 Stefano Cotta Ramusino 1.4.svn20101112-1mamba +- update to 1.4.svn20101112 + +* Mon Nov 08 2010 Stefano Cotta Ramusino 1.4.svn20101106-1mamba +- update to 1.4.svn20101106 + +* Mon Oct 04 2010 Stefano Cotta Ramusino 1.4.svn20100929-1mamba +- update to 1.4.svn20100929 + +* Wed Sep 22 2010 Stefano Cotta Ramusino 1.4.svn20100901-1mamba +- update to 1.4.svn20100901 + +* Mon Aug 02 2010 Stefano Cotta Ramusino 1.4.svn20100802-1mamba +- update to 1.4.svn20100802 + +* Fri Jul 16 2010 Stefano Cotta Ramusino 1.4.svn20100715-1mamba +- update to 1.4.svn20100715 + +* Thu Jul 08 2010 Stefano Cotta Ramusino 1.4.svn20100622-1mamba +- update to 1.4.svn20100622 + +* Mon Jun 21 2010 Stefano Cotta Ramusino 1.4.svn20100618-1mamba +- update to 1.4.svn20100618 + +* Wed Jun 16 2010 Stefano Cotta Ramusino 1.4.svn20100615-1mamba +- update to 1.4.svn20100615 + +* Thu Jun 10 2010 Stefano Cotta Ramusino 1.4.svn20100608-1mamba +- update to 1.4.svn20100608 + +* Mon May 24 2010 Stefano Cotta Ramusino 1.4.svn20100521-1mamba +- update to 1.4.svn20100521 +- updated configuration patch + +* Tue Apr 27 2010 Stefano Cotta Ramusino 1.4.svn20100428-1mamba +- package created by autospec +- configuration file changed to %{_sysconfdir}/pyinstaller.conf +- created launch scripts +- generated man pages from help +- improved gui \ No newline at end of file