Accepting request 447615 from home:alois:branches:utilities

Update to 1.8.0

OBS-URL: https://build.opensuse.org/request/show/447615
OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=11
This commit is contained in:
Luigi Baldoni 2016-12-24 18:49:00 +00:00 committed by Git OBS Bridge
parent 5aec3577b9
commit bec15ab6ac
6 changed files with 50 additions and 20 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94f6e342daee4445f15db5a7440a11138487c49cc25da0c473bbf1b8978f5b79
size 269713

3
ranger-1.8.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ce02476cb93d51b901eb6f5f0fc9675c58bd0a2f11d2ce0cdb667e15ec314092
size 227368

View File

@ -1,4 +1,4 @@
addFilter("python-naming-policy-not-applied")
addFilter("non-executable-script .*/ranger/data/scope.sh")
addFilter("non-executable-script .*/usr/lib/python2.7/site-packages/ranger/ext/rifle.py")
addFilter("non-executable-script .*/usr/lib/python.*/site-packages/ranger/ext/rifle.py")
addFilter("doc-file-dependency .*/usr/share/doc/packages/ranger/(examples|tools)")

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Sat Dec 24 18:06:47 UTC 2016 - aloisio@gmx.com
- Update to version 1.8.0
* scope.sh is now needed for the now fully scriptable image
previews
* Overhaul of version control system integration, now with
threads
* Fixed ranger not finding the location of w3mimgdisplay in
most cases
* Fixed many minor bugs
* Added midnight-commander like multipane view, toggleable
with `~` key. It displays the current directory of all the
open tabs next to each other.
* Added autodetect for 256 color support in scope.sh source
code preview
* Added macro `%confdir` that expands to `~/.config/ranger`
by default
* Added possibility to toggle/cycle through options with
`set <option_name>!`
* Added `Mm`/`Ms` key to enable the linemode showing
modification time
* Added `yt`/`dt` keys to toggle whether file is in copy/cut
buffer
* Added `line_numbers` setting showing absolute/relative
line numbers
* Added `Alt-Left` and `Alt-Right` key bindings to move by
words in console
* Added previews for libreoffice files with `odt2txt`
* Added `preview_images_method=urxvt` option for previewing
images by changing the urxvt background (requires urxvt
compiled with pixbuf support)
* Added `clear_filters_on_dir_change` option
* Added Travis-CI integration
* Changed `zi` key to toggle `preview_images` option
* Improved PEP8 compliance
* Improved documentation
* Improved UI by separating file path in title bar with a
space from the username/hostname for quick copy&pasting by
shift+double-clicking on it.
- Dropped ranger.desktop now supplied from upstream
-------------------------------------------------------------------
Sat Nov 5 20:25:10 UTC 2016 - aloisio@gmx.com

View File

@ -1,10 +0,0 @@
[Desktop Entry]
Version=1.0
Terminal=true
Exec=ranger
Type=Application
Categories=
StartupNotify=false
Name=Ranger
GenericName=File Manager

View File

@ -18,14 +18,13 @@
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
Name: ranger
Version: 1.7.2
Version: 1.8.0
Release: 0
Summary: Console File Manager
License: GPL-3.0
Group: Productivity/File utilities
Url: http://ranger.nongnu.org
Source: http://nongnu.org/ranger/ranger-%{version}.tar.gz
Source1: ranger.desktop
Source99: ranger-rpmlintrc
BuildRequires: python-devel >= 2.5.1
Requires: file
@ -62,6 +61,7 @@ though ranger is easily controllable with just the arrow keys or the mouse.
%prep
%setup -q
sed -e 's|#!/bin/python|#!%{_bindir}/env python|' -i doc/tools/convert_papermode_to_metadata.py
%build
python ./setup.py build
@ -74,13 +74,12 @@ python ./setup.py install \
rm -rf "%{buildroot}%{_datadir}/doc/ranger"
%if 0%{?suse_version}
install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%suse_update_desktop_file -r "%{name}" System FileManager
%endif
%files
%defattr(-,root,root)
%doc AUTHORS CHANGELOG README.md HACKING.md
%doc AUTHORS CHANGELOG.md README.md HACKING.md
%doc doc/colorschemes.txt
%doc doc/tools
%doc examples
@ -90,8 +89,6 @@ install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.des
%{python_sitelib}/ranger
%{_mandir}/man1/ranger.1*
%{_mandir}/man1/rifle.1*
%if 0%{?suse_version}
%{_datadir}/applications/%{name}.desktop
%endif
%changelog