update to 3.1 [release 3.1-1mamba;Fri May 07 2021]
This commit is contained in:
parent
b19a15c5b3
commit
6a1220e376
31
lfm.spec
31
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 <stefano.cotta@openmamba.org>
|
||||
URL: http://www.terra.es/personal7/inigoserna/lfm/
|
||||
Source: http://www.terra.es/personal7/inigoserna/lfm/lfm-%{version}.tar.gz
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
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 <silvan.calarco@mambasoft.it> 3.1-1mamba
|
||||
- update to 3.1
|
||||
|
||||
* Sun May 22 2011 Automatic Build System <autodist@mambasoft.it> 2.3-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user