vifm/vifm.spec
Michael Vetter 40d733dbff - Update to version 0.8.2 Beta 1:
* Key suggestions in the interface on ambiguous input (e.g. g).
  * Helpful shortcuts for dialogs (for sort dialog in particular).
  * Key descriptions in :map menus and %z macro for 'statusline' to display some tips.
  * Description of all :commands, 'options' and their values for new multiline version of wildmenu.
  * ANDing, ORing and negating patterns for matching files and new mime-type matcher.
  * File prefixes and suffixes can now be multi-byte, which with extended 'classify' option allows specifying "icons" via custom fonts.
  * Search result highlighting, enabled completion and a way to export the list for menus.
  * An indication of pattern correctness and match state for interactive prompts.
  * :select and :unselect commands to perform automatic file selection (possibly by using output of external application).
  * Cancellation (handling of Ctrl-C) for quick view and view mode loading.
  * For the complete list see: https://vifm.info/news/2016-07-02.shtml

OBS-URL: https://build.opensuse.org/package/show/utilities/vifm?expand=0&rev=22
2016-07-02 13:59:46 +00:00

84 lines
2.4 KiB
RPMSpec

#
# spec file for package vifm
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define _version 0.8.2-beta
Name: vifm
Version: 0.8.2~beta1
Release: 0
Summary: Ncurses based file manager with vi like keybindings
License: GPL-2.0+
Group: Productivity/File utilities
Url: http://%{name}.info
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{_version}.tar.bz2
BuildRequires: file-devel
BuildRequires: groff
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%endif
%if 0%{?suse_version} > 1110
BuildRequires: pkgconfig(x11)
%else
BuildRequires: xorg-x11-devel
%endif
%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 -n vifm-0.8.2-beta
%build
%configure \
--with-curses \
--with-libmagic \
--without-gtk \
--disable-developer
make %{?_smp_mflags}
gzip -9c ChangeLog > ChangeLog.gz
%install
make install DESTDIR="%{?buildroot}"
%if 0%{?suse_version}
%suse_update_desktop_file %{name}
%endif
rm -rf %{buildroot}%{_datadir}/doc/vifm/*
rm -rf %{buildroot}%{_datadir}/vifm/vifmrc-osx
rm -rf %{buildroot}%{_datadir}/vifm/vim-doc/doc/tags
rm -rf %{buildroot}%{_datadir}/vifm/vim-doc/doc/vifm-app.txt
%files
%defattr(-,root,root)
%doc AUTHORS BUGS ChangeLog.* COPYING README TODO
%doc %{_datadir}/%{name}/%{name}-help.txt
%dir %{_datadir}/%{name}
%{_bindir}/*
%{_datadir}/%{name}/vim
%{_datadir}/%{name}/%{name}rc
%{_mandir}/man1/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_datadir}/vifm/colors/
%changelog