2010-11-13 19:00:04 +01:00
|
|
|
#
|
2011-06-13 13:41:30 +02:00
|
|
|
# spec file for package vifm
|
2010-11-13 19:00:04 +01:00
|
|
|
#
|
2015-03-30 15:07:17 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2010-11-13 19:00:04 +01:00
|
|
|
#
|
2015-03-30 15:07:17 +02:00
|
|
|
# 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.
|
|
|
|
|
2010-11-13 19:00:04 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2015-03-30 15:07:17 +02:00
|
|
|
|
2010-11-13 19:00:04 +01:00
|
|
|
Name: vifm
|
2015-03-30 15:07:17 +02:00
|
|
|
Version: 0.7.8
|
|
|
|
Release: 0
|
2010-11-13 19:18:57 +01:00
|
|
|
Summary: Ncurses based file manager with vi like keybindings
|
2015-03-30 15:07:17 +02:00
|
|
|
License: GPL-2.0+
|
2011-06-13 13:41:30 +02:00
|
|
|
Group: Productivity/File utilities
|
2015-04-08 13:36:15 +02:00
|
|
|
Url: http://%{name}.info
|
2015-03-30 15:07:17 +02:00
|
|
|
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
2011-06-13 13:41:30 +02:00
|
|
|
BuildRequires: file-devel
|
2015-03-30 15:07:17 +02:00
|
|
|
BuildRequires: groff
|
|
|
|
BuildRequires: ncurses-devel
|
2011-12-01 00:08:04 +01:00
|
|
|
BuildRequires: pkgconfig
|
2015-04-07 15:01:27 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
%endif
|
|
|
|
%if 0%{?suse_version} > 1110
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
%else
|
2015-03-30 15:07:17 +02:00
|
|
|
BuildRequires: xorg-x11-devel
|
2015-04-07 15:01:27 +02:00
|
|
|
%endif
|
2010-11-13 19:00:04 +01:00
|
|
|
|
|
|
|
%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.
|
2015-03-30 15:07:17 +02:00
|
|
|
It supports UTF-8, a quick file view similar to midnight commander's quick view,
|
|
|
|
and configurable color schemes.
|
2010-11-13 19:00:04 +01:00
|
|
|
|
|
|
|
%prep
|
2012-10-18 23:49:00 +02:00
|
|
|
%setup -q
|
2010-11-13 19:00:04 +01:00
|
|
|
|
2012-10-18 23:49:00 +02:00
|
|
|
|
2015-03-30 15:07:17 +02:00
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-curses \
|
|
|
|
--with-libmagic \
|
|
|
|
--without-gtk \
|
|
|
|
--disable-developer
|
2011-06-13 13:41:30 +02:00
|
|
|
make %{?_smp_mflags}
|
2015-03-30 15:07:17 +02:00
|
|
|
gzip -9c ChangeLog > ChangeLog.gz
|
|
|
|
|
2010-11-13 19:00:04 +01:00
|
|
|
|
|
|
|
%install
|
2015-04-07 15:01:27 +02:00
|
|
|
make install DESTDIR="%{?buildroot}"
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%suse_update_desktop_file %{name}
|
|
|
|
%endif
|
2010-11-13 19:00:04 +01:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-04-07 15:01:27 +02:00
|
|
|
%doc AUTHORS BUGS ChangeLog.* COPYING README TODO
|
2015-03-30 15:07:17 +02:00
|
|
|
%{_bindir}/*
|
|
|
|
%doc %{_datadir}/%{name}/%{name}-help.txt
|
|
|
|
%doc %{_datadir}/%{name}/vim-doc
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%{_datadir}/%{name}/vim
|
|
|
|
%{_datadir}/%{name}/%{name}rc
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
%{_datadir}/applications/*
|
|
|
|
%{_datadir}/pixmaps/*
|
2012-03-30 20:29:44 +02:00
|
|
|
|
|
|
|
%changelog
|