vifm/vifm.spec

69 lines
1.8 KiB
RPMSpec
Raw Normal View History

# vim: set ts=4 sw=4 et:
#
# 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.6
Release: 1
License: GPL-2.0+
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
%if 0%{?mdkversion}
BuildRequires: libncursesw-devel
%else
BuildRequires: ncurses-devel
%endif
BuildRequires: xorg-x11-devel
BuildRequires: file-devel
BuildRequires: pkgconfig
BuildRequires: libtool automake autoconf
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
%build
NOCONFIGURE=1 autoreconf -fiv
%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*
%doc %{_mandir}/man1/vifm-pause.1*
%doc %{_mandir}/man1/vifmrc-converter.1*
%{_datadir}/applications/vifm.desktop
%{_datadir}/pixmaps/vifm.png
%changelog