pycharm-community/pycharm-community.spec

59 lines
1.6 KiB
RPMSpec
Raw Normal View History

2022-05-27 10:11:05 +08:00
%global __os_install_post %{nil}
2021-08-23 10:10:35 +08:00
Name: pycharm-community
2021-09-24 10:09:29 +08:00
Version: 2021.2.2
Release: 3
2021-08-23 10:10:35 +08:00
Summary: Intelligent Python IDE
2021-09-10 15:38:18 +08:00
Group: Applications/Development
License: GPLv2 and EPL-1.0 and MIT and Apache-1.1 and LGPLv2+ and Apache-2.0 and EPL-2.0
2021-08-23 10:10:35 +08:00
URL: http://www.jetbrains.com/pycharm/
2021-09-24 10:09:29 +08:00
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
2021-09-10 15:38:18 +08:00
BuildRequires: desktop-file-utils
Requires: java
Autoreq: no
2021-08-23 10:10:35 +08:00
%description
The intelligent Python IDE with unique code assistance and analysis,
for productive Python development on all levels
%prep
2021-09-24 10:09:29 +08:00
%setup -T -q -b 0
%setup -T -D -q -b 1
%setup -T -D -q -b 2
%setup -T -D -q -b 3
2021-08-23 10:10:35 +08:00
%install
2021-09-24 10:09:29 +08:00
export QA_RPATHS=$(( 0x0004|0x0008 ))
2021-08-23 10:10:35 +08:00
mkdir -p %{buildroot}/opt/
cp -r %{_builddir}/pycharm-community-%{version} %{buildroot}/opt/
2021-09-10 15:38:18 +08:00
mkdir -p %{buildroot}/usr/share/applications/
2021-09-24 10:09:29 +08:00
cp -r %{SOURCE4} %{buildroot}/usr/share/applications/
2021-09-10 15:38:18 +08:00
2021-08-23 10:10:35 +08:00
%files
%defattr(-,root,root)
#%%{_bindir}/pycharm
/opt/*
2021-09-10 15:38:18 +08:00
%{_datadir}/applications/pycharm-community.desktop
2021-08-23 10:10:35 +08:00
%changelog
* Fri May 27 2022 tanyulong<tanyulong@kylinos.cn> - 2021.2.2-3
- Improve the project according to the requirements of compliance improvement
2022-05-27 10:11:05 +08:00
* Wed Feb 24 2021 douyan<douyan@kylinos.cn> -2021.2.2-2
- fix compile issue
2021-09-24 10:09:29 +08:00
* Thu Sep 23 2021 douyan<douyan@kylinos.cn> -2021.2.2-1
- update to version 2021.2.2
2021-09-10 15:38:18 +08:00
* Fri Sep 10 2021 douyan<douyan@kylinos.cn> -2016.2.3-2
- add desktop file and icon
2021-08-23 10:10:35 +08:00
* Sat Aug 14 2021 tanyulong<tanyulong@kylinos.cn> -2016.2.3
- initial pycharm-community-2016.2.3