pycharm-community/pycharm-community.spec
2021-09-24 10:09:29 +08:00

53 lines
1.4 KiB
RPMSpec

%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
Name: pycharm-community
Version: 2021.2.2
Release: 1
Summary: Intelligent Python IDE
Group: Applications/Development
License: Apache2
URL: http://www.jetbrains.com/pycharm/
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
%description
The intelligent Python IDE with unique code assistance and analysis,
for productive Python development on all levels
%prep
%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 %{SOURCE4} %{buildroot}/usr/share/applications/
%files
%defattr(-,root,root)
#%%{_bindir}/pycharm
/opt/*
%{_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
* Sat Aug 14 2021 tanyulong<tanyulong@kylinos.cn> -2016.2.3
- initial pycharm-community-2016.2.3