!2 add desktop file and icon
From: @dou33 Reviewed-by: @tanyulong2021 Signed-off-by: @tanyulong2021
This commit is contained in:
commit
0c10182ea7
16
pycharm-community.desktop
Normal file
16
pycharm-community.desktop
Normal file
@ -0,0 +1,16 @@
|
||||
[Desktop Entry]
|
||||
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
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=/opt/pycharm-community-2016.2.3/bin/pycharm.png
|
||||
MimeType=text/x-script.phyton;
|
||||
StartupNotify=true
|
||||
Categories=GTK;Development;
|
||||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
||||
X-GNOME-Bugzilla-Product=PyCharm
|
||||
X-GNOME-Bugzilla-Component=general
|
||||
X-Desktop-File-Install-Version=3.0.2
|
||||
@ -2,17 +2,17 @@
|
||||
|
||||
Name: pycharm-community
|
||||
Version: 2016.2.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Intelligent Python IDE
|
||||
Group: Applications/Development
|
||||
License: Apache2
|
||||
Group: Applications/Development
|
||||
License: Apache2
|
||||
URL: http://www.jetbrains.com/pycharm/
|
||||
Source0: http://download.jetbrains.com/python/%{name}-%{version}.tar.gz
|
||||
#Source1: pycharm.xml
|
||||
#Source2: pycharm.desktop
|
||||
BuildRequires: desktop-file-utils
|
||||
Requires: java
|
||||
Autoreq:no
|
||||
Source0: http://download.jetbrains.com/python/%{name}-%{version}.tar.gz
|
||||
#Source1: pycharm.xml
|
||||
Source1: pycharm-community.desktop
|
||||
BuildRequires: desktop-file-utils
|
||||
Requires: java
|
||||
Autoreq: no
|
||||
|
||||
%description
|
||||
The intelligent Python IDE with unique code assistance and analysis,
|
||||
@ -25,12 +25,19 @@ for productive Python development on all levels
|
||||
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/
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
#%%{_bindir}/pycharm
|
||||
/opt/*
|
||||
%{_datadir}/applications/pycharm-community.desktop
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user