2018-02-26 09:49:36 +00:00
|
|
|
#
|
|
|
|
# spec file for package fzy
|
|
|
|
#
|
2019-03-04 07:50:37 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2018-02-26 09:49:36 +00: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.
|
|
|
|
|
2019-03-04 07:50:37 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2018-02-26 09:49:36 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: fzy
|
2019-03-04 07:50:37 +00:00
|
|
|
Version: 1.0
|
2018-02-26 09:49:36 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: A fuzzy text selector
|
|
|
|
License: MIT
|
|
|
|
Group: Productivity/Text/Utilities
|
2019-03-04 07:50:37 +00:00
|
|
|
URL: https://github.com/jhawthorn/fzy
|
|
|
|
Source0: https://github.com/jhawthorn/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source1: https://github.com/jhawthorn/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz.asc
|
|
|
|
Source2: %{name}.keyring
|
2018-02-26 09:49:36 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
fzy can be used to filter any list: files, command history, processes,
|
|
|
|
hostnames, bookmarks, git commits, etc. It's designed to be used both as an
|
|
|
|
editor plugin and on the command line. Rather than clearing the screen, fzy
|
|
|
|
displays its interface directly below the current cursor position, scrolling
|
|
|
|
the screen if necessary.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2019-03-04 07:50:37 +00:00
|
|
|
export CFLAGS="%{optflags}"
|
2018-02-26 09:49:36 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2019-03-04 07:50:37 +00:00
|
|
|
make install DESTDIR=%{?buildroot} PREFIX=%{_prefix}
|
2018-02-26 09:49:36 +00:00
|
|
|
|
|
|
|
%files
|
2018-02-26 09:54:14 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc CHANGELOG.md README.md
|
2018-02-26 09:49:36 +00:00
|
|
|
%{_bindir}/fzy
|
2019-03-04 07:50:37 +00:00
|
|
|
%{_mandir}/man1/fzy.1%{?ext_man}
|
2018-02-26 09:49:36 +00:00
|
|
|
|
|
|
|
%changelog
|