automatic update by autodist [release 2.3-1mamba;Sun May 22 2011]
This commit is contained in:
parent
cb5a66b764
commit
b19a15c5b3
@ -1,2 +1,5 @@
|
|||||||
# lfm
|
# 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
57
lfm.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user