Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
lfm
lfm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lfm.spec of Package lfm
# norootforbuild Name: lfm Version: 2.3 Release: 0 Summary: File Manager for the Console # http://lfm.googlecode.com/files/lfm-%{version}.tar.gz Source: lfm-%{version}.tar.bz2 Source1: lfm.desktop Patch1: lfm-docdir.patch Patch2: lfm-remove_shebangs.patch Source99: %{name}-rpmlintrc URL: https://inigo.katxi.org/devel/lfm/ Group: Productivity/File utilities License: GNU General Public License version 3 (GPL v3) BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: python-devel >= 2.5 BuildRequires: perl BuildRequires: update-desktop-files Provides: pyview = %{version}-%{release} %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %py_requires %description Lfm is a curses-based file manager for the Unix console written in Python. %prep %setup -q %patch1 %__perl -ne 'print $1,"\n" if /^\+{3}\s+(.+?)\s+\d/' <"%{PATCH1}" | while read f; do %__sed -i 's|@@DOCDIR@@|%{_docdir}/%{name}|g' "$f" done %patch2 %build %__python ./setup.py build %install %__python ./setup.py install \ --prefix="%{_prefix}" \ --root="%{buildroot}" \ --record-rpm=rpmfiles.lst %__rm -rf "%{buildroot}%{_datadir}/doc" %__perl -n -i -e 'print unless m,%{_datadir}/doc,' rpmfiles.lst %__perl -n -i -e 'print unless m,%{_mandir},' rpmfiles.lst %__install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" %suse_update_desktop_file -r "%{name}" System FileManager %clean %__rm -rf "%{buildroot}" %files -f rpmfiles.lst %defattr(-,root,root) %doc ChangeLog COPYING NEWS README* TODO %doc %{_mandir}/man1/lfm.1%{ext_man} %doc %{_mandir}/man1/pyview.1%{ext_man} %{_datadir}/applications/%{name}.desktop %changelog # vim: set sw=3 ts=3 noet: # Local Variables: # mode: rpm-spec # tab-width: 3 # End:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor