58 lines
1.6 KiB
RPMSpec
58 lines
1.6 KiB
RPMSpec
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
|