-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpycharm-community-plugins.spec
330 lines (247 loc) · 13.5 KB
/
pycharm-community-plugins.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
# setting some global constants
%global appname pycharm-community
%global plugins_dir plugins
# disable debuginfo subpackage
%global debug_package %{nil}
# Disable build-id symlinks to avoid conflicts
%global _build_id_links none
# don't strip bundled binaries
%global __strip /bin/true
# dont repack jars
%global __jar_repack %{nil}
# disable rpath checks
%define __brp_check_rpaths %{nil}
# do not bytecompile python scripts
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
# do not automatically detect and export provides and dependencies on bundled libraries and executables
%global __provides_exclude_from %{_javadir}/%{appname}/%{plugins_dir}/.*
%global __requires_exclude_from %{_javadir}/%{appname}/%{plugins_dir}/.*
# https://plugins.jetbrains.com/plugin/8183-gitlink/versions
%global repmapper_version 4.5.2
%global repmapper_id 599893
%global repmapper_name GitLink
%global repmapper_archive %{repmapper_name}-%{repmapper_version}
# https://plugins.jetbrains.com/plugin/7792-yaml-ansible-support/versions # The latest support 2022.1.4
%global ansible_version 0.11.2
%global ansible_id 100135
%global ansible_name intellij-ansible
%global ansible_archive %{ansible_name}-%{ansible_version}
# https://plugins.jetbrains.com/plugin/12552-rpm-spec-file/versions
%global rpm_spec_file_version 2.2.0
%global rpm_spec_file_id 373650
%global rpm_spec_file_name intellij-rpmspec
%global rpm_spec_file_archive %{rpm_spec_file_name}-%{rpm_spec_file_version}
# https://plugins.jetbrains.com/plugin/7724-docker/versions
%global docker_integration_version 243.22562.74
%global docker_integration_id 640921
%global docker_integration_name clouds-docker-impl
%global docker_integration_archive %{docker_integration_name}-%{docker_integration_version}
# https://plugins.jetbrains.com/plugin/164-ideavim/versions
%global ideavim_version 2.17.0
%global ideavim_id 635855
%global ideavim_name IdeaVIM
%global ideavim_archive %{ideavim_name}-%{ideavim_version}
# https://plugins.jetbrains.com/plugin/6981-ini/versions
%global ini_version 243.22562.74
%global ini_id 640935
%global ini_name ini
%global ini_archive %{ini_name}-%{ini_version}
# https://plugins.jetbrains.com/plugin/7566-settings-repository/versions
%global settings_repository_version 243.21565.122
%global settings_repository_id 630048
%global settings_repository_name settingsRepository
%global settings_repository_archive %{settings_repository_name}-%{settings_repository_version}
# https://plugins.jetbrains.com/plugin/7495--ignore/versions
%global ignore_plugin_version 4.5.4
%global ignore_plugin_id 619859
%global ignore_plugin_name ignore
%global ignore_plugin_archive ignore-%{ignore_plugin_version}
Name: %{appname}-plugins
Version: 2024.3
Release: 4%{?dist}
Summary: Plugins for intelligent Python IDE
License: Apache-2.0
URL: http://www.jetbrains.com/pycharm/
Source0: https://github.com/phracek/pycharm-community-edition/raw/master/copr-workaround.tar.xz
Source1: https://plugins.jetbrains.com/files/8183/%{repmapper_id}/%{repmapper_archive}.zip#/%{repmapper_name}-%{repmapper_version}.zip
Source2: https://plugins.jetbrains.com/files/7792/%{ansible_id}/%{ansible_archive}.zip#/%{ansible_name}-%{ansible_version}.zip
Source3: https://plugins.jetbrains.com/files/12552/%{rpm_spec_file_id}/%{rpm_spec_file_archive}.zip#/%{rpm_spec_file_name}-%{rpm_spec_file_version}.zip
Source4: https://plugins.jetbrains.com/files/7724/%{docker_integration_id}/%{docker_integration_archive}.zip#/%{docker_integration_name}-%{docker_integration_version}.zip
Source5: https://plugins.jetbrains.com/files/164/%{ideavim_id}/%{ideavim_archive}.zip#/%{ideavim_name}-%{ideavim_version}.zip
Source6: https://plugins.jetbrains.com/files/6981/%{ini_id}/%{ini_archive}.zip#/%{ini_name}-%{ini_version}.zip
Source7: https://plugins.jetbrains.com/files/7566/%{settings_repository_id}/%{settings_repository_archive}.zip#/%{settings_repository_name}-%{settings_repository_version}.zip
Source8: https://plugins.jetbrains.com/files/7495/%{ignore_plugin_id}/%{ignore_plugin_archive}.zip#/%{ignore_plugin_name}-%{ignore_plugin_version}.zip
#Source9: https://plugins.jetbrains.com/files/1800/%{dbnavigator_id}/%{dbnavigator_archive}.zip#/%{dbnavigator_name}-%{dbnavigator_version}.zip
%if 0%{?rhel} && 0%{?rhel} <= 7
BuildRequires: javapackages-tools
%else
BuildRequires: javapackages-filesystem
%endif
Requires: %{appname}%{?_isa} = %{?epoch:%{epoch}:}%{version}
ExclusiveArch: x86_64
%description
Intelligent Python IDE contains several plugins. This package
contains plugins like RemoteRepositoryMapper, GoLang, SPEC,
Idea Markdown, Intellij Ansible, GitLab integration plugin, etc.
%prep
%setup -q -c -n %{appname}-%{version} -T
%setup -q -n %{appname}-%{version} -D -T -a 1
%setup -q -n %{appname}-%{version} -D -T -a 2
%setup -q -n %{appname}-%{version} -D -T -a 3
%setup -q -n %{appname}-%{version} -D -T -a 4
%setup -q -n %{appname}-%{version} -D -T -a 5
%setup -q -n %{appname}-%{version} -D -T -a 6
%setup -q -n %{appname}-%{version} -D -T -a 7
%setup -q -n %{appname}-%{version} -D -T -a 8
%install
mkdir -p %{buildroot}%{_javadir}/%{appname}/%{plugins_dir}
# Move all plugins to /usr/share/java/pycharm-community/plugins directory
cp -arf ./%{repmapper_name} %{buildroot}%{_javadir}/%{appname}/%{plugins_dir}/
cp -arf ./%{ansible_name} %{buildroot}%{_javadir}/%{appname}/%{plugins_dir}/
cp -arf ./%{rpm_spec_file_name} %{buildroot}%{_javadir}/%{appname}/%{plugins_dir}/
cp -arf ./%{docker_integration_name} %{buildroot}%{_javadir}/%{appname}/%{plugins_dir}/
cp -arf ./%{ideavim_name} %{buildroot}%{_javadir}/%{appname}/%{plugins_dir}/
cp -arf ./%{ini_name} %{buildroot}%{_javadir}/%{appname}/%{plugins_dir}/
cp -arf ./%{settings_repository_name} %{buildroot}%{_javadir}/%{appname}/%{plugins_dir}/
cp -arf ./%{ignore_plugin_name} %{buildroot}%{_javadir}/%{appname}/%{plugins_dir}/
%files
%{_javadir}/%{appname}/%{plugins_dir}/%{repmapper_name}
%{_javadir}/%{appname}/%{plugins_dir}/%{ansible_name}
%{_javadir}/%{appname}/%{plugins_dir}/%{rpm_spec_file_name}
%{_javadir}/%{appname}/%{plugins_dir}/%{docker_integration_name}
%{_javadir}/%{appname}/%{plugins_dir}/%{ideavim_name}
%{_javadir}/%{appname}/%{plugins_dir}/%{ini_name}
%{_javadir}/%{appname}/%{plugins_dir}/%{settings_repository_name}
%{_javadir}/%{appname}/%{plugins_dir}/%{ignore_plugin_name}
%changelog
- Fix changelog
- add global debug_package directive
- Fix plugins
- Update plugins to latest supported release
- Rust is deprecated
- Fix import sources for ppc64le
- Add support for ppc64le
- Fix typo in changelog
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Fixed dependency issue on EPEL.
- Updated plugins to latest supported releases.
- Removed GitToolBox plugin (requires a paid subscription now).
- Added Settings Repository plugin.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated to latest snapshot.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Removed no longer supported by upstream plugins.
- Updated plugins to latest supported releases.
- Rebuilt.
- Added png icons to resolve https://pagure.io/copr/copr/issue/2039.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Fixed issue with multilib on Fedora 35+.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Fixed issues with native indexer.
- Removed more bundled trialware plugins.
- Fixed issue with dependencies.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Removed obsolete GitLab integration plugin.
- Added RPM SPEC File plugin.
- Fixed Rawhide build.
- Updated plugins to latest supported releases.
- Removed trialware plugin CodeWithMe.
- Allow simultaneous installation of Community and Professional editions.
- Updated plugins to latest supported releases.
- Marked plugins subpackage as arch-dependent.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Fixed issue with the plugins subpackage.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Fix typo in pycharm-community.app.xml file
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Updated plugins to latest supported releases.
- Removed duplicates.
- Updated plugins to latest supported releases.