-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkdevelop.spec
More file actions
252 lines (233 loc) · 8.55 KB
/
kdevelop.spec
File metadata and controls
252 lines (233 loc) · 8.55 KB
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
%define compile_apidox 0
%{?_no_apidox: %{expand: %%global compile_apidox 0}}
%define unstable 1
%{?_unstable: %{expand: %%global unstable 1}}
# We cannot do it when debug is set to nil like in 2012.1
%if %unstable
#define dont_strip 1
%endif
%define libname_orig libkdevplatform4
%define major 5
%define libname %mklibname kdevplatform %{major}
%define old_major 2
%define old_libname %mklibname kdevplatform4 %{old_major}
%define dev_clang_major 64
%define __requires_exclude /bin/zsh
#define git 20240927
#define gitbranch work/apol/kf6
#define gitbranchd %(echo %{gitbranch} |sed -e "s,/,-,g")
Summary: Integrated Development Environment for C++/C
Name: kdevelop
Version: 25.12.3
Release: 1
Group: Development/C++
License: GPLv2
Url: https://www.kdevelop.org/
%if 0%{?git:1}
Source0: https://invent.kde.org/kdevelop/kdevelop/-/archive/%{gitbranch}/kdevelop-%{gitbranchd}.tar.bz2#/kdevelop-%{git}.tar.bz2
%else
Source0: https://download.kde.org/%([ "`echo %{version} |cut -d. -f3`" -ge 80 ] && echo -n un; echo -n stable)/release-service/%{version}/src/kdevelop-%{version}.tar.xz
%endif
Patch1: kdevplatform-5.0.3-bsdtar.patch
Patch2: kdevelop-23.03.90-clang16.patch
BuildRequires: qt6-qttools-assistant
BuildRequires: boost-devel
BuildRequires: bash-completion
BuildRequires: pkgconfig(bash-completion)
BuildRequires: cmake(KF6Config)
BuildRequires: cmake(KF6Declarative)
BuildRequires: cmake(KF6DocTools)
BuildRequires: cmake(KF6IconThemes)
BuildRequires: cmake(KF6I18n)
BuildRequires: cmake(KF6ItemModels)
BuildRequires: cmake(KF6ItemViews)
BuildRequires: cmake(KF6JobWidgets)
BuildRequires: cmake(KF6KCMUtils)
BuildRequires: cmake(KF6KIO)
BuildRequires: cmake(KF6NewStuff)
BuildRequires: cmake(KF6NotifyConfig)
BuildRequires: cmake(KF6Notifications)
BuildRequires: cmake(KF6Parts)
BuildRequires: cmake(KF6Purpose)
BuildRequires: cmake(KF6Service)
BuildRequires: cmake(KF6TextEditor)
BuildRequires: cmake(KF6ThreadWeaver)
BuildRequires: cmake(KF6XmlGui)
BuildRequires: cmake(KF6WindowSystem)
BuildRequires: cmake(KF6Crash)
BuildRequires: cmake(KF6Runner)
BuildRequires: cmake(KF6Sonnet)
BuildRequires: cmake(KF6TextTemplate)
BuildRequires: cmake(KF6TextWidgets)
BuildRequires: cmake(Plasma)
BuildRequires: cmake(PlasmaQuick)
BuildRequires: pkgconfig(Qt6Widgets)
BuildRequires: pkgconfig(Qt6Concurrent)
BuildRequires: pkgconfig(Qt6Quick)
BuildRequires: pkgconfig(Qt6QuickWidgets)
BuildRequires: pkgconfig(Qt6WebEngineCore)
BuildRequires: pkgconfig(Qt6WebEngineWidgets)
BuildRequires: pkgconfig(Qt6Test)
BuildRequires: pkgconfig(Qt6Help)
BuildRequires: cmake(Qt6Core5Compat)
BuildRequires: cmake(Qt6QmlAssetDownloader)
BuildRequires: cmake(Qt6Tools)
BuildRequires: cmake(KDevelop-PG-Qt)
BuildRequires: cmake(KSysGuard) >= 6.0.0
BuildRequires: cmake(KompareDiff2) >= 6.0.0
BuildRequires: llvm-devel
BuildRequires: llvm-static-devel
BuildRequires: spirv-llvm-translator
BuildRequires: llvm-bolt
BuildRequires: libclc-amdgcn
BuildRequires: libclc-nvptx
BuildRequires: clang-devel
BuildRequires: cmake(MLIR)
BuildRequires: shared-mime-info
BuildRequires: subversion-devel
BuildRequires: astyle-devel
BuildRequires: meson
BuildRequires: clazy
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(libxml-2.0)
%if %{compile_apidox}
BuildRequires: doxygen
%endif
Requires: cmake
Requires: git
Requires: gdb
Requires: kdevplatform >= %{EVRD}
Recommends: meson
Recommends: clazy
BuildSystem: cmake
BuildOption: -DBUILD_TESTING=OFF
BuildOption: -DBSDTAR=1
BuildOption: -DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON
%rename plasma6-kdevelop
%description
The KDevelop Integrated Development Environment provides many features that
developers need as well as providing a unified interface to programs like gdb,
the C/C++ compiler, and make.
KDevelop manages or provides:
* All development tools needed for C++ programming like Compiler, Linker,
automake and autoconf
* KAppWizard, which generates complete, ready-to-go sample applications
* Classgenerator, for creating new classes and integrating them into the
current project
* File management for sources, headers, documentation etc. to be included in
the project
* The creation of User-Handbooks written with SGML and the automatic
generation of HTML-output with the KDE look and feel
* Automatic HTML-based API-documentation for your project's classes with
cross-references to the used libraries; Internationalization support for
your application, allowing translators to easily add their target language
to a project
* WYSIWYG (What you see is what you get) creation of user interfaces with a
built-in dialog editor
* Debugging your application by integrating KDbg
* Editing of project-specific pixmaps with KIconEdit
* The inclusion of any other program you need for development by adding it
to the "Tools" menu according to your individual needs.
%files -f %{name}.lang
%{_bindir}/kdevelop*
%{_bindir}/kdev_includepathsconverter
%{_datadir}/applications/*.desktop
%{_datadir}/qlogging-categories6/kdevelop.categories
%{_datadir}/mime/packages/kdev*.xml
%{_libdir}/libKDevCMakeCommon.so.%{dev_clang_major}
%{_libdir}/libKDevClangPrivate.so.%{dev_clang_major}
%{_libdir}/libKDevCompileAnalyzerCommon.so.%{dev_clang_major}
%{_libdir}/libKDevelopSessionsWatch.so
%{_qtdir}/plugins/kdevplatform
%{_qtdir}/plugins/kf6/krunner/kdevelopsessions.so
%{_qtdir}/qml/org/kde/plasma/private/kdevelopsessions
%{_datadir}/plasma/plasmoids/org.kde.kdevelopsessions
%{_datadir}/icons/hicolor/*/apps/kdevelop.png
%{_datadir}/icons/hicolor/*/apps/kdevgh.png
%{_datadir}/icons/hicolor/*/apps/cmake.png
%{_datadir}/icons/hicolor/*/apps/cppcheck.png
%{_datadir}/icons/hicolor/*/apps/github-*.png
%{_datadir}/icons/hicolor/*/apps/clazy.png
%{_datadir}/icons/hicolor/*/apps/qtlogo.svg
%{_datadir}/icons/hicolor/scalable/apps/kdevelop.svg
%{_datadir}/kdevelop
%{_datadir}/kdevfiletemplates
%{_datadir}/kdevcodegen
%{_datadir}/kdevgdb
%{_datadir}/kdevlldb
%{_datadir}/kdevappwizard
%{_datadir}/kdevmanpage
%{_datadir}/kdevclangsupport
%{_datadir}/knotifications6/kdevelop.notifyrc
%{_datadir}/metainfo/org.kde.kdevelop.appdata.xml
%{_datadir}/knsrcfiles/kdevappwizard.knsrc
%{_datadir}/knsrcfiles/kdevelop-qthelp.knsrc
%{_datadir}/knsrcfiles/kdevfiletemplates.knsrc
%{_datadir}/bash-completion/completions/kdevelop
# Exclude kdevplatform folders
%exclude %{_datadir}/kdevplatform/
%exclude %{_datadir}/kdevcodegen/
%exclude %{_datadir}/kdevcodeutils/
#------------------------------------------------
%package devel
Summary: Development files for kdevelop
Group: Development/KDE and Qt
%rename plasma6-kdevelop-devel
%description devel
Development files for kdevelop.
%files devel
%{_libdir}/cmake/KDevelop
%{_includedir}/kdevelop
#------------------------------------------------
%package -n kdevplatform
Summary: Files for kdevplatform
Group: Development/KDE and Qt
%description -n kdevplatform
Kdevelop platform tools.
%files -n kdevplatform
%{_bindir}/kdev_dbus_socket_transformer
%{_bindir}/kdev_format_source
%{_bindir}/kdevplatform_shell_environment.sh
%{_datadir}/kdevcodegen
%{_datadir}/kdevcodeutils
%{_datadir}/kdevplatform
%{_datadir}/qlogging-categories6/kdevplatform.categories
%{_iconsdir}/hicolor/*/apps/subversion.*
%{_iconsdir}/hicolor/*/apps/bazaar.png
%{_iconsdir}/hicolor/*/apps/git.*
%{_iconsdir}/hicolor/*/actions/breakpoint.*
%{_qtdir}/plugins/kf6/ktexttemplate/kdev_filters.so
%dir %{_qtdir}/plugins/kdevplatform
%{_libdir}/libKDevPlatformInterfaces.so.*
%{_libdir}/libKDevPlatformLanguage.so.*
%{_libdir}/libKDevPlatformOutputView.so.*
%{_libdir}/libKDevPlatformProject.so.*
%{_libdir}/libKDevPlatformShell.so.*
%{_libdir}/libKDevPlatformUtil.so.*
%{_libdir}/libKDevPlatformVcs.so.*
%{_libdir}/libKDevPlatformSublime.so.*
%{_libdir}/libKDevPlatformDebugger.so.*
%{_libdir}/libKDevPlatformDocumentation.so.*
%{_libdir}/libKDevPlatformSerialization.so.*
#-----------------------------------------------------------------------------
%package -n %{libname}-devel
Summary: Development files for kdevplatform
Group: Development/KDE and Qt
Provides: kdevplatform-devel = %{EVRD}
Requires: kdevplatform = %{EVRD}
%description -n %{libname}-devel
Development files for kdevplatform.
%files -n %{libname}-devel
%{_libdir}/cmake/KDevPlatform
%{_includedir}/kdevplatform
%{_libdir}/libKDevPlatformSerialization.so
%{_libdir}/libKDevPlatformInterfaces.so
%{_libdir}/libKDevPlatformLanguage.so
%{_libdir}/libKDevPlatformOutputView.so
%{_libdir}/libKDevPlatformProject.so
%{_libdir}/libKDevPlatformShell.so
%{_libdir}/libKDevPlatformUtil.so
%{_libdir}/libKDevPlatformVcs.so
%{_libdir}/libKDevPlatformSublime.so
%{_libdir}/libKDevPlatformDebugger.so
%{_libdir}/libKDevPlatformDocumentation.so