-
Notifications
You must be signed in to change notification settings - Fork 16
/
pycharm-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
* Mon Dec 02 2024 Petr Hracek <phracek@redhat.com> - 2024.3-4
- Fix changelog
* Mon Dec 02 2024 Petr Hracek <phracek@redhat.com> - 2024.3-3
- add global debug_package directive
* Mon Dec 02 2024 Petr Hracek <phracek@redhat.com> - 2024.3-2
- Fix plugins
* Mon Dec 02 2024 Petr Hracek <phracek@redhat.com> - 2024.3-1
- Update plugins to latest supported release
- Rust is deprecated
* Mon Mar 04 2024 Petr Hracek <phracek@redhat.com> - 2023.3.3-4
- Fix import sources for ppc64le
* Mon Mar 04 2024 Petr Hracek <phracek@redhat.com> - 2023.3.3-3
- Add support for ppc64le
* Mon Feb 26 2024 Petr Hracek <phracek@redhat.com> - 2023.3.3-2
- Fix typo in changelog
* Mon Feb 26 2024 Petr Hracek <phracek@redhat.com> - 2023.3.3-1
- Updated plugins to latest supported releases.
* Thu Jul 13 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 2023.1.4-1
- Updated plugins to latest supported releases.
* Thu Jun 22 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 2023.1.3-1
- Updated plugins to latest supported releases.
* Tue May 23 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 2023.1.2-1
- Updated plugins to latest supported releases.
* Tue Apr 04 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 2023.1-2
- Fixed dependency issue on EPEL.
* Fri Mar 31 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 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 <vitaly@easycoding.org> - 2022.3.3-1
- Updated plugins to latest supported releases.
* Sat Feb 04 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.3.2-1
- Updated plugins to latest supported releases.
* Thu Dec 29 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.3.1-1
- Updated plugins to latest supported releases.
* Fri Dec 02 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.3-1
- Updated plugins to latest supported releases.
* Sat Oct 15 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.2.3-1
- Updated plugins to latest supported releases.
* Sat Sep 17 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.2.2-1
- Updated plugins to latest supported releases.
* Tue Aug 23 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.2.1-1
- Updated plugins to latest supported releases.
* Tue Jul 26 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.1.4-1
- Updated to latest snapshot.
* Thu Jun 23 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.1.3-1
- Updated plugins to latest supported releases.
* Thu Jun 02 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.1.2-1
- Updated plugins to latest supported releases.
* Thu May 12 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.1.1-1
- Updated plugins to latest supported releases.
- Removed no longer supported by upstream plugins.
* Wed Apr 20 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2022.1-1
- Updated plugins to latest supported releases.
* Wed Mar 23 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.3.3-3
- Rebuilt.
* Wed Mar 23 2022 Petr Hracek <phracek@redhat.com> - 2021.3.3-2
- Added png icons to resolve https://pagure.io/copr/copr/issue/2039.
* Fri Mar 18 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.3.3-1
- Updated plugins to latest supported releases.
* Mon Jan 31 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.3.2-1
- Updated plugins to latest supported releases.
* Tue Jan 04 2022 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.3.1-1
- Updated plugins to latest supported releases.
* Sat Nov 13 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.2.3-2
- Fixed issue with multilib on Fedora 35+.
* Mon Oct 25 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.2.3-1
- Updated plugins to latest supported releases.
* Wed Sep 15 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.2.2-1
- Updated plugins to latest supported releases.
* Fri Aug 27 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.2.1-1
- Updated plugins to latest supported releases.
* Fri Jul 30 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.2-3
- Fixed issues with native indexer.
- Removed more bundled trialware plugins.
* Thu Jul 29 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.2-2
- Fixed issue with dependencies.
* Thu Jul 29 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.2-1
- Updated plugins to latest supported releases.
* Wed Jun 30 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 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 <vitaly@easycoding.org> - 2021.1.2-2
- Fixed Rawhide build.
* Thu Jun 03 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.1.2-1
- Updated plugins to latest supported releases.
* Sat Apr 24 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.1.1-3
- Removed trialware plugin CodeWithMe.
* Sat Apr 24 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.1.1-2
- Allow simultaneous installation of Community and Professional editions.
* Sat Apr 24 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2021.1.1-1
- Updated plugins to latest supported releases.
* Mon Apr 05 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.3.5-2
- Marked plugins subpackage as arch-dependent.
* Mon Apr 05 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.3.5-1
- Updated plugins to latest supported releases.
* Sat Jan 30 2021 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.3.3-1
- Updated plugins to latest supported releases.
* Thu Dec 31 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.3.2-2
- Fixed issue with the plugins subpackage.
* Thu Dec 31 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.3.2-1
- Updated plugins to latest supported releases.
* Tue Dec 22 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.3.1-1
- Updated plugins to latest supported releases.
* Fri Nov 27 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.2.4-1
- Updated plugins to latest supported releases.
* Mon Oct 19 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.2.3-1
- Updated plugins to latest supported releases.
* Sun Sep 20 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.2.2-1
- Updated plugins to latest supported releases.
* Wed Sep 02 2020 Petr Hracek <phracek@redhat.com> - 2020.2.1-2
- Fix typo in pycharm-community.app.xml file
* Thu Aug 27 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.2.1-1
- Updated plugins to latest supported releases.
* Thu Jul 23 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.1.4-1
- Updated plugins to latest supported releases.
* Thu Jul 09 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.1.3-1
- Updated plugins to latest supported releases.
* Thu Jun 04 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.1.2-1
- Updated plugins to latest supported releases.
* Sun May 10 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.1.1-1
- Updated plugins to latest supported releases.
* Mon Apr 13 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2020.1-1
- Updated plugins to latest supported releases.
* Fri Mar 20 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2019.3.4-1
- Updated plugins to latest supported releases.
* Mon Mar 09 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2019.3.3-2
- Removed duplicates.
* Sun Feb 09 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 2019.3.3-1
- Updated plugins to latest supported releases.