57 lines
1.5 KiB
RPMSpec
57 lines
1.5 KiB
RPMSpec
#
|
|
# spec file for package vifm
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: vifm
|
|
Version: 0.7.1
|
|
Release: 1
|
|
License: GNU General Public License (GPL)
|
|
Summary: Ncurses based file manager with vi like keybindings
|
|
Url: http://vifm.sourceforge.net
|
|
Group: Productivity/File utilities
|
|
Source0: http://prdownloads.sourceforge.net/vifm/vifm-%{version}.tar.bz2
|
|
Patch1: vifm-fix_buffer_overflow.patch
|
|
BuildRequires: ncurses-devel
|
|
BuildRequires: file-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Vifm is a ncurses based file manager with vi like keybindings that allow complete
|
|
keyboard control over your files without having to learn a new set of commands.
|
|
It supports UTF-8, a quick file view similar to midnight commander's quick
|
|
view, and configurable color schemes.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
%clean
|
|
%{?buildroot:rm -rf %{buildroot}}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS BUGS COPYING ChangeLog README TODO
|
|
%{_bindir}/vifm
|
|
%{_bindir}/vifm-pause
|
|
%{_bindir}/vifmrc-converter
|
|
%doc %{_datadir}/vifm/vifm-help.txt
|
|
%dir %{_datadir}/vifm/
|
|
%{_datadir}/vifm/vifmrc
|
|
%doc %{_mandir}/man1/vifm.1%{ext_man}
|
|
|