automatic version update by autodist [release 1.28-1mamba;Sun Oct 25 2020]

This commit is contained in:
Automatic Build System 2024-01-06 07:37:41 +01:00
parent 1d08217f09
commit c942746ed3

View File

@ -1,6 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: nfoview
Version: 1.9.5
Version: 1.28
Release: 1mamba
Summary: Viewer for NFO files
Group: Applications/Text
@ -8,13 +8,13 @@ Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://home.gna.org/nfoview/
Source: http://download.gna.org/nfoview/%{majver}/nfoview-%{version}.tar.gz
Source: https://github.com/otsaloma/nfoview.git/%{version}/nfoview-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
BuildRequires: python
BuildRequires: libpython3-devel
BuildRequires: python3
## AUTOBUILDREQ-END
Requires: python >= %python_version
Requires: python3 >= %python3_version
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
@ -25,15 +25,15 @@ Viewer for NFO files.
%setup -q
%build
%{__python} setup.py build
%{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
@ -43,9 +43,18 @@ sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%files -f %{name}.filelist
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS ChangeLog README TODO
%doc COPYING
%changelog
* Sun Oct 25 2020 Automatic Build System <autodist@mambasoft.it> 1.28-1mamba
- automatic version update by autodist
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.24-1mamba
- update to 1.24
* Wed Oct 30 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.1-1mamba
- update to 1.13.1
* Sun Jun 19 2011 Automatic Build System <autodist@mambasoft.it> 1.9.5-1mamba
- automatic update by autodist