From b19a15c5b387d710cf5d9aea1b546bc0acb28319 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:36:01 +0100 Subject: [PATCH] automatic update by autodist [release 2.3-1mamba;Sun May 22 2011] --- README.md | 3 +++ lfm.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 lfm.spec diff --git a/README.md b/README.md index 09fffb6..9d53cd0 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/lfm.spec b/lfm.spec new file mode 100644 index 0000000..cacb161 --- /dev/null +++ b/lfm.spec @@ -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 +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 2.3-1mamba +- automatic update by autodist + +* Mon May 24 2010 Stefano Cotta Ramusino 2.2-1mamba +- package created by autospec