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