diff --git a/ranger.spec b/ranger.spec index c12a6ba..1ba0b94 100644 --- a/ranger.spec +++ b/ranger.spec @@ -1,35 +1,48 @@ +# Copyright (c) 2013 Pascal Bleser +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ + # vim: set sw=4 ts=4 et nu: %{!?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.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 >= 2.5.1 +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 >= 2.5.1 %if 0%{?suse_version} -BuildRequires: update-desktop-files +BuildRequires: update-desktop-files %endif -Requires: file +Requires: file %if 0%{?suse_version} -Recommends: atool -Recommends: mediainfo -Recommends: w3m -Recommends: highlight +Recommends: atool +Recommends: mediainfo +Recommends: w3m +Recommends: highlight %else -BuildRequires: atool -Requires: atool +BuildRequires: atool +Requires: atool %endif %if 0%{?suse_version} >= 1120 -BuildArch: noarch +BuildArch: noarch %endif %if 0%{?suse_version} %py_requires