2013-05-26 09:42:42 +00:00
|
|
|
#
|
|
|
|
# spec file for package fish
|
|
|
|
#
|
Accepting request 1058904 from home:polslinux:branches:shells
- update to 3.6.0:
* By default, Control-R now opens the command history in the pager,
* Abbrevations are more flexible
* The \\x and \\X escape syntax is now equivalent. \\xAB previously
behaved the same as \\XAB, except that it would error if the value “AB” was larger than “7f”
* The fish_git_prompt will now only turn on features if the appropriate
variable has been set to a true value (of “1”, “yes” or “true”)
instead of just checking if it is defined.
* Abbreviations are no longer stored in universal variables.
* The short option -r for abbreviations has changed from rename to regex,
for consistency with string.
* argparse can now be used without option specifications, to allow using
--min-args, --max-args or for commands that take no options
* set --show now shows when a variable was inherited from fish’s parent process,
which should help with debugging
* The read limit is now restored to the default when fish_read_limit is unset
* fish_clipboard_copy and fish_clipboard_paste can now be used in pipes
* A new variable, fish_cursor_selection_mode, can be used to configure whether
the command line selection includes the character under the cursor (inclusive) or not (exclusive)
* The complete-and-search binding, used with Shift-Tab by default,
selects the first item in the results immediately
* The key combination for the QUIT terminal sequence, often Control-Backslash (\\x1c),
can now be sused as a binding
* commandline gained two new options, --selection-start and --selection-end,
to set the start/end of the current selection
OBS-URL: https://build.opensuse.org/request/show/1058904
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=78
2023-01-18 03:41:10 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-05-26 09:42:42 +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.
|
2009-03-28 18:33:08 +00:00
|
|
|
|
2019-01-06 20:44:27 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-05-26 09:42:42 +00:00
|
|
|
#
|
2009-03-28 18:33:08 +00:00
|
|
|
|
2014-10-09 17:19:42 +00:00
|
|
|
|
2013-05-26 09:42:42 +00:00
|
|
|
Name: fish
|
Accepting request 1136000 from home:victorhck:branches:openSUSE:Factory
- Update to 3.7.0:
* The history pager will now also attempt subsequence matches (#9476),
so you can find a command line like git log 3.6.1..Integration_3.7.0 by searching for gitInt.
* Opening the history pager will now fill the search field with a search string if you’re already
in a search (#10005). This makes it nicer to search something with ↑ and then later decide
to switch to the full pager.
* Closing the history pager with enter will now copy the search text to the commandline
if there was no match, so you can continue editing the command you tried to find right away (#9934).
* Performance improvements for command completions and globbing, where supported by the operating system,
especially on slow filesystems such as NFS (#9891, #9931, #10032, #10052).
* fish can now be configured to wait a specified amount of time for a multi-key sequence to be completed,
instead of waiting indefinitely. For example, this makes binding kj to switching modes in vi mode possible.
The timeout can be set via the new fish_sequence_key_delay_ms variable (#7401),
and may be set by default in future versions.
* See https://github.com/fish-shell/fish-shell/releases/tag/3.7.0
for more details
OBS-URL: https://build.opensuse.org/request/show/1136000
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=88
2024-01-30 10:17:06 +00:00
|
|
|
Version: 3.7.0
|
2013-05-26 09:42:42 +00:00
|
|
|
Release: 0
|
2018-04-15 15:41:42 +00:00
|
|
|
Summary: The "friendly interactive shell"
|
2023-12-11 07:52:27 +00:00
|
|
|
# see bundled doc_src/license.rst
|
2023-12-11 10:51:36 +00:00
|
|
|
License: GPL-2.0-only AND BSD-3-Clause AND ISC AND LGPL-2.0-or-later AND MIT AND PSF-2.0
|
2013-05-26 09:42:42 +00:00
|
|
|
Group: System/Shells
|
2020-03-17 03:56:57 +00:00
|
|
|
URL: https://fishshell.com/
|
2021-03-01 23:31:45 +00:00
|
|
|
Source: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/fish-shell/fish-shell/releases/download/%{version}/fish-%{version}.tar.xz.asc
|
2022-09-13 00:37:15 +00:00
|
|
|
Source100: fish.keyring
|
2020-03-17 03:56:57 +00:00
|
|
|
BuildRequires: cmake
|
2013-05-26 09:42:42 +00:00
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: groff
|
|
|
|
BuildRequires: ncurses-devel
|
2016-09-10 14:18:19 +00:00
|
|
|
BuildRequires: pcre2-devel >= 10.21
|
2016-09-10 14:17:55 +00:00
|
|
|
BuildRequires: pkgconfig
|
2021-03-09 06:56:46 +00:00
|
|
|
BuildRequires: update-desktop-files
|
2023-12-11 07:52:27 +00:00
|
|
|
# for tests
|
|
|
|
BuildRequires: procps
|
2023-10-18 01:13:57 +00:00
|
|
|
Requires: awk
|
2016-09-10 14:17:55 +00:00
|
|
|
Requires: bc
|
2015-11-21 06:55:49 +00:00
|
|
|
Requires: man
|
|
|
|
Recommends: terminfo
|
2009-03-28 18:33:08 +00:00
|
|
|
|
|
|
|
%description
|
2018-04-15 15:41:42 +00:00
|
|
|
fish is a command line shell.
|
|
|
|
It is geared towards interactive use and its features are focused on user
|
2016-09-10 14:17:55 +00:00
|
|
|
friendlieness and discoverability. The language syntax is simple but
|
|
|
|
incompatible with other shell languages.
|
2009-03-28 18:33:08 +00:00
|
|
|
|
2018-04-02 01:11:51 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Devel files for the fish shell
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains development files for the fish shell.
|
|
|
|
|
2009-03-28 18:33:08 +00:00
|
|
|
%prep
|
2022-03-22 00:05:09 +00:00
|
|
|
%autosetup -p1
|
2009-03-28 18:33:08 +00:00
|
|
|
|
2018-04-02 01:11:51 +00:00
|
|
|
# fix E: env-script-interpreter
|
2023-04-18 23:39:47 +00:00
|
|
|
find share/tools -type f -name *.py -exec \
|
|
|
|
sed -i -r '1s|^#!%{_bindir}/env |#!%{_bindir}/|' {} +
|
2018-04-02 01:11:51 +00:00
|
|
|
|
2009-03-28 18:33:08 +00:00
|
|
|
%build
|
2020-03-17 03:56:57 +00:00
|
|
|
%cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
2024-01-31 04:46:33 +00:00
|
|
|
-DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
|
|
|
|
-DCMAKE_INSTALL_DOCDIR:PATH=share/doc/packages/fish \
|
|
|
|
%{nil}
|
|
|
|
%cmake_build
|
2009-03-28 18:33:08 +00:00
|
|
|
|
|
|
|
%install
|
2020-03-17 03:56:57 +00:00
|
|
|
%cmake_install
|
2018-04-02 01:11:51 +00:00
|
|
|
|
2009-03-28 18:33:08 +00:00
|
|
|
%find_lang %{name}
|
2013-05-26 09:42:42 +00:00
|
|
|
|
2024-01-31 04:46:33 +00:00
|
|
|
# Location varies between TW and SLE/Leap, try both
|
|
|
|
rm %{buildroot}/%{_datadir}/doc/packages/fish/.buildinfo
|
2020-03-17 03:56:57 +00:00
|
|
|
|
2021-03-09 06:56:46 +00:00
|
|
|
%suse_update_desktop_file -G "Command-line interpreter" fish TerminalEmulator
|
|
|
|
|
2023-12-11 07:52:27 +00:00
|
|
|
%check
|
|
|
|
pushd build
|
|
|
|
%make_build test
|
|
|
|
popd
|
|
|
|
|
2009-03-28 18:33:08 +00:00
|
|
|
%post
|
2013-05-26 09:42:42 +00:00
|
|
|
# Add fish to the list of allowed shells in /etc/shells
|
2018-04-15 15:41:42 +00:00
|
|
|
if ! grep -q '^%{_bindir}/%{name}$' %{_sysconfdir}/shells; then
|
2023-12-11 07:52:27 +00:00
|
|
|
echo %{_bindir}/%{name} >>%{_sysconfdir}/shells
|
2009-03-28 18:33:08 +00:00
|
|
|
fi
|
|
|
|
|
2013-05-26 09:42:42 +00:00
|
|
|
%postun
|
|
|
|
# Remove fish from the list of allowed shells in /etc/shells
|
|
|
|
if [ "$1" = 0 ]; then
|
2023-12-11 07:52:27 +00:00
|
|
|
grep -v '^%{_bindir}/%{name}$' %{_sysconfdir}/shells >%{_sysconfdir}/%{name}.tmp
|
|
|
|
mv %{_sysconfdir}/%{name}.tmp %{_sysconfdir}/shells
|
2013-05-26 09:42:42 +00:00
|
|
|
fi
|
2009-03-28 18:33:08 +00:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
2016-09-10 14:17:55 +00:00
|
|
|
%dir %{_sysconfdir}/fish
|
2014-12-01 17:56:18 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/*
|
Accepting request 879954 from home:avindra:branches:shells
- Update to 3.2.1:
* Commands in key bindings are run with fish's internal terminal
modes, instead of the terminal modes typically used for commands.
This fixes a bug introduced in 3.2.0, where text would unexpectedly
appear on the terminal, especially when pasting
* Prompts which use the internal __fish_print_pipestatus function will
display correctly rather than carrying certain modifiers (such as
bold) further than intended
* Redirections to internal file descriptors is allowed again, reversing
the changes in 3.2.0. This fixes a problem with Midnight Commander
* Universal variables should be fully reliable regardless of operating
system again
* fish_git_prompt no longer causes screen flickering in certain terminals
* fish_add_path manipulates the fish_user_paths variable correctly
when moving multiple paths
* Pasting with a multi-line command no longer causes
__fish_tokenizer_state error
* psub inside event handlers cleans up temporary files properly
* Event handlers declared with --on-job-exit $fish_pid no longer run
constantly, although these functions should use --on-event fish_exit
instead.
* Changing terminal modes inside config.fish works
* set_color --print-colors no longer prints all colors in bold
* Completing commands starting with a - no longer prints an error
* Running fish_command_not_found directly no longer produces an error
on macOS or other OSes which do not have a handler available
* The new type builtin now has the (deprecated) --quiet long form of -q
* help and fish_config work correctly when fish is running in a Chrome
OS Crostini Linux VM
* The history file can be made a symbolic link without it being overwritten,
matching a similar improvement for the universal variable file in 3.2.0.
* An unhelpful error ("access: No error"), seen on Cygwin, is no longer produced
* Improvements to the rsync completions, some completion descriptions,
and completions that use IP address
* Improvements to the appearance of fish_config
- explicitly list binaries in spec file
OBS-URL: https://build.opensuse.org/request/show/879954
OBS-URL: https://build.opensuse.org/package/show/shells/fish?expand=0&rev=62
2021-03-21 10:44:21 +00:00
|
|
|
%{_bindir}/fish
|
|
|
|
%{_bindir}/fish_indent
|
|
|
|
%{_bindir}/fish_key_reader
|
2024-01-31 04:46:33 +00:00
|
|
|
%doc %{_datadir}/doc/packages/%{name}
|
2013-05-26 09:42:42 +00:00
|
|
|
%{_datadir}/%{name}
|
2018-04-02 01:11:51 +00:00
|
|
|
%{_mandir}/man1/*.1%{?ext_man}
|
2021-03-01 23:31:45 +00:00
|
|
|
%{_datadir}/applications/fish.desktop
|
|
|
|
%{_datadir}/pixmaps/fish.png
|
2018-04-02 01:11:51 +00:00
|
|
|
|
|
|
|
%files devel
|
2015-07-27 19:50:01 +00:00
|
|
|
%{_datadir}/pkgconfig/fish.pc
|
2009-03-28 18:33:08 +00:00
|
|
|
|
2014-10-09 17:19:42 +00:00
|
|
|
%changelog
|