%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-pyinstaller Version: 6.3.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 * Sat Dec 23 2023 Automatic Build System 6.3.0-1mamba - automatic version update by autodist * Thu Nov 16 2023 Automatic Build System 6.2.0-1mamba - automatic version update by autodist * 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