diff --git a/pycharm-community-2016.2.3.tar.gz b/pycharm-community-jbr.tar.gz similarity index 75% rename from pycharm-community-2016.2.3.tar.gz rename to pycharm-community-jbr.tar.gz index adc3491..0a14255 100644 Binary files a/pycharm-community-2016.2.3.tar.gz and b/pycharm-community-jbr.tar.gz differ diff --git a/pycharm-community-lib.tar.gz b/pycharm-community-lib.tar.gz new file mode 100644 index 0000000..e3dc1d5 Binary files /dev/null and b/pycharm-community-lib.tar.gz differ diff --git a/pycharm-community-other.tar.gz b/pycharm-community-other.tar.gz new file mode 100644 index 0000000..a9fcdbb Binary files /dev/null and b/pycharm-community-other.tar.gz differ diff --git a/pycharm-community-plugin.tar.gz b/pycharm-community-plugin.tar.gz new file mode 100644 index 0000000..6fe13a7 Binary files /dev/null and b/pycharm-community-plugin.tar.gz differ diff --git a/pycharm-community.desktop b/pycharm-community.desktop index fc78ee3..786c486 100644 --- a/pycharm-community.desktop +++ b/pycharm-community.desktop @@ -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; diff --git a/pycharm-community.spec b/pycharm-community.spec index a55910a..1a68d7c 100644 --- a/pycharm-community.spec +++ b/pycharm-community.spec @@ -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 -2021.2.2-1 +- update to version 2021.2.2 + * Fri Sep 10 2021 douyan -2016.2.3-2 - add desktop file and icon