mirror of
https://abf.rosa.ru/djam/python3.11.git
synced 2025-02-23 18:22:52 +00:00
make name of IDLE clearer
This commit is contained in:
parent
1fd4bacb23
commit
bd5206cb87
1 changed files with 15 additions and 17 deletions
|
@ -35,7 +35,7 @@
|
|||
Summary: An interpreted, interactive object-oriented programming language
|
||||
Name: python3.11
|
||||
Version: 3.11.4
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: Modified CNRI Open Source License
|
||||
Group: Development/Python
|
||||
|
||||
|
@ -199,13 +199,14 @@ user interface for Python programming.
|
|||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
%package -n tkinter3.11-apps
|
||||
Summary: Various applications written using tkinter
|
||||
%package idle
|
||||
Summary: IDLE (Python IDE) for Python %{dirver}
|
||||
Group: Development/Python
|
||||
Requires: tkinter3.11
|
||||
Provides: tkinter3.11-apps = %{EVRD}
|
||||
|
||||
%description -n tkinter3.11-apps
|
||||
Various applications written using tkinter
|
||||
%description idle
|
||||
IDLE (Python IDE) for Python %{dirver}
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
@ -287,13 +288,13 @@ install Misc/valgrind-python.supp -D %{buildroot}%{_libdir}/valgrind/valgrind-py
|
|||
%endif
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/applications
|
||||
cat > %{buildroot}%{_datadir}/applications/rosa-tkinter3.11.desktop << EOF
|
||||
cat > %{buildroot}%{_datadir}/applications/idle%{dirver}.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Name=IDLE
|
||||
Name[ru]=IDLE
|
||||
Comment=IDE for Python3
|
||||
Comment[ru]=IDE для Python3
|
||||
Exec=%{_bindir}/idle3
|
||||
Comment=IDE for Python %{dirver}
|
||||
Comment[ru]=IDE для Python %{dirver}
|
||||
Exec=%{_bindir}/idle%{dirver}
|
||||
Icon=development_environment_section
|
||||
Terminal=false
|
||||
Type=Application
|
||||
|
@ -304,9 +305,9 @@ EOF
|
|||
cat > %{buildroot}%{_datadir}/applications/rosa-%{name}-docs.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Name=Python documentation
|
||||
Name[ru]=Документация Python
|
||||
Name[ru]=Документация Python %{dirver}
|
||||
Comment=Python complete reference
|
||||
Comment[ru]=Полное руководство по языку Python
|
||||
Comment[ru]=Полное руководство по языку Python %{dirver}
|
||||
Exec=%{_bindir}/xdg-open %{_defaultdocdir}/%{name}-docs/index.html
|
||||
Icon=documentation_section
|
||||
Terminal=false
|
||||
|
@ -447,9 +448,6 @@ export TMP="/tmp" TMPDIR="/tmp"
|
|||
%{_libdir}/python*/idlelib
|
||||
%{_libdir}/python*/lib-dynload/_tkinter.*.so
|
||||
|
||||
%files -n tkinter3.11-apps
|
||||
%{_bindir}/idle3*
|
||||
%{_datadir}/applications/rosa-tkinter3.11.desktop
|
||||
|
||||
|
||||
|
||||
%files idle
|
||||
%{_bindir}/idle%{dirver}
|
||||
%{_datadir}/applications/idle%{dirver}.desktop
|
||||
|
|
Loading…
Add table
Reference in a new issue