lfm/lfm.spec

55 lines
1.4 KiB
RPMSpec
Raw Normal View History

Name: lfm
Version: 3.1
Release: 1mamba
Summary: A simple but powerful file manager for the UNIX console
Group: Applications/Shells
Vendor: openmamba
Distribution: openmamba
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
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
BuildArch: noarch
%description
Last File Manager is a simple but powerful file manager for the UNIX console.
It has been developed with the ol' good Midnight Commander as model.
%prep
%setup -q
%build
%{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
--record=%{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
* 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
* Mon May 24 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.2-1mamba
- package created by autospec