mirror of
https://abf.rosa.ru/djam/python38.git
synced 2025-02-23 15:22:50 +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
|
||||
Name: python3
|
||||
Version: 3.4.1
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: Modified CNRI Open Source License
|
||||
Group: Development/Python
|
||||
|
||||
|
@ -270,10 +270,12 @@ install Misc/valgrind-python.supp -D %{buildroot}%{_libdir}/valgrind/valgrind-py
|
|||
%endif
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/applications
|
||||
cat > %{buildroot}%{_datadir}/applications/mandriva-tkinter3.desktop << EOF
|
||||
cat > %{buildroot}%{_datadir}/applications/rosa-tkinter3.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Name=IDLE
|
||||
Name[ru]=IDLE
|
||||
Comment=IDE for Python3
|
||||
Comment[ru]=IDE для Python3
|
||||
Exec=%{_bindir}/idle3
|
||||
Icon=development_environment_section
|
||||
Terminal=false
|
||||
|
@ -282,10 +284,12 @@ Categories=Development;IDE;
|
|||
EOF
|
||||
|
||||
|
||||
cat > %{buildroot}%{_datadir}/applications/mandriva-%{name}-docs.desktop << EOF
|
||||
cat > %{buildroot}%{_datadir}/applications/rosa-%{name}-docs.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Name=Python documentation
|
||||
Name[ru]=Документация Python
|
||||
Comment=Python complete reference
|
||||
Comment[ru]=Полная документация Python
|
||||
Exec=%{_bindir}/xdg-open %{_defaultdocdir}/%{name}-docs/index.html
|
||||
Icon=documentation_section
|
||||
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/easy_install.py
|
||||
%{_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/pip-*.dist-info
|
||||
%endif
|
||||
|
@ -437,7 +441,7 @@ install -m644 %{SOURCE5} -D %{buildroot}%{_libdir}/python%{dirver}/distutils/com
|
|||
|
||||
%files docs
|
||||
%doc html/*/*
|
||||
%{_datadir}/applications/mandriva-%{name}-docs.desktop
|
||||
%{_datadir}/applications/rosa-%{name}-docs.desktop
|
||||
|
||||
%files -n tkinter3
|
||||
%{_libdir}/python*/tkinter/
|
||||
|
@ -448,4 +452,4 @@ install -m644 %{SOURCE5} -D %{buildroot}%{_libdir}/python%{dirver}/distutils/com
|
|||
%files -n tkinter3-apps
|
||||
%{_bindir}/idle3*
|
||||
%{_bindir}/pynche3
|
||||
%{_datadir}/applications/mandriva-tkinter3.desktop
|
||||
%{_datadir}/applications/rosa-tkinter3.desktop
|
||||
|
|
Loading…
Add table
Reference in a new issue