public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ranger] epel10: Initial import
@ 2026-06-10  3:13 Ben Boeckel
  0 siblings, 0 replies; only message in thread
From: Ben Boeckel @ 2026-06-10  3:13 UTC (permalink / raw)
  To: git-commits

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-10  3:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10  3:13 [rpms/ranger] epel10: Initial import Ben Boeckel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox