ranger/ranger.spec

89 lines
2.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package ranger
#
Accepting request 1079808 from home:sbradnick - Update to version 1.9.3+git20230416.478d5b6: * img_display, popen23: Appease lints * Move path to suffix=, add prefix="ranger" * GHActions: Update checkout and setup-python version * GHActions: Change CI to run conditionally without remaining pending * Fix the logic for determining the preview scale * Clean up the SIXEL documentation * Fix standard library misuse * Tidy up Magick executable detection logic * Move the ABC compat wrapper to a separate file * Tweaked human_readable * directory: Fix max call in mtimelevel * Added a default argument to the human_readable function * Reduce unnecessary string concatination * Reformat script * scope: Reformat sqlite preview for width * scope: Add missing parens in SQL OFFSET calculation * Show ellipsis `...` when reaching row limits * Reduce unnecessary variable assignment * Show row limits * Pretty format SQL query * get_executables: Use platform instead of reading /proc * Encourage ImageMagick to use OpenCL for processing * Implement the SIXEL image previewer * Support Expansion Of Environment Variables in cd command * shutil_generatorized: Float exists condition outwards * Disable the pylint checks for this workaround * Fix the ABC checks on Python 3 * Set COLOR_PAIRS only in the cases it's relevant * color: Catch Color number is greater than COLORS-1 OBS-URL: https://build.opensuse.org/request/show/1079808 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=34
2023-04-17 01:36:31 +02:00
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define short_version 1.9.3
Name: ranger
Accepting request 1079808 from home:sbradnick - Update to version 1.9.3+git20230416.478d5b6: * img_display, popen23: Appease lints * Move path to suffix=, add prefix="ranger" * GHActions: Update checkout and setup-python version * GHActions: Change CI to run conditionally without remaining pending * Fix the logic for determining the preview scale * Clean up the SIXEL documentation * Fix standard library misuse * Tidy up Magick executable detection logic * Move the ABC compat wrapper to a separate file * Tweaked human_readable * directory: Fix max call in mtimelevel * Added a default argument to the human_readable function * Reduce unnecessary string concatination * Reformat script * scope: Reformat sqlite preview for width * scope: Add missing parens in SQL OFFSET calculation * Show ellipsis `...` when reaching row limits * Reduce unnecessary variable assignment * Show row limits * Pretty format SQL query * get_executables: Use platform instead of reading /proc * Encourage ImageMagick to use OpenCL for processing * Implement the SIXEL image previewer * Support Expansion Of Environment Variables in cd command * shutil_generatorized: Float exists condition outwards * Disable the pylint checks for this workaround * Fix the ABC checks on Python 3 * Set COLOR_PAIRS only in the cases it's relevant * color: Catch Color number is greater than COLORS-1 OBS-URL: https://build.opensuse.org/request/show/1079808 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=34
2023-04-17 01:36:31 +02:00
Version: 1.9.3+git20230416.478d5b6
Release: 0
Summary: Console File Manager
Accepting request 634654 from home:alois:branches:utilities - Update to version 1.9.2 * Added a `hint_collapse_threshold` setting * Added a `traverse_backwards` command analogous to `traverse` * Added a command to shift tabs * Added a normal mode mapping to quickly enter the console and scroll through the history `C-p` * Added a section to `scope.sh` for image previews of archives * Added an avfs plugin * Added an option to the move command to enable launching the selected file instead of the marked files * Added filtering functionality inspired by dired's filter stack, `.n, .| ...` * Added image preview method for Kitty * Added option to disable the display of free space for high latency situations * Added section to `scope.sh` for pdf previews with mutool * Added several emacs/readline-inspired keybindings, `C-g` for `ESC`, `alt-f/b` * Added systemwide `rc.conf` and `commands.py` in `/etc/ranger` * Added the `%any_path` macro to allow bookmarks to be used with commands that need a path and are unaware of bookmarks * Added versioning logic to include extra info in unreleased versions * Change tab saving to save all tabs, not just the active tab * Changed `draw_borders` setting to enable drawing only borders or seperators * Changed behavior of positional arguments to the ranger command, if you specify a path to a file ranger will open with that file selected * Changed the `tilde_in_titlebar` setting to influence the window titlebar too * Changed the default colorscheme to work properly in terminals that don't equate bold and bright * Fixed StopIteration errors * Fixed embedded null errors * Fixed issues reported by coverity scan * Fixed running ranger as root on Mac OS * Fixed unicode issue for python2 * Fixed w3m preview issues with black stripes * Improved PEP8 adherence * Improved VCS symbols * Improved `--cmd` functionality * Improved file encoding detection by using chardet if it's available * Rifle's flag t should now work with more terminals than xterm and urxvt * Update colorscheme documentation - Fixed license field OBS-URL: https://build.opensuse.org/request/show/634654 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=24
2018-09-10 08:46:44 +02:00
License: GPL-3.0-or-later
Group: Productivity/File utilities
URL: https://github.com/ranger/ranger
Source: %{name}-%{version}.tar.gz
Source99: ranger-rpmlintrc
# PATCH-FIX-UPSTREAM ranger.desktop.patch -- Add missing GenericName
Patch0: ranger.desktop.diff
Accepting request 570387 from home:alois:branches:utilities - Update to version 1.9.0 * Fixed memory leak in w3m image preview * Fixed `Q` binding, map it to `quitall` instead of `quit!` * Fixed `gR` binding * Fixed custom linemode not being applied to files * Fixed w3m image display invocation on OpenBSD * Fixed broken pager after changing view mode with `~` * Added reset of rifle.conf when pressing `<C-R>` * Added image-based PDF previews to `scope.sh` (disabled by default) * Added terminology-based image previews * Added check for `$VISUAL` environment variable * Added setting `iterm2_font_height` and `iterm2_font_width` * Renamed setting `cd_tab_smart` to `cd_tab_fuzzy` * Changed command for mercurial integration from `hg` to `chg` version 1.9.0b6 * Fixed crash when parsing corrupted history file * Fixed tab completion with `cd -r ...` * Fixed crash when previewing files encoded in little-endian UTF-16 * Fixed flicker in previewing symlinked images * Fixed detection of location of scope.sh * Fixed crash when running ranger from the directory containing its package * Fixed cursor position after moving half a page down and back up * Fixed handling of lines that are too long for the console * Added `<F2>` binding to `:rename_append` * Avoid dereferencing symlinked directory when starting ranger in one * Added support for `file://` URIs as path arguments * Added setting `save_tabs_on_exit` * Added setting `cd_tab_case`, sets case sensitivity of `:cd` tab completion * Added setting `cd_tab_smart`, allows fuzzy tab completion with `:cd`, for example, `:cd /u/lo/b<TAB>` expands to `:cd /usr/local/bin` * Added setting `global_inode_type_filter` to show only directories when running ranger with the new option `--show-only-dirs` * Added setting `save_backtick_bookmark`, e.g. for easier syncing of bookmarks * Added setting `one_indexed` to start counting line numbers from 1 * Added rifle.conf entries to list/extract archives without atool * Added `:yank` command for simplified definitions of `yn`, `yd` & `yp` * Added `:narrow` command, which filters selected files * Added setting `freeze_files`, bound to `F` key, to avoid reloading files * Changed `:shell -p ...` to display stderr in pager version 1.9.0b5 * Fixed width calculation of multibyte characters in preview * Fixed crash in iTerm2 preview with python 3.5 version 1.9.0b1 * Fixed crash when using `Mi` on files without reading permissions * Fixed natural sorting (`11.jpg` < `100.jpg`) * Fixed loss of precision in timestamps when copying * Fixed smart case matching in `:travel` * Fixed automatically disabling `preview_script` when running as root * Fixed crash on sshfs disconnect * Fixed crash on missing `~/.config/ranger/history` * Fixed crash when path not accessible during start-up * Fixed automatic tmux title * Fixed urxvt image previewing when running tmux * Fixed macro expansion in aliased commands * Fixed `hidden_filter` option when combined with `:flat` * Fixed various other crashes * Fixed error message that occasionally pops up when changing settings * Introduced extensive linting to ensure code quality * Added continuous integration. Patches now require `make test` to pass. * Added handling of arguments in "$PAGER" environment variable * Added quote parsing for `:setlocal path=...` * Added `ys` to copy the selection to clipboard * Added setting `hostname_in_titlebar` * Added setting `wrap_scroll` to wrap cursor around when scrolling * Added example plugin `plugin_fasd_add.py` * Added command `jump_non` to jump to the first non-directory file * Added additional arguments to the command `:rename_append` * Added key binding 'zz' as an alternative to 'zf' * Added option `-c` to the `rifle` file opener command * Added support for `$XDG_DATA_HOME` * Avoid exiting ranger while copying. Use `:quit!` to quit while copying. * Improved scope.sh (better performance & readability) * Changed `ranger --choosefiles` to return all selected files in all paths * Changed interpretation of commands: treat tabs as argument separators * Changed `<C-n>` to open new tab in current directory rather than `$HOME` * Changed `:quit!` to only close 1 tab. Use `:quitall` to close all tabs. * Removed backward compatibility for `options.py`, predecessor of `rc.conf` * Automatically update bookmarks+tags when renaming them via ranger - New URL and source address. - Switched to python3 - Spec cleanup OBS-URL: https://build.opensuse.org/request/show/570387 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=19
2018-01-28 20:59:51 +01:00
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: update-desktop-files
Accepting request 570387 from home:alois:branches:utilities - Update to version 1.9.0 * Fixed memory leak in w3m image preview * Fixed `Q` binding, map it to `quitall` instead of `quit!` * Fixed `gR` binding * Fixed custom linemode not being applied to files * Fixed w3m image display invocation on OpenBSD * Fixed broken pager after changing view mode with `~` * Added reset of rifle.conf when pressing `<C-R>` * Added image-based PDF previews to `scope.sh` (disabled by default) * Added terminology-based image previews * Added check for `$VISUAL` environment variable * Added setting `iterm2_font_height` and `iterm2_font_width` * Renamed setting `cd_tab_smart` to `cd_tab_fuzzy` * Changed command for mercurial integration from `hg` to `chg` version 1.9.0b6 * Fixed crash when parsing corrupted history file * Fixed tab completion with `cd -r ...` * Fixed crash when previewing files encoded in little-endian UTF-16 * Fixed flicker in previewing symlinked images * Fixed detection of location of scope.sh * Fixed crash when running ranger from the directory containing its package * Fixed cursor position after moving half a page down and back up * Fixed handling of lines that are too long for the console * Added `<F2>` binding to `:rename_append` * Avoid dereferencing symlinked directory when starting ranger in one * Added support for `file://` URIs as path arguments * Added setting `save_tabs_on_exit` * Added setting `cd_tab_case`, sets case sensitivity of `:cd` tab completion * Added setting `cd_tab_smart`, allows fuzzy tab completion with `:cd`, for example, `:cd /u/lo/b<TAB>` expands to `:cd /usr/local/bin` * Added setting `global_inode_type_filter` to show only directories when running ranger with the new option `--show-only-dirs` * Added setting `save_backtick_bookmark`, e.g. for easier syncing of bookmarks * Added setting `one_indexed` to start counting line numbers from 1 * Added rifle.conf entries to list/extract archives without atool * Added `:yank` command for simplified definitions of `yn`, `yd` & `yp` * Added `:narrow` command, which filters selected files * Added setting `freeze_files`, bound to `F` key, to avoid reloading files * Changed `:shell -p ...` to display stderr in pager version 1.9.0b5 * Fixed width calculation of multibyte characters in preview * Fixed crash in iTerm2 preview with python 3.5 version 1.9.0b1 * Fixed crash when using `Mi` on files without reading permissions * Fixed natural sorting (`11.jpg` < `100.jpg`) * Fixed loss of precision in timestamps when copying * Fixed smart case matching in `:travel` * Fixed automatically disabling `preview_script` when running as root * Fixed crash on sshfs disconnect * Fixed crash on missing `~/.config/ranger/history` * Fixed crash when path not accessible during start-up * Fixed automatic tmux title * Fixed urxvt image previewing when running tmux * Fixed macro expansion in aliased commands * Fixed `hidden_filter` option when combined with `:flat` * Fixed various other crashes * Fixed error message that occasionally pops up when changing settings * Introduced extensive linting to ensure code quality * Added continuous integration. Patches now require `make test` to pass. * Added handling of arguments in "$PAGER" environment variable * Added quote parsing for `:setlocal path=...` * Added `ys` to copy the selection to clipboard * Added setting `hostname_in_titlebar` * Added setting `wrap_scroll` to wrap cursor around when scrolling * Added example plugin `plugin_fasd_add.py` * Added command `jump_non` to jump to the first non-directory file * Added additional arguments to the command `:rename_append` * Added key binding 'zz' as an alternative to 'zf' * Added option `-c` to the `rifle` file opener command * Added support for `$XDG_DATA_HOME` * Avoid exiting ranger while copying. Use `:quit!` to quit while copying. * Improved scope.sh (better performance & readability) * Changed `ranger --choosefiles` to return all selected files in all paths * Changed interpretation of commands: treat tabs as argument separators * Changed `<C-n>` to open new tab in current directory rather than `$HOME` * Changed `:quit!` to only close 1 tab. Use `:quitall` to close all tabs. * Removed backward compatibility for `options.py`, predecessor of `rc.conf` * Automatically update bookmarks+tags when renaming them via ranger - New URL and source address. - Switched to python3 - Spec cleanup OBS-URL: https://build.opensuse.org/request/show/570387 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=19
2018-01-28 20:59:51 +01:00
Requires: file
Requires: python3-curses
Recommends: atool
Recommends: highlight
Recommends: mediainfo
Recommends: w3m
Recommends: python3-Pillow
BuildArch: noarch
%description
Ranger is a console file manager that gives you greater flexibility and a
good overview of your files without having to leave your text console. It
visualizes the directory tree in two dimensions: the directory hierarchy on
one, lists of files on the other, with a preview to the right.
The default keys are similar to those of Vim, Emacs and Midnight Commander,
though ranger is easily controllable with just the arrow keys or the mouse.
%prep
%setup -q
%patch0 -p1
Accepting request 570387 from home:alois:branches:utilities - Update to version 1.9.0 * Fixed memory leak in w3m image preview * Fixed `Q` binding, map it to `quitall` instead of `quit!` * Fixed `gR` binding * Fixed custom linemode not being applied to files * Fixed w3m image display invocation on OpenBSD * Fixed broken pager after changing view mode with `~` * Added reset of rifle.conf when pressing `<C-R>` * Added image-based PDF previews to `scope.sh` (disabled by default) * Added terminology-based image previews * Added check for `$VISUAL` environment variable * Added setting `iterm2_font_height` and `iterm2_font_width` * Renamed setting `cd_tab_smart` to `cd_tab_fuzzy` * Changed command for mercurial integration from `hg` to `chg` version 1.9.0b6 * Fixed crash when parsing corrupted history file * Fixed tab completion with `cd -r ...` * Fixed crash when previewing files encoded in little-endian UTF-16 * Fixed flicker in previewing symlinked images * Fixed detection of location of scope.sh * Fixed crash when running ranger from the directory containing its package * Fixed cursor position after moving half a page down and back up * Fixed handling of lines that are too long for the console * Added `<F2>` binding to `:rename_append` * Avoid dereferencing symlinked directory when starting ranger in one * Added support for `file://` URIs as path arguments * Added setting `save_tabs_on_exit` * Added setting `cd_tab_case`, sets case sensitivity of `:cd` tab completion * Added setting `cd_tab_smart`, allows fuzzy tab completion with `:cd`, for example, `:cd /u/lo/b<TAB>` expands to `:cd /usr/local/bin` * Added setting `global_inode_type_filter` to show only directories when running ranger with the new option `--show-only-dirs` * Added setting `save_backtick_bookmark`, e.g. for easier syncing of bookmarks * Added setting `one_indexed` to start counting line numbers from 1 * Added rifle.conf entries to list/extract archives without atool * Added `:yank` command for simplified definitions of `yn`, `yd` & `yp` * Added `:narrow` command, which filters selected files * Added setting `freeze_files`, bound to `F` key, to avoid reloading files * Changed `:shell -p ...` to display stderr in pager version 1.9.0b5 * Fixed width calculation of multibyte characters in preview * Fixed crash in iTerm2 preview with python 3.5 version 1.9.0b1 * Fixed crash when using `Mi` on files without reading permissions * Fixed natural sorting (`11.jpg` < `100.jpg`) * Fixed loss of precision in timestamps when copying * Fixed smart case matching in `:travel` * Fixed automatically disabling `preview_script` when running as root * Fixed crash on sshfs disconnect * Fixed crash on missing `~/.config/ranger/history` * Fixed crash when path not accessible during start-up * Fixed automatic tmux title * Fixed urxvt image previewing when running tmux * Fixed macro expansion in aliased commands * Fixed `hidden_filter` option when combined with `:flat` * Fixed various other crashes * Fixed error message that occasionally pops up when changing settings * Introduced extensive linting to ensure code quality * Added continuous integration. Patches now require `make test` to pass. * Added handling of arguments in "$PAGER" environment variable * Added quote parsing for `:setlocal path=...` * Added `ys` to copy the selection to clipboard * Added setting `hostname_in_titlebar` * Added setting `wrap_scroll` to wrap cursor around when scrolling * Added example plugin `plugin_fasd_add.py` * Added command `jump_non` to jump to the first non-directory file * Added additional arguments to the command `:rename_append` * Added key binding 'zz' as an alternative to 'zf' * Added option `-c` to the `rifle` file opener command * Added support for `$XDG_DATA_HOME` * Avoid exiting ranger while copying. Use `:quit!` to quit while copying. * Improved scope.sh (better performance & readability) * Changed `ranger --choosefiles` to return all selected files in all paths * Changed interpretation of commands: treat tabs as argument separators * Changed `<C-n>` to open new tab in current directory rather than `$HOME` * Changed `:quit!` to only close 1 tab. Use `:quitall` to close all tabs. * Removed backward compatibility for `options.py`, predecessor of `rc.conf` * Automatically update bookmarks+tags when renaming them via ranger - New URL and source address. - Switched to python3 - Spec cleanup OBS-URL: https://build.opensuse.org/request/show/570387 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=19
2018-01-28 20:59:51 +01:00
sed -e 's|#!/usr/bin/env python|#!%{_bindir}/python3|' -i doc/tools/*.py
sed -e 's|#!/usr/bin/env bash|#!/bin/bash|' -i ranger/data/scope.sh
%build
Accepting request 570387 from home:alois:branches:utilities - Update to version 1.9.0 * Fixed memory leak in w3m image preview * Fixed `Q` binding, map it to `quitall` instead of `quit!` * Fixed `gR` binding * Fixed custom linemode not being applied to files * Fixed w3m image display invocation on OpenBSD * Fixed broken pager after changing view mode with `~` * Added reset of rifle.conf when pressing `<C-R>` * Added image-based PDF previews to `scope.sh` (disabled by default) * Added terminology-based image previews * Added check for `$VISUAL` environment variable * Added setting `iterm2_font_height` and `iterm2_font_width` * Renamed setting `cd_tab_smart` to `cd_tab_fuzzy` * Changed command for mercurial integration from `hg` to `chg` version 1.9.0b6 * Fixed crash when parsing corrupted history file * Fixed tab completion with `cd -r ...` * Fixed crash when previewing files encoded in little-endian UTF-16 * Fixed flicker in previewing symlinked images * Fixed detection of location of scope.sh * Fixed crash when running ranger from the directory containing its package * Fixed cursor position after moving half a page down and back up * Fixed handling of lines that are too long for the console * Added `<F2>` binding to `:rename_append` * Avoid dereferencing symlinked directory when starting ranger in one * Added support for `file://` URIs as path arguments * Added setting `save_tabs_on_exit` * Added setting `cd_tab_case`, sets case sensitivity of `:cd` tab completion * Added setting `cd_tab_smart`, allows fuzzy tab completion with `:cd`, for example, `:cd /u/lo/b<TAB>` expands to `:cd /usr/local/bin` * Added setting `global_inode_type_filter` to show only directories when running ranger with the new option `--show-only-dirs` * Added setting `save_backtick_bookmark`, e.g. for easier syncing of bookmarks * Added setting `one_indexed` to start counting line numbers from 1 * Added rifle.conf entries to list/extract archives without atool * Added `:yank` command for simplified definitions of `yn`, `yd` & `yp` * Added `:narrow` command, which filters selected files * Added setting `freeze_files`, bound to `F` key, to avoid reloading files * Changed `:shell -p ...` to display stderr in pager version 1.9.0b5 * Fixed width calculation of multibyte characters in preview * Fixed crash in iTerm2 preview with python 3.5 version 1.9.0b1 * Fixed crash when using `Mi` on files without reading permissions * Fixed natural sorting (`11.jpg` < `100.jpg`) * Fixed loss of precision in timestamps when copying * Fixed smart case matching in `:travel` * Fixed automatically disabling `preview_script` when running as root * Fixed crash on sshfs disconnect * Fixed crash on missing `~/.config/ranger/history` * Fixed crash when path not accessible during start-up * Fixed automatic tmux title * Fixed urxvt image previewing when running tmux * Fixed macro expansion in aliased commands * Fixed `hidden_filter` option when combined with `:flat` * Fixed various other crashes * Fixed error message that occasionally pops up when changing settings * Introduced extensive linting to ensure code quality * Added continuous integration. Patches now require `make test` to pass. * Added handling of arguments in "$PAGER" environment variable * Added quote parsing for `:setlocal path=...` * Added `ys` to copy the selection to clipboard * Added setting `hostname_in_titlebar` * Added setting `wrap_scroll` to wrap cursor around when scrolling * Added example plugin `plugin_fasd_add.py` * Added command `jump_non` to jump to the first non-directory file * Added additional arguments to the command `:rename_append` * Added key binding 'zz' as an alternative to 'zf' * Added option `-c` to the `rifle` file opener command * Added support for `$XDG_DATA_HOME` * Avoid exiting ranger while copying. Use `:quit!` to quit while copying. * Improved scope.sh (better performance & readability) * Changed `ranger --choosefiles` to return all selected files in all paths * Changed interpretation of commands: treat tabs as argument separators * Changed `<C-n>` to open new tab in current directory rather than `$HOME` * Changed `:quit!` to only close 1 tab. Use `:quitall` to close all tabs. * Removed backward compatibility for `options.py`, predecessor of `rc.conf` * Automatically update bookmarks+tags when renaming them via ranger - New URL and source address. - Switched to python3 - Spec cleanup OBS-URL: https://build.opensuse.org/request/show/570387 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=19
2018-01-28 20:59:51 +01:00
python3 ./setup.py build
%install
Accepting request 570387 from home:alois:branches:utilities - Update to version 1.9.0 * Fixed memory leak in w3m image preview * Fixed `Q` binding, map it to `quitall` instead of `quit!` * Fixed `gR` binding * Fixed custom linemode not being applied to files * Fixed w3m image display invocation on OpenBSD * Fixed broken pager after changing view mode with `~` * Added reset of rifle.conf when pressing `<C-R>` * Added image-based PDF previews to `scope.sh` (disabled by default) * Added terminology-based image previews * Added check for `$VISUAL` environment variable * Added setting `iterm2_font_height` and `iterm2_font_width` * Renamed setting `cd_tab_smart` to `cd_tab_fuzzy` * Changed command for mercurial integration from `hg` to `chg` version 1.9.0b6 * Fixed crash when parsing corrupted history file * Fixed tab completion with `cd -r ...` * Fixed crash when previewing files encoded in little-endian UTF-16 * Fixed flicker in previewing symlinked images * Fixed detection of location of scope.sh * Fixed crash when running ranger from the directory containing its package * Fixed cursor position after moving half a page down and back up * Fixed handling of lines that are too long for the console * Added `<F2>` binding to `:rename_append` * Avoid dereferencing symlinked directory when starting ranger in one * Added support for `file://` URIs as path arguments * Added setting `save_tabs_on_exit` * Added setting `cd_tab_case`, sets case sensitivity of `:cd` tab completion * Added setting `cd_tab_smart`, allows fuzzy tab completion with `:cd`, for example, `:cd /u/lo/b<TAB>` expands to `:cd /usr/local/bin` * Added setting `global_inode_type_filter` to show only directories when running ranger with the new option `--show-only-dirs` * Added setting `save_backtick_bookmark`, e.g. for easier syncing of bookmarks * Added setting `one_indexed` to start counting line numbers from 1 * Added rifle.conf entries to list/extract archives without atool * Added `:yank` command for simplified definitions of `yn`, `yd` & `yp` * Added `:narrow` command, which filters selected files * Added setting `freeze_files`, bound to `F` key, to avoid reloading files * Changed `:shell -p ...` to display stderr in pager version 1.9.0b5 * Fixed width calculation of multibyte characters in preview * Fixed crash in iTerm2 preview with python 3.5 version 1.9.0b1 * Fixed crash when using `Mi` on files without reading permissions * Fixed natural sorting (`11.jpg` < `100.jpg`) * Fixed loss of precision in timestamps when copying * Fixed smart case matching in `:travel` * Fixed automatically disabling `preview_script` when running as root * Fixed crash on sshfs disconnect * Fixed crash on missing `~/.config/ranger/history` * Fixed crash when path not accessible during start-up * Fixed automatic tmux title * Fixed urxvt image previewing when running tmux * Fixed macro expansion in aliased commands * Fixed `hidden_filter` option when combined with `:flat` * Fixed various other crashes * Fixed error message that occasionally pops up when changing settings * Introduced extensive linting to ensure code quality * Added continuous integration. Patches now require `make test` to pass. * Added handling of arguments in "$PAGER" environment variable * Added quote parsing for `:setlocal path=...` * Added `ys` to copy the selection to clipboard * Added setting `hostname_in_titlebar` * Added setting `wrap_scroll` to wrap cursor around when scrolling * Added example plugin `plugin_fasd_add.py` * Added command `jump_non` to jump to the first non-directory file * Added additional arguments to the command `:rename_append` * Added key binding 'zz' as an alternative to 'zf' * Added option `-c` to the `rifle` file opener command * Added support for `$XDG_DATA_HOME` * Avoid exiting ranger while copying. Use `:quit!` to quit while copying. * Improved scope.sh (better performance & readability) * Changed `ranger --choosefiles` to return all selected files in all paths * Changed interpretation of commands: treat tabs as argument separators * Changed `<C-n>` to open new tab in current directory rather than `$HOME` * Changed `:quit!` to only close 1 tab. Use `:quitall` to close all tabs. * Removed backward compatibility for `options.py`, predecessor of `rc.conf` * Automatically update bookmarks+tags when renaming them via ranger - New URL and source address. - Switched to python3 - Spec cleanup OBS-URL: https://build.opensuse.org/request/show/570387 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=19
2018-01-28 20:59:51 +01:00
python3 ./setup.py install \
--prefix="%{_prefix}" \
--root=%{buildroot}
mv "%{buildroot}%{_datadir}/doc/ranger" _doc
find _doc -type f -exec chmod -R -x '{}' \;
Accepting request 570387 from home:alois:branches:utilities - Update to version 1.9.0 * Fixed memory leak in w3m image preview * Fixed `Q` binding, map it to `quitall` instead of `quit!` * Fixed `gR` binding * Fixed custom linemode not being applied to files * Fixed w3m image display invocation on OpenBSD * Fixed broken pager after changing view mode with `~` * Added reset of rifle.conf when pressing `<C-R>` * Added image-based PDF previews to `scope.sh` (disabled by default) * Added terminology-based image previews * Added check for `$VISUAL` environment variable * Added setting `iterm2_font_height` and `iterm2_font_width` * Renamed setting `cd_tab_smart` to `cd_tab_fuzzy` * Changed command for mercurial integration from `hg` to `chg` version 1.9.0b6 * Fixed crash when parsing corrupted history file * Fixed tab completion with `cd -r ...` * Fixed crash when previewing files encoded in little-endian UTF-16 * Fixed flicker in previewing symlinked images * Fixed detection of location of scope.sh * Fixed crash when running ranger from the directory containing its package * Fixed cursor position after moving half a page down and back up * Fixed handling of lines that are too long for the console * Added `<F2>` binding to `:rename_append` * Avoid dereferencing symlinked directory when starting ranger in one * Added support for `file://` URIs as path arguments * Added setting `save_tabs_on_exit` * Added setting `cd_tab_case`, sets case sensitivity of `:cd` tab completion * Added setting `cd_tab_smart`, allows fuzzy tab completion with `:cd`, for example, `:cd /u/lo/b<TAB>` expands to `:cd /usr/local/bin` * Added setting `global_inode_type_filter` to show only directories when running ranger with the new option `--show-only-dirs` * Added setting `save_backtick_bookmark`, e.g. for easier syncing of bookmarks * Added setting `one_indexed` to start counting line numbers from 1 * Added rifle.conf entries to list/extract archives without atool * Added `:yank` command for simplified definitions of `yn`, `yd` & `yp` * Added `:narrow` command, which filters selected files * Added setting `freeze_files`, bound to `F` key, to avoid reloading files * Changed `:shell -p ...` to display stderr in pager version 1.9.0b5 * Fixed width calculation of multibyte characters in preview * Fixed crash in iTerm2 preview with python 3.5 version 1.9.0b1 * Fixed crash when using `Mi` on files without reading permissions * Fixed natural sorting (`11.jpg` < `100.jpg`) * Fixed loss of precision in timestamps when copying * Fixed smart case matching in `:travel` * Fixed automatically disabling `preview_script` when running as root * Fixed crash on sshfs disconnect * Fixed crash on missing `~/.config/ranger/history` * Fixed crash when path not accessible during start-up * Fixed automatic tmux title * Fixed urxvt image previewing when running tmux * Fixed macro expansion in aliased commands * Fixed `hidden_filter` option when combined with `:flat` * Fixed various other crashes * Fixed error message that occasionally pops up when changing settings * Introduced extensive linting to ensure code quality * Added continuous integration. Patches now require `make test` to pass. * Added handling of arguments in "$PAGER" environment variable * Added quote parsing for `:setlocal path=...` * Added `ys` to copy the selection to clipboard * Added setting `hostname_in_titlebar` * Added setting `wrap_scroll` to wrap cursor around when scrolling * Added example plugin `plugin_fasd_add.py` * Added command `jump_non` to jump to the first non-directory file * Added additional arguments to the command `:rename_append` * Added key binding 'zz' as an alternative to 'zf' * Added option `-c` to the `rifle` file opener command * Added support for `$XDG_DATA_HOME` * Avoid exiting ranger while copying. Use `:quit!` to quit while copying. * Improved scope.sh (better performance & readability) * Changed `ranger --choosefiles` to return all selected files in all paths * Changed interpretation of commands: treat tabs as argument separators * Changed `<C-n>` to open new tab in current directory rather than `$HOME` * Changed `:quit!` to only close 1 tab. Use `:quitall` to close all tabs. * Removed backward compatibility for `options.py`, predecessor of `rc.conf` * Automatically update bookmarks+tags when renaming them via ranger - New URL and source address. - Switched to python3 - Spec cleanup OBS-URL: https://build.opensuse.org/request/show/570387 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=19
2018-01-28 20:59:51 +01:00
%if 0%{?suse_version} < 1500
%post
%desktop_database_post
%postun
%desktop_database_postun
%endif
%files
%license LICENSE
%doc _doc/*
%{_bindir}/ranger
%{_bindir}/rifle
%{python3_sitelib}/ranger_fm-%{short_version}-*.egg-info
Accepting request 570387 from home:alois:branches:utilities - Update to version 1.9.0 * Fixed memory leak in w3m image preview * Fixed `Q` binding, map it to `quitall` instead of `quit!` * Fixed `gR` binding * Fixed custom linemode not being applied to files * Fixed w3m image display invocation on OpenBSD * Fixed broken pager after changing view mode with `~` * Added reset of rifle.conf when pressing `<C-R>` * Added image-based PDF previews to `scope.sh` (disabled by default) * Added terminology-based image previews * Added check for `$VISUAL` environment variable * Added setting `iterm2_font_height` and `iterm2_font_width` * Renamed setting `cd_tab_smart` to `cd_tab_fuzzy` * Changed command for mercurial integration from `hg` to `chg` version 1.9.0b6 * Fixed crash when parsing corrupted history file * Fixed tab completion with `cd -r ...` * Fixed crash when previewing files encoded in little-endian UTF-16 * Fixed flicker in previewing symlinked images * Fixed detection of location of scope.sh * Fixed crash when running ranger from the directory containing its package * Fixed cursor position after moving half a page down and back up * Fixed handling of lines that are too long for the console * Added `<F2>` binding to `:rename_append` * Avoid dereferencing symlinked directory when starting ranger in one * Added support for `file://` URIs as path arguments * Added setting `save_tabs_on_exit` * Added setting `cd_tab_case`, sets case sensitivity of `:cd` tab completion * Added setting `cd_tab_smart`, allows fuzzy tab completion with `:cd`, for example, `:cd /u/lo/b<TAB>` expands to `:cd /usr/local/bin` * Added setting `global_inode_type_filter` to show only directories when running ranger with the new option `--show-only-dirs` * Added setting `save_backtick_bookmark`, e.g. for easier syncing of bookmarks * Added setting `one_indexed` to start counting line numbers from 1 * Added rifle.conf entries to list/extract archives without atool * Added `:yank` command for simplified definitions of `yn`, `yd` & `yp` * Added `:narrow` command, which filters selected files * Added setting `freeze_files`, bound to `F` key, to avoid reloading files * Changed `:shell -p ...` to display stderr in pager version 1.9.0b5 * Fixed width calculation of multibyte characters in preview * Fixed crash in iTerm2 preview with python 3.5 version 1.9.0b1 * Fixed crash when using `Mi` on files without reading permissions * Fixed natural sorting (`11.jpg` < `100.jpg`) * Fixed loss of precision in timestamps when copying * Fixed smart case matching in `:travel` * Fixed automatically disabling `preview_script` when running as root * Fixed crash on sshfs disconnect * Fixed crash on missing `~/.config/ranger/history` * Fixed crash when path not accessible during start-up * Fixed automatic tmux title * Fixed urxvt image previewing when running tmux * Fixed macro expansion in aliased commands * Fixed `hidden_filter` option when combined with `:flat` * Fixed various other crashes * Fixed error message that occasionally pops up when changing settings * Introduced extensive linting to ensure code quality * Added continuous integration. Patches now require `make test` to pass. * Added handling of arguments in "$PAGER" environment variable * Added quote parsing for `:setlocal path=...` * Added `ys` to copy the selection to clipboard * Added setting `hostname_in_titlebar` * Added setting `wrap_scroll` to wrap cursor around when scrolling * Added example plugin `plugin_fasd_add.py` * Added command `jump_non` to jump to the first non-directory file * Added additional arguments to the command `:rename_append` * Added key binding 'zz' as an alternative to 'zf' * Added option `-c` to the `rifle` file opener command * Added support for `$XDG_DATA_HOME` * Avoid exiting ranger while copying. Use `:quit!` to quit while copying. * Improved scope.sh (better performance & readability) * Changed `ranger --choosefiles` to return all selected files in all paths * Changed interpretation of commands: treat tabs as argument separators * Changed `<C-n>` to open new tab in current directory rather than `$HOME` * Changed `:quit!` to only close 1 tab. Use `:quitall` to close all tabs. * Removed backward compatibility for `options.py`, predecessor of `rc.conf` * Automatically update bookmarks+tags when renaming them via ranger - New URL and source address. - Switched to python3 - Spec cleanup OBS-URL: https://build.opensuse.org/request/show/570387 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=19
2018-01-28 20:59:51 +01:00
%{python3_sitelib}/ranger
%{_mandir}/man1/ranger.1%{ext_man}
%{_mandir}/man1/rifle.1%{ext_man}
%{_datadir}/applications/%{name}.desktop
%changelog