-
Notifications
You must be signed in to change notification settings - Fork 16
/
pycharm-community-plugins.spec
333 lines (253 loc) · 13.9 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
331
332
333
# setting some global constants
%global appname pycharm-community
%global plugins_dir plugins
# 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.4.0
%global repmapper_id 447511
%global repmapper_name GitLink
%global repmapper_archive %{repmapper_name}-%{repmapper_version}
# https://plugins.jetbrains.com/plugin/1800-database-navigator/versions
%global dbnavigator_version 3.4.3073.0
%global dbnavigator_id 492320
%global dbnavigator_name DBNavigator
%global dbnavigator_archive DBN-20.0
# https://plugins.jetbrains.com/plugin/7792-yaml-ansible-support/versions
%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 231.9225.18
%global docker_integration_id 360762
%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.9.1
%global ideavim_id 491097
%global ideavim_name IdeaVim
%global ideavim_archive %{ideavim_name}-%{ideavim_version}-signed
# https://plugins.jetbrains.com/plugin/6981-ini/versions
%global ini_version 233.14015.113
%global ini_id 474956
%global ini_name ini
%global ini_archive %{ini_name}-%{ini_version}
# https://plugins.jetbrains.com/plugin/7566-settings-repository/versions
%global settings_repository_version 233.13135.65
%global settings_repository_id 454475
%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.2
%global ignore_plugin_id 411646
%global ignore_plugin_name .ignore
%global ignore_plugin_archive ignore-%{ignore_plugin_version}
# https://plugins.jetbrains.com/plugin/8182-rust/versions
%global rust_version 233.15445
%global rust_id 466854
%global rust_name intellij-rust
%global rust_archive %{rust_name}-%{rust_version}
Name: %{appname}-plugins
Version: 2023.3.3
Release: 3%{?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/1800/%{dbnavigator_id}/%{dbnavigator_archive}.zip#/%{dbnavigator_name}-%{dbnavigator_version}.zip
Source3: https://plugins.jetbrains.com/files/7792/%{ansible_id}/%{ansible_archive}.zip#/%{ansible_name}-%{ansible_version}.zip
Source4: https://plugins.jetbrains.com/files/12552/%{rpm_spec_file_id}/%{rpm_spec_file_archive}.zip#/%{rpm_spec_file_name}-%{rpm_spec_file_version}.zip
Source5: https://plugins.jetbrains.com/files/7724/%{docker_integration_id}/%{docker_integration_archive}.zip#/%{docker_integration_name}-%{docker_integration_version}.zip
Source6: https://plugins.jetbrains.com/files/164/%{ideavim_id}/%{ideavim_archive}.zip#/%{ideavim_name}-%{ideavim_version}.zip
Source7: https://plugins.jetbrains.com/files/6981/%{ini_id}/%{ini_archive}.zip#/%{ini_name}-%{ini_version}.zip
Source8: https://plugins.jetbrains.com/files/7566/%{settings_repository_id}/%{settings_repository_archive}.zip#/%{settings_repository_name}-%{settings_repository_version}.zip
Source9: https://plugins.jetbrains.com/files/7495/%{ignore_plugin_id}/%{ignore_plugin_archive}.zip#/%{ignore_plugin_name}-%{ignore_plugin_version}.zip
Source10: https://plugins.jetbrains.com/files/8182/%{rust_id}/%{rust_archive}.zip#/%{rust_name}-%{rust_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
%setup -q -n %{appname}-%{version} -D -T -a 9
%setup -q -n %{appname}-%{version} -D -T -a 10
%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 ./%{dbnavigator_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}/
cp -arf ./%{rust_name} %{buildroot}%{_javadir}/%{appname}/%{plugins_dir}/
%files
%{_javadir}/%{appname}/%{plugins_dir}/%{repmapper_name}
%{_javadir}/%{appname}/%{plugins_dir}/%{dbnavigator_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}
%{_javadir}/%{appname}/%{plugins_dir}/%{rust_name}
%changelog
* Mon Mar 04 2024 Petr Hracek <[email protected]> - 2023.3.3-4
- Fix import sources for ppc64le
* Mon Mar 04 2024 Petr Hracek <[email protected]> - 2023.3.3-3
- Add support for ppc64le
* Mon Feb 26 2024 Petr Hracek <[email protected]> - 2023.3.3-2
- Fix typo in changelog
* Mon Feb 26 2024 Petr Hracek <[email protected]> - 2023.3.3-1
- Updated plugins to latest supported releases.
* Thu Jul 13 2023 Vitaly Zaitsev <[email protected]> - 2023.1.4-1
- Updated plugins to latest supported releases.
* Thu Jun 22 2023 Vitaly Zaitsev <[email protected]> - 2023.1.3-1
- Updated plugins to latest supported releases.
* Tue May 23 2023 Vitaly Zaitsev <[email protected]> - 2023.1.2-1
- Updated plugins to latest supported releases.
* Tue Apr 04 2023 Vitaly Zaitsev <[email protected]> - 2023.1-2
- Fixed dependency issue on EPEL.
* Fri Mar 31 2023 Vitaly Zaitsev <[email protected]> - 2023.1-1
- Updated plugins to latest supported releases.
- Removed GitToolBox plugin (requires a paid subscription now).
- Added Settings Repository plugin.
* Tue Mar 14 2023 Vitaly Zaitsev <[email protected]> - 2022.3.3-1
- Updated plugins to latest supported releases.
* Sat Feb 04 2023 Vitaly Zaitsev <[email protected]> - 2022.3.2-1
- Updated plugins to latest supported releases.
* Thu Dec 29 2022 Vitaly Zaitsev <[email protected]> - 2022.3.1-1
- Updated plugins to latest supported releases.
* Fri Dec 02 2022 Vitaly Zaitsev <[email protected]> - 2022.3-1
- Updated plugins to latest supported releases.
* Sat Oct 15 2022 Vitaly Zaitsev <[email protected]> - 2022.2.3-1
- Updated plugins to latest supported releases.
* Sat Sep 17 2022 Vitaly Zaitsev <[email protected]> - 2022.2.2-1
- Updated plugins to latest supported releases.
* Tue Aug 23 2022 Vitaly Zaitsev <[email protected]> - 2022.2.1-1
- Updated plugins to latest supported releases.
* Tue Jul 26 2022 Vitaly Zaitsev <[email protected]> - 2022.1.4-1
- Updated to latest snapshot.
* Thu Jun 23 2022 Vitaly Zaitsev <[email protected]> - 2022.1.3-1
- Updated plugins to latest supported releases.
* Thu Jun 02 2022 Vitaly Zaitsev <[email protected]> - 2022.1.2-1
- Updated plugins to latest supported releases.
* Thu May 12 2022 Vitaly Zaitsev <[email protected]> - 2022.1.1-1
- Updated plugins to latest supported releases.
- Removed no longer supported by upstream plugins.
* Wed Apr 20 2022 Vitaly Zaitsev <[email protected]> - 2022.1-1
- Updated plugins to latest supported releases.
* Wed Mar 23 2022 Vitaly Zaitsev <[email protected]> - 2021.3.3-3
- Rebuilt.
* Wed Mar 23 2022 Petr Hracek <[email protected]> - 2021.3.3-2
- Added png icons to resolve https://pagure.io/copr/copr/issue/2039.
* Fri Mar 18 2022 Vitaly Zaitsev <[email protected]> - 2021.3.3-1
- Updated plugins to latest supported releases.
* Mon Jan 31 2022 Vitaly Zaitsev <[email protected]> - 2021.3.2-1
- Updated plugins to latest supported releases.
* Tue Jan 04 2022 Vitaly Zaitsev <[email protected]> - 2021.3.1-1
- Updated plugins to latest supported releases.
* Sat Nov 13 2021 Vitaly Zaitsev <[email protected]> - 2021.2.3-2
- Fixed issue with multilib on Fedora 35+.
* Mon Oct 25 2021 Vitaly Zaitsev <[email protected]> - 2021.2.3-1
- Updated plugins to latest supported releases.
* Wed Sep 15 2021 Vitaly Zaitsev <[email protected]> - 2021.2.2-1
- Updated plugins to latest supported releases.
* Fri Aug 27 2021 Vitaly Zaitsev <[email protected]> - 2021.2.1-1
- Updated plugins to latest supported releases.
* Fri Jul 30 2021 Vitaly Zaitsev <[email protected]> - 2021.2-3
- Fixed issues with native indexer.
- Removed more bundled trialware plugins.
* Thu Jul 29 2021 Vitaly Zaitsev <[email protected]> - 2021.2-2
- Fixed issue with dependencies.
* Thu Jul 29 2021 Vitaly Zaitsev <[email protected]> - 2021.2-1
- Updated plugins to latest supported releases.
* Wed Jun 30 2021 Vitaly Zaitsev <[email protected]> - 2021.1.3-1
- Updated plugins to latest supported releases.
- Removed obsolete GitLab integration plugin.
- Added RPM SPEC File plugin.
* Thu Jun 03 2021 Vitaly Zaitsev <[email protected]> - 2021.1.2-2
- Fixed Rawhide build.
* Thu Jun 03 2021 Vitaly Zaitsev <[email protected]> - 2021.1.2-1
- Updated plugins to latest supported releases.
* Sat Apr 24 2021 Vitaly Zaitsev <[email protected]> - 2021.1.1-3
- Removed trialware plugin CodeWithMe.
* Sat Apr 24 2021 Vitaly Zaitsev <[email protected]> - 2021.1.1-2
- Allow simultaneous installation of Community and Professional editions.
* Sat Apr 24 2021 Vitaly Zaitsev <[email protected]> - 2021.1.1-1
- Updated plugins to latest supported releases.
* Mon Apr 05 2021 Vitaly Zaitsev <[email protected]> - 2020.3.5-2
- Marked plugins subpackage as arch-dependent.
* Mon Apr 05 2021 Vitaly Zaitsev <[email protected]> - 2020.3.5-1
- Updated plugins to latest supported releases.
* Sat Jan 30 2021 Vitaly Zaitsev <[email protected]> - 2020.3.3-1
- Updated plugins to latest supported releases.
* Thu Dec 31 2020 Vitaly Zaitsev <[email protected]> - 2020.3.2-2
- Fixed issue with the plugins subpackage.
* Thu Dec 31 2020 Vitaly Zaitsev <[email protected]> - 2020.3.2-1
- Updated plugins to latest supported releases.
* Tue Dec 22 2020 Vitaly Zaitsev <[email protected]> - 2020.3.1-1
- Updated plugins to latest supported releases.
* Fri Nov 27 2020 Vitaly Zaitsev <[email protected]> - 2020.2.4-1
- Updated plugins to latest supported releases.
* Mon Oct 19 2020 Vitaly Zaitsev <[email protected]> - 2020.2.3-1
- Updated plugins to latest supported releases.
* Sun Sep 20 2020 Vitaly Zaitsev <[email protected]> - 2020.2.2-1
- Updated plugins to latest supported releases.
* Wed Sep 02 2020 Petr Hracek <[email protected]> - 2020.2.1-2
- Fix typo in pycharm-community.app.xml file
* Thu Aug 27 2020 Vitaly Zaitsev <[email protected]> - 2020.2.1-1
- Updated plugins to latest supported releases.
* Thu Jul 23 2020 Vitaly Zaitsev <[email protected]> - 2020.1.4-1
- Updated plugins to latest supported releases.
* Thu Jul 09 2020 Vitaly Zaitsev <[email protected]> - 2020.1.3-1
- Updated plugins to latest supported releases.
* Thu Jun 04 2020 Vitaly Zaitsev <[email protected]> - 2020.1.2-1
- Updated plugins to latest supported releases.
* Sun May 10 2020 Vitaly Zaitsev <[email protected]> - 2020.1.1-1
- Updated plugins to latest supported releases.
* Mon Apr 13 2020 Vitaly Zaitsev <[email protected]> - 2020.1-1
- Updated plugins to latest supported releases.
* Fri Mar 20 2020 Vitaly Zaitsev <[email protected]> - 2019.3.4-1
- Updated plugins to latest supported releases.
* Mon Mar 09 2020 Vitaly Zaitsev <[email protected]> - 2019.3.3-2
- Removed duplicates.
* Sun Feb 09 2020 Vitaly Zaitsev <[email protected]> - 2019.3.3-1
- Updated plugins to latest supported releases.