automatic update by autodist [release 2.3-1mamba;Sun May 22 2011]

This commit is contained in:
Automatic Build System 2024-01-06 03:36:01 +01:00
parent cb5a66b764
commit b19a15c5b3
2 changed files with 60 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# lfm
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.

57
lfm.spec Normal file
View File

@ -0,0 +1,57 @@
Name: lfm
Version: 2.3
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
License: GPL
Requires: python >= %python_version
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
BuildRequires: python
## AUTOBUILDREQ-END
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
sed -i "s,\(%{_defaultdocdir}/lfm\),\1-%{version},ig" *.1
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
rm -fr %{buildroot}%{_defaultdocdir}
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz,;\,/doc/,d" %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.filelist
%defattr(-,root,root)
%doc COPYING ChangeLog NEWS README README.pyview TODO
%changelog
* 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