|
| 1 | +Name: ranger |
| 2 | +Version: 1.9.2 |
| 3 | +Release: 4%{?dist} |
| 4 | +Summary: A vim-like file manager |
| 5 | +License: GPLv3+ |
| 6 | +URL: https://ranger.github.io/ |
| 7 | +Source0: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz |
| 8 | + |
| 9 | +BuildArch: noarch |
| 10 | +BuildRequires: desktop-file-utils |
| 11 | +BuildRequires: python3-devel |
| 12 | +BuildRequires: python3-setuptools |
| 13 | +#Suggests: w3m-img |
| 14 | + |
| 15 | +%description |
| 16 | +Ranger is a free console file manager that gives you greater flexibility and a |
| 17 | +good overview of your files without having to leave your *nix console. It |
| 18 | +visualizes the directory tree in two dimensions: the directory hierarchy on |
| 19 | +one, lists of files on the other, with a preview to the right so you know where |
| 20 | +you'll be going. |
| 21 | + |
| 22 | + |
| 23 | +%prep |
| 24 | +%autosetup |
| 25 | +sed -i -e '1d;2i#!/usr/bin/python3' %{name}.py |
| 26 | + |
| 27 | + |
| 28 | +%build |
| 29 | +%py3_build |
| 30 | + |
| 31 | + |
| 32 | +%install |
| 33 | +%py3_install |
| 34 | +desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop |
| 35 | +mv %{buildroot}%{_pkgdocdir} _doc |
| 36 | +find _doc -type f -exec chmod -R -x '{}' \; |
| 37 | + |
| 38 | + |
| 39 | +%files |
| 40 | +%license LICENSE |
| 41 | +%doc _doc/* |
| 42 | +%{_bindir}/ranger |
| 43 | +%{_bindir}/rifle |
| 44 | +%{python3_sitelib}/* |
| 45 | +%{_datadir}/applications/ranger.desktop |
| 46 | +%{_mandir}/man1/ranger.1* |
| 47 | +%{_mandir}/man1/rifle.1* |
| 48 | + |
| 49 | + |
| 50 | +%changelog |
| 51 | +* Fri Jul 26 2019 Fedora Release Engineering <[email protected]> - 1.9.2-4 |
| 52 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
| 53 | + |
| 54 | +* Sat Feb 02 2019 Fedora Release Engineering <[email protected]> - 1.9.2-3 |
| 55 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
| 56 | + |
| 57 | +* Sun Oct 21 2018 Filipe Rosset <[email protected]> - 1.9.2-2 |
| 58 | +- spec modernization thanks to Filip Szymański <[email protected]> |
| 59 | +- fixes rhbz #1592733 #1408563 #1495481 and #1559823 |
| 60 | + |
| 61 | +* Sun Oct 21 2018 Filipe Rosset <[email protected]> - 1.9.2-1 |
| 62 | +- update to latest version + spec cleanup, fixes rhbz #1408563 |
| 63 | + |
| 64 | +* Sat Jul 14 2018 Fedora Release Engineering <[email protected]> - 1.7.2-10 |
| 65 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
| 66 | + |
| 67 | +* Tue Jun 19 2018 Miro Hrončok <[email protected]> - 1.7.2-9 |
| 68 | +- Rebuilt for Python 3.7 |
| 69 | + |
| 70 | +* Fri Feb 09 2018 Fedora Release Engineering <[email protected]> - 1.7.2-8 |
| 71 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
| 72 | + |
| 73 | +* Thu Jul 27 2017 Fedora Release Engineering <[email protected]> - 1.7.2-7 |
| 74 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
| 75 | + |
| 76 | +* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 1.7.2-6 |
| 77 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
| 78 | + |
| 79 | +* Mon Dec 19 2016 Miro Hrončok <[email protected]> - 1.7.2-5 |
| 80 | +- Rebuild for Python 3.6 |
| 81 | + |
| 82 | +* Tue Jul 19 2016 Fedora Release Engineering <[email protected]> - 1.7.2-4 |
| 83 | +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages |
| 84 | + |
| 85 | +* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> - 1.7.2-3 |
| 86 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
| 87 | + |
| 88 | +* Tue Nov 10 2015 Fedora Release Engineering <[email protected]> - 1.7.2-2 |
| 89 | +- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 |
| 90 | + |
| 91 | +* Tue Oct 13 2015 Ben Boeckel <[email protected]> - 1.7.2-1 |
| 92 | +- update to 1.7.2 |
| 93 | + |
| 94 | +* Wed Sep 30 2015 Ben Boeckel <[email protected]> - 1.7.1-3 |
| 95 | +- run find on the right directory |
| 96 | + |
| 97 | +* Tue Sep 29 2015 Ben Boeckel <[email protected]> - 1.7.1-2 |
| 98 | +- remove executable bits from docs |
| 99 | +- remove defattr line |
| 100 | + |
| 101 | +* Sat Sep 26 2015 Ben Boeckel <[email protected]> - 1.7.1-1 |
| 102 | +- update to 1.7.1 |
| 103 | + |
| 104 | +* Thu Sep 10 2015 Ben Boeckel <[email protected]> - 1.6.1-7 |
| 105 | +- use python3 |
| 106 | + |
| 107 | +* Thu Jun 18 2015 Fedora Release Engineering <[email protected]> - 1.6.1-6 |
| 108 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
| 109 | + |
| 110 | +* Mon Mar 02 2015 Ben Boeckel <[email protected]> - 1.6.1-5 |
| 111 | +- fix mupdf binary name (rhbz#1186823) |
| 112 | + |
| 113 | +* Sat Dec 13 2014 Ben Boeckel <[email protected]> - 1.6.1-4 |
| 114 | +- Fix the right file (was the source file, but upstream regenerates the |
| 115 | + installed file manually). |
| 116 | + |
| 117 | +* Thu Dec 11 2014 Ben Boeckel <[email protected]> - 1.6.1-3 |
| 118 | +- Fix documentation typo |
| 119 | + |
| 120 | +* Sun Jun 08 2014 Fedora Release Engineering <[email protected]> - 1.6.1-2 |
| 121 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
| 122 | + |
| 123 | +* Sun Sep 29 2013 Remi Collet <[email protected]> - 1.6.1-1 |
| 124 | +- Update to 1.6.1 |
| 125 | +- add rifle command |
| 126 | + |
| 127 | +* Sun Aug 04 2013 Fedora Release Engineering <[email protected]> - 1.4.2-3 |
| 128 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
| 129 | + |
| 130 | +* Thu Feb 14 2013 Fedora Release Engineering <[email protected]> - 1.4.2-2 |
| 131 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
| 132 | + |
| 133 | +* Sun Nov 04 2012 Ben Boeckel <[email protected]> - 1.4.2-1 |
| 134 | +- Update to 1.4.2 |
| 135 | + |
| 136 | +* Sat Jul 21 2012 Fedora Release Engineering <[email protected]> - 1.2.2-4 |
| 137 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
| 138 | + |
| 139 | +* Sat Jan 14 2012 Fedora Release Engineering <[email protected]> - 1.2.2-3 |
| 140 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
| 141 | + |
| 142 | +* Wed Feb 09 2011 Fedora Release Engineering <[email protected]> - 1.2.2-2 |
| 143 | +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
| 144 | + |
| 145 | +* Tue Oct 19 2010 Ben Boeckel <[email protected]> - 1.2.2-1 |
| 146 | +- Update to 1.2.2 |
| 147 | + |
| 148 | +* Sat Jul 24 2010 Ben Boeckel <[email protected]> - 1.1.2-2 |
| 149 | +- Add patch to remove shebang line |
| 150 | +- BR python2-devel |
| 151 | + |
| 152 | +* Fri Jul 23 2010 Ben Boeckel <[email protected]> - 1.1.2-1 |
| 153 | +- Initial package |
0 commit comments