Adjust summaries and descriptions

This commit is contained in:
Petr Viktorin 2017-08-14 14:35:38 +02:00
parent a0cd36ddc8
commit 42986b18c0
1 changed files with 18 additions and 46 deletions

View File

@ -123,12 +123,11 @@
# ================== # ==================
# Top-level metadata # Top-level metadata
# ================== # ==================
Summary: Version 3 of the Python programming language aka Python 3000 Summary: A Python interpreter for basic system tools
Name: platform-python Name: platform-python
Version: %{pybasever}.2 Version: %{pybasever}.2
Release: 9%{?dist} Release: 9%{?dist}
License: Python License: Python
Group: Development/Languages
# ======================= # =======================
@ -428,25 +427,11 @@ Provides: bundled(python3-setuptools) = 28.8.0
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description %description
Python is an interpreted, interactive, object-oriented programming Python interpreter for low-level system tools, designed to work with
language often compared to Tcl, Perl, Scheme or Java. Python includes the Platform module.
modules, classes, exceptions, very high level dynamic data types
and dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac and MFC).
Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that
need a programmable interface.
Note that documentation for Python is provided in the python3-docs package.
This package provides the "python3" executable; most of the actual
implementation is within the "python3-libs" and "system-python-libs" packages.
%package libs %package libs
Summary: Python runtime libraries Summary: Platform Python runtime libraries
Group: Development/Libraries
# expat 2.1.0 added the symbol XML_SetHashSalt without bumping SONAME. We use # expat 2.1.0 added the symbol XML_SetHashSalt without bumping SONAME. We use
# this symbol (in pyexpat), so we must explicitly state this dependency to # this symbol (in pyexpat), so we must explicitly state this dependency to
@ -460,14 +445,13 @@ Requires: expat >= 2.1.0
Requires: glibc%{?_isa} >= 2.24.90-26 Requires: glibc%{?_isa} >= 2.24.90-26
%description libs %description libs
This package contains runtime libraries for use by Python: This package contains runtime libraries for use by Platform Python:
- the libpython dynamic library, for use by applications that embed Python as - the libpython dynamic library for embedding Platform Python as
a scripting language, and by the main "python3" executable a scripting language, and the main platform-python executable
- the Python standard library - the Python standard library
%package libs-devel %package libs-devel
Summary: Python runtime libraries Summary: Platform Python runtime libraries
Group: Development/Libraries
# expat 2.1.0 added the symbol XML_SetHashSalt without bumping SONAME. We use # expat 2.1.0 added the symbol XML_SetHashSalt without bumping SONAME. We use
# this symbol (in pyexpat), so we must explicitly state this dependency to # this symbol (in pyexpat), so we must explicitly state this dependency to
@ -476,14 +460,13 @@ Group: Development/Libraries
Requires: expat >= 2.1.0 Requires: expat >= 2.1.0
%description libs-devel %description libs-devel
This package contains runtime libraries for use by Python: This package contains runtime libraries for use by Platform Python:
- the libpython dynamic library, for use by applications that embed Python as - the libpython dynamic library for embedding Platform Python as
a scripting language, and by the main "python3" executable a scripting language, and the main platform-python executable
- the Python standard library - the Python standard library
%package devel %package devel
Summary: Libraries and header files needed for Python development Summary: Libraries and header files needed for Platform Python development
Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-libs-devel%{?_isa} = %{version}-%{release} Requires: %{name}-libs-devel%{?_isa} = %{version}-%{release}
@ -495,17 +478,11 @@ Requires: python3-rpm-generators
%description devel %description devel
The Python programming language's interpreter can be extended with The Python programming language's interpreter can be extended with
dynamically loaded extensions and can be embedded in other programs. dynamically loaded extensions and can be embedded in other programs.
This package contains the header files and libraries needed to do This package contains the header files and libraries needed to build tools
these types of tasks. that extend or embed Platform Python.
Install python3-devel if you want to develop Python extensions. The
python3 package will also need to be installed. You'll probably also
want to install the python3-docs package, which contains Python
documentation.
%package tools %package tools
Summary: A collection of tools included with Python Summary: A collection of tools included with Platform Python
Group: Development/Tools
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-tkinter = %{version}-%{release} Requires: %{name}-tkinter = %{version}-%{release}
@ -513,17 +490,15 @@ Requires: %{name}-tkinter = %{version}-%{release}
This package contains several tools included with Python This package contains several tools included with Python
%package tkinter %package tkinter
Summary: A GUI toolkit for Python Summary: A GUI toolkit for Platform Python
Group: Development/Languages
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
%description tkinter %description tkinter
The Tkinter (Tk interface) program is a graphical user interface for The Tkinter (Tk interface) program is a graphical user interface for
the Python scripting language. Platform Python.
%package test %package test
Summary: The test modules from the main python3 package Summary: Self-test suite form Platform Python
Group: Development/Languages
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-tools = %{version}-%{release} Requires: %{name}-tools = %{version}-%{release}
@ -532,9 +507,6 @@ The test modules from the main %{name} package.
These are in a separate package to save space, as they are almost never used These are in a separate package to save space, as they are almost never used
in production. in production.
You might want to install the python3-test package if you're developing
python code that uses more than just unittest and/or test_support.py.
# ====================================================== # ======================================================
# The prep phase of the build: # The prep phase of the build: