mirror of
https://abf.rosa.ru/djam/python38.git
synced 2025-02-23 23:32:49 +00:00
Added Russian l10n for desktop files
This commit is contained in:
parent
9f2027e950
commit
f5332f3516
1 changed files with 10 additions and 6 deletions
16
python3.spec
16
python3.spec
|
@ -15,7 +15,7 @@
|
||||||
Summary: An interpreted, interactive object-oriented programming language
|
Summary: An interpreted, interactive object-oriented programming language
|
||||||
Name: python3
|
Name: python3
|
||||||
Version: 3.4.1
|
Version: 3.4.1
|
||||||
Release: 1
|
Release: 2
|
||||||
License: Modified CNRI Open Source License
|
License: Modified CNRI Open Source License
|
||||||
Group: Development/Python
|
Group: Development/Python
|
||||||
|
|
||||||
|
@ -270,10 +270,12 @@ 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/mandriva-tkinter3.desktop << EOF
|
cat > %{buildroot}%{_datadir}/applications/rosa-tkinter3.desktop << EOF
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=IDLE
|
Name=IDLE
|
||||||
|
Name[ru]=IDLE
|
||||||
Comment=IDE for Python3
|
Comment=IDE for Python3
|
||||||
|
Comment[ru]=IDE для Python3
|
||||||
Exec=%{_bindir}/idle3
|
Exec=%{_bindir}/idle3
|
||||||
Icon=development_environment_section
|
Icon=development_environment_section
|
||||||
Terminal=false
|
Terminal=false
|
||||||
|
@ -282,10 +284,12 @@ Categories=Development;IDE;
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
||||||
cat > %{buildroot}%{_datadir}/applications/mandriva-%{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
|
||||||
Comment=Python complete reference
|
Comment=Python complete reference
|
||||||
|
Comment[ru]=Полная документация Python
|
||||||
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
|
||||||
|
@ -413,7 +417,7 @@ install -m644 %{SOURCE5} -D %{buildroot}%{_libdir}/python%{dirver}/distutils/com
|
||||||
%{_prefix}/lib/python%{dirver}/site-packages/pkg_resources.py
|
%{_prefix}/lib/python%{dirver}/site-packages/pkg_resources.py
|
||||||
%{_prefix}/lib/python%{dirver}/site-packages/easy_install.py
|
%{_prefix}/lib/python%{dirver}/site-packages/easy_install.py
|
||||||
%{_prefix}/lib/python%{dirver}/site-packages/pip
|
%{_prefix}/lib/python%{dirver}/site-packages/pip
|
||||||
%{_prefix}/lib/python%{dirver}/site-packages/setuptools*
|
# %{_prefix}/lib/python%{dirver}/site-packages/setuptools*
|
||||||
%{_prefix}/lib/python%{dirver}/site-packages/_markerlib
|
%{_prefix}/lib/python%{dirver}/site-packages/_markerlib
|
||||||
%{_prefix}/lib/python%{dirver}/site-packages/pip-*.dist-info
|
%{_prefix}/lib/python%{dirver}/site-packages/pip-*.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
@ -437,7 +441,7 @@ install -m644 %{SOURCE5} -D %{buildroot}%{_libdir}/python%{dirver}/distutils/com
|
||||||
|
|
||||||
%files docs
|
%files docs
|
||||||
%doc html/*/*
|
%doc html/*/*
|
||||||
%{_datadir}/applications/mandriva-%{name}-docs.desktop
|
%{_datadir}/applications/rosa-%{name}-docs.desktop
|
||||||
|
|
||||||
%files -n tkinter3
|
%files -n tkinter3
|
||||||
%{_libdir}/python*/tkinter/
|
%{_libdir}/python*/tkinter/
|
||||||
|
@ -448,4 +452,4 @@ install -m644 %{SOURCE5} -D %{buildroot}%{_libdir}/python%{dirver}/distutils/com
|
||||||
%files -n tkinter3-apps
|
%files -n tkinter3-apps
|
||||||
%{_bindir}/idle3*
|
%{_bindir}/idle3*
|
||||||
%{_bindir}/pynche3
|
%{_bindir}/pynche3
|
||||||
%{_datadir}/applications/mandriva-tkinter3.desktop
|
%{_datadir}/applications/rosa-tkinter3.desktop
|
||||||
|
|
Loading…
Add table
Reference in a new issue