public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ben Boeckel <MathStuf@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ranger] epel10: Initial import
Date: Wed, 10 Jun 2026 03:13:57 GMT	[thread overview]
Message-ID: <178106123759.1.6751058268060203459.rpms-ranger-e5920c9bb747@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/ranger
Branch : epel10
Commit : e5920c9bb747bb1db33783bdc2ef3a3b4a146b7b
Author : Ben Boeckel <MathStuf@gmail.com>
Date   : 2010-07-30T19:10:17-04:00
Stats  : +81/-0 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/ranger/c/e5920c9bb747bb1db33783bdc2ef3a3b4a146b7b?branch=epel10

Log:
Initial import

---
diff --git a/.gitignore b/.gitignore
index e69de29..fd2dc42 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+ranger-1.1.2.tar.gz

diff --git a/0001-Remove-the-shebang-line-from-the-__main__.py-file.patch b/0001-Remove-the-shebang-line-from-the-__main__.py-file.patch
new file mode 100644
index 0000000..83084ad
--- /dev/null
+++ b/0001-Remove-the-shebang-line-from-the-__main__.py-file.patch
@@ -0,0 +1,21 @@
+From 181a9f5f5b0a5dcc16512ce68408b7789bce9705 Mon Sep 17 00:00:00 2001
+From: Ben Boeckel <MathStuf@gmail.com>
+Date: Sat, 24 Jul 2010 14:21:06 -0400
+Subject: [PATCH] Remove the shebang line from the __main__.py file
+
+---
+ ranger/__main__.py |    1 -
+ 1 files changed, 0 insertions(+), 1 deletions(-)
+
+diff --git a/ranger/__main__.py b/ranger/__main__.py
+index b3a4177..4a65e06 100644
+--- a/ranger/__main__.py
++++ b/ranger/__main__.py
+@@ -1,4 +1,3 @@
+-#!/usr/bin/env python
+ # coding=utf-8
+ #
+ # Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
+-- 
+1.7.1.1
+

diff --git a/ranger.spec b/ranger.spec
new file mode 100644
index 0000000..4cb1904
--- /dev/null
+++ b/ranger.spec
@@ -0,0 +1,58 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+
+Name:           ranger
+Version:        1.1.2
+Release:        2%{?dist}
+Summary:        A flexible console file manager
+
+Group:          Development/Languages
+License:        GPLv3+
+URL:            http://savannah.nongnu.org/projects/ranger/
+Source0:        http://nongnu.askapache.com/%{name}/releases/%{name}-%{version}.tar.gz
+# Upstreamed: https://savannah.nongnu.org/bugs/index.php?30533
+Patch100:       0001-Remove-the-shebang-line-from-the-__main__.py-file.patch
+
+BuildArch:      noarch
+BuildRequires:  python2-devel
+
+%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.
+
+
+%prep
+%setup -q
+%patch100 -p1 -b .remove-shebang
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING CHANGELOG README TODO
+%{_bindir}/ranger
+%{python_sitelib}/*
+%{_mandir}/man1/ranger.1.gz
+
+
+%changelog
+* Sat Jul 24 2010 Ben Boeckel <mathstuf@gmail.com> - 1.1.2-2
+- Add patch to remove shebang line
+- BR python2-devel
+
+* Fri Jul 23 2010 Ben Boeckel <mathstuf@gmail.com> - 1.1.2-1
+- Initial package

diff --git a/sources b/sources
index e69de29..abd0dc0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+37549bf2d6b9086502745730fc8fbb30  ranger-1.1.2.tar.gz

                 reply	other threads:[~2026-06-10  3:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178106123759.1.6751058268060203459.rpms-ranger-e5920c9bb747@fedoraproject.org \
    --to=mathstuf@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox