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
X-GNOME-FullName=PyCharm Community
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
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;
StartupNotify=true
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')
Name: pycharm-community
Version: 2016.2.3
Release: 2
Version: 2021.2.2
Release: 1
Summary: Intelligent Python IDE
Group: Applications/Development
License: Apache2
URL: http://www.jetbrains.com/pycharm/
Source0: http://download.jetbrains.com/python/%{name}-%{version}.tar.gz
#Source1: pycharm.xml
Source1: pycharm-community.desktop
Source0: pycharm-community-jbr.tar.gz
Source1: pycharm-community-lib.tar.gz
Source2: pycharm-community-other.tar.gz
Source3: pycharm-community-plugin.tar.gz
Source4: pycharm-community.desktop
BuildRequires: desktop-file-utils
Requires: java
Autoreq: no
@ -19,14 +21,18 @@ The intelligent Python IDE with unique code assistance and analysis,
for productive Python development on all levels
%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
export QA_RPATHS=$(( 0x0004|0x0008 ))
mkdir -p %{buildroot}/opt/
cp -r %{_builddir}/pycharm-community-%{version} %{buildroot}/opt/
mkdir -p %{buildroot}/usr/share/applications/
cp -r %{SOURCE1} %{buildroot}/usr/share/applications/
cp -r %{SOURCE4} %{buildroot}/usr/share/applications/
%files
@ -36,6 +42,9 @@ cp -r %{SOURCE1} %{buildroot}/usr/share/applications/
%{_datadir}/applications/pycharm-community.desktop
%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
- add desktop file and icon