From c1d4d86a73809a67287f2db6eaca5951db98fa0d Mon Sep 17 00:00:00 2001 From: Pascal Bleser Date: Thu, 26 May 2011 21:45:02 +0000 Subject: [PATCH] 1.4.3 OBS-URL: https://build.opensuse.org/package/show/utilities/ranger?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++ ranger-1.4.3.tar.gz | 3 +++ ranger-rpmlintrc | 2 ++ ranger.changes | 5 ++++ ranger.desktop | 10 ++++++++ ranger.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 102 insertions(+) create mode 100644 .gitattributes create mode 100644 ranger-1.4.3.tar.gz create mode 100644 ranger-rpmlintrc create mode 100644 ranger.changes create mode 100644 ranger.desktop create mode 100644 ranger.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/ranger-1.4.3.tar.gz b/ranger-1.4.3.tar.gz new file mode 100644 index 0000000..972c6ed --- /dev/null +++ b/ranger-1.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5700b05ebc012deaf045a502ef92714622695a9b6cc4842eff0164facd9bd99a +size 124115 diff --git a/ranger-rpmlintrc b/ranger-rpmlintrc new file mode 100644 index 0000000..88883d3 --- /dev/null +++ b/ranger-rpmlintrc @@ -0,0 +1,2 @@ +addFilter("python-naming-policy-not-applied") +addFilter("non-executable-script .*/ranger/data/scope.sh") diff --git a/ranger.changes b/ranger.changes new file mode 100644 index 0000000..70ac273 --- /dev/null +++ b/ranger.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu May 26 21:38:58 CET 2011 - pascal.bleser@opensuse.org + +- initial version (1.4.3) + diff --git a/ranger.desktop b/ranger.desktop new file mode 100644 index 0000000..b73b564 --- /dev/null +++ b/ranger.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Version=1.0 +Terminal=true +Exec=ranger +Type=Application +Categories= +StartupNotify=false +Name=Ranger +GenericName=File Manager + diff --git a/ranger.spec b/ranger.spec new file mode 100644 index 0000000..91282e0 --- /dev/null +++ b/ranger.spec @@ -0,0 +1,59 @@ +# vim: set sw=4 ts=4 et nu: + +Name: ranger +Version: 1.4.3 +Release: 0 +Summary: Console File Manager +Source: http://nongnu.org/ranger/ranger-%{version}.tar.gz +Source1: ranger.desktop +Source99: ranger-rpmlintrc +URL: http://ranger.nongnu.org +Group: Productivity/File utilities +License: GNU General Public License version 3 (GPL v3) +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: python-devel +BuildRequires: update-desktop-files +Requires: file +Recommends: atool +Recommends: mediainfo +Recommends: w3m +Recommends: highlight +BuildArch: noarch +%py_requires + +%description +Ranger is a free console file manager that gives you greater flexibility and a +good overview of your files without having to leave your *nix 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 so you know where +you'll be going. + +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 + +%build +%__python ./setup.py build + +%install +%__python ./setup.py install \ + --prefix="%{_prefix}" \ + --root="%{buildroot}" \ + --record-rpm=files.lst + +%__perl -n -i -e 'print unless m,^%{_mandir},' files.lst + +%__install -D -m0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop" +%suse_update_desktop_file -r "%{name}" System FileManager + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files -f files.lst +%defattr(-,root,root) +%doc CHANGELOG COPYING README +%doc %{_mandir}/man1/ranger.1%{ext_man} +%{_datadir}/applications/%{name}.desktop +