From 6a1220e37629bc4b60c540c7adebcb55595d1651 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:36:02 +0100 Subject: [PATCH] update to 3.1 [release 3.1-1mamba;Fri May 07 2021] --- lfm.spec | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/lfm.spec b/lfm.spec index cacb161..fcd817d 100644 --- a/lfm.spec +++ b/lfm.spec @@ -1,21 +1,18 @@ Name: lfm -Version: 2.3 +Version: 3.1 Release: 1mamba Summary: A simple but powerful file manager for the UNIX console Group: Applications/Shells Vendor: openmamba Distribution: openmamba -Packager: Stefano Cotta Ramusino -URL: http://www.terra.es/personal7/inigoserna/lfm/ -Source: http://www.terra.es/personal7/inigoserna/lfm/lfm-%{version}.tar.gz +Packager: Silvan Calarco +URL: https://inigo.katxi.org/devel/lfm/ +Source: https://inigo.katxi.org/devel/lfm/lfm-%{version}.tar.gz License: GPL -Requires: python >= %python_version ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel -BuildRequires: python +BuildRequires: libpython3-devel ## AUTOBUILDREQ-END BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Last File Manager is a simple but powerful file manager for the UNIX console. @@ -25,31 +22,31 @@ It has been developed with the ol' good Midnight Commander as model. %setup -q %build -%{__python} setup.py build +%{__python3} setup.py build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -sed -i "s,\(%{_defaultdocdir}/lfm\),\1-%{version},ig" *.1 - -%{__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 -rm -fr %{buildroot}%{_defaultdocdir} -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,/doc/,d" %{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 NEWS README README.pyview TODO +%doc COPYING %changelog +* Fri May 07 2021 Silvan Calarco 3.1-1mamba +- update to 3.1 + * Sun May 22 2011 Automatic Build System 2.3-1mamba - automatic update by autodist