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