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
|
Name: lfm
|
||||||
Version: 2.3
|
Version: 3.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A simple but powerful file manager for the UNIX console
|
Summary: A simple but powerful file manager for the UNIX console
|
||||||
Group: Applications/Shells
|
Group: Applications/Shells
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.terra.es/personal7/inigoserna/lfm/
|
URL: https://inigo.katxi.org/devel/lfm/
|
||||||
Source: http://www.terra.es/personal7/inigoserna/lfm/lfm-%{version}.tar.gz
|
Source: https://inigo.katxi.org/devel/lfm/lfm-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL
|
||||||
Requires: python >= %python_version
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
BuildRequires: python
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Last File Manager is a simple but powerful file manager for the UNIX console.
|
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
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build
|
%{__python3} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
sed -i "s,\(%{_defaultdocdir}/lfm\),\1-%{version},ig" *.1
|
%{__python3} setup.py install \
|
||||||
|
|
||||||
%{__python} 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
|
||||||
|
|
||||||
rm -fr %{buildroot}%{_defaultdocdir}
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,/doc/,d" %{name}.filelist
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files -f %{name}.filelist
|
%files -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING ChangeLog NEWS README README.pyview TODO
|
%doc COPYING
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sun May 22 2011 Automatic Build System <autodist@mambasoft.it> 2.3-1mamba
|
||||||
- automatic update by autodist
|
- automatic update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user