update to version 2021.2.2

This commit is contained in:
dou33 2021-09-24 10:09:29 +08:00
parent 0c10182ea7
commit 8189b4cf66
6 changed files with 18 additions and 9 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3,10 +3,10 @@ Name=PyCharm Community
GenericName=PyCharm Community GenericName=PyCharm Community
X-GNOME-FullName=PyCharm Community X-GNOME-FullName=PyCharm Community
Comment=Lightweight IDE for Python development Comment=Lightweight IDE for Python development
Exec=/opt/pycharm-community-2016.2.3/bin/pycharm.sh Exec=/opt/pycharm-community-2021.2.2/bin/pycharm.sh
Terminal=false Terminal=false
Type=Application Type=Application
Icon=/opt/pycharm-community-2016.2.3/bin/pycharm.png Icon=/opt/pycharm-community-2021.2.2/bin/pycharm.png
MimeType=text/x-script.phyton; MimeType=text/x-script.phyton;
StartupNotify=true StartupNotify=true
Categories=GTK;Development; Categories=GTK;Development;

View File

@ -1,15 +1,17 @@
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g') %global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
Name: pycharm-community Name: pycharm-community
Version: 2016.2.3 Version: 2021.2.2
Release: 2 Release: 1
Summary: Intelligent Python IDE Summary: Intelligent Python IDE
Group: Applications/Development Group: Applications/Development
License: Apache2 License: Apache2
URL: http://www.jetbrains.com/pycharm/ URL: http://www.jetbrains.com/pycharm/
Source0: http://download.jetbrains.com/python/%{name}-%{version}.tar.gz Source0: pycharm-community-jbr.tar.gz
#Source1: pycharm.xml Source1: pycharm-community-lib.tar.gz
Source1: pycharm-community.desktop Source2: pycharm-community-other.tar.gz
Source3: pycharm-community-plugin.tar.gz
Source4: pycharm-community.desktop
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
Requires: java Requires: java
Autoreq: no Autoreq: no
@ -19,14 +21,18 @@ The intelligent Python IDE with unique code assistance and analysis,
for productive Python development on all levels for productive Python development on all levels
%prep %prep
%setup -q -n pycharm-community-%{version} %setup -T -q -b 0
%setup -T -D -q -b 1
%setup -T -D -q -b 2
%setup -T -D -q -b 3
%install %install
export QA_RPATHS=$(( 0x0004|0x0008 ))
mkdir -p %{buildroot}/opt/ mkdir -p %{buildroot}/opt/
cp -r %{_builddir}/pycharm-community-%{version} %{buildroot}/opt/ cp -r %{_builddir}/pycharm-community-%{version} %{buildroot}/opt/
mkdir -p %{buildroot}/usr/share/applications/ mkdir -p %{buildroot}/usr/share/applications/
cp -r %{SOURCE1} %{buildroot}/usr/share/applications/ cp -r %{SOURCE4} %{buildroot}/usr/share/applications/
%files %files
@ -36,6 +42,9 @@ cp -r %{SOURCE1} %{buildroot}/usr/share/applications/
%{_datadir}/applications/pycharm-community.desktop %{_datadir}/applications/pycharm-community.desktop
%changelog %changelog
* Thu Sep 23 2021 douyan<douyan@kylinos.cn> -2021.2.2-1
- update to version 2021.2.2
* Fri Sep 10 2021 douyan<douyan@kylinos.cn> -2016.2.3-2 * Fri Sep 10 2021 douyan<douyan@kylinos.cn> -2016.2.3-2
- add desktop file and icon - add desktop file and icon