%define majver %(echo %version | cut -d. -f1-2) Name: nfoview Version: 1.28.1 Release: 1mamba Summary: Viewer for NFO files Group: Applications/Text Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://otsaloma.io/nfoview/ Source: https://github.com/otsaloma/nfoview.git/%{version}/nfoview-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: libpython3-devel ## AUTOBUILDREQ-END Requires: python3 >= %python3_version BuildArch: noarch %description Viewer for NFO files. %prep %setup -q %build %{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python3} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{python3_inc} \ --install-lib=%{python3_sitearch} \ --record=%{name}.filelist sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.filelist %defattr(-,root,root) %doc COPYING %changelog * Sun Oct 17 2021 Silvan Calarco 1.28.1-1mamba - update to 1.28.1 * Sun Oct 25 2020 Automatic Build System 1.28-1mamba - automatic version update by autodist * Sun Jul 29 2018 Silvan Calarco 1.24-1mamba - update to 1.24 * Wed Oct 30 2013 Silvan Calarco 1.13.1-1mamba - update to 1.13.1 * Sun Jun 19 2011 Automatic Build System 1.9.5-1mamba - automatic update by autodist * Mon Apr 04 2011 Automatic Build System 1.9.3-1mamba - automatic update by autodist * Tue Jan 25 2011 Automatic Build System 1.9.2-1mamba - update to 1.9.2 * Tue Apr 27 2010 Stefano Cotta Ramusino 1.9-1mamba - package created by autospec