]>
Commit | Line | Data |
---|---|---|
31c1fc50 RT |
1 | # |
2 | # Conditional build: | |
3 | # | |
d8690f20 BS |
4 | %define kdeappsver 21.12.0 |
5 | %define kframever 5.78.0 | |
6 | %define qtver 5.15.0 | |
7 | %define kaname kdevelop | |
31c1fc50 RT |
8 | |
9 | Summary: KDE Integrated Development Environment | |
10 | Summary(de.UTF-8): KDevelop ist eine grafische Entwicklungsumgebung für KDE | |
11 | Summary(pl.UTF-8): Zintegrowane środowisko programisty dla KDE | |
12 | Summary(pt_BR.UTF-8): Ambiente Integrado de Desenvolvimento para o KDE | |
13 | Summary(zh_CN.UTF-8): KDE C/C++集成开发环境 | |
0e20598c | 14 | Name: ka5-kdevelop |
d8690f20 | 15 | Version: 21.12.0 |
a2edda48 | 16 | Release: 1 |
31c1fc50 RT |
17 | License: GPL |
18 | Group: X11/Development/Tools | |
d8690f20 BS |
19 | Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz |
20 | # Source0-md5: ca3e056cda9cdbe96d612ffd5b925798 | |
31c1fc50 | 21 | URL: http://www.kdevelop.org/ |
d8690f20 | 22 | BuildRequires: astyle-devel >= 3.1 |
fcc99fb8 | 23 | BuildRequires: cmake >= 2.8.9 |
86271305 | 24 | BuildRequires: docbook-style-xsl |
6e6fe4ab | 25 | BuildRequires: gettext-tools |
2998fe97 | 26 | BuildRequires: ka5-libkomparediff2-devel |
0e20598c | 27 | BuildRequires: ka5-okteta-devel |
d8690f20 BS |
28 | BuildRequires: kf5-kcrash-devel >= %{kframever} |
29 | BuildRequires: kf5-kdoctools-devel >= %{kframever} | |
30 | BuildRequires: kf5-plasma-framework-devel >= %{kframever} | |
31 | BuildRequires: kf5-krunner-devel >= %{kframever} | |
32 | BuildRequires: kf5-syntax-highlighting-devel >= %{kframever} | |
683c5b4d | 33 | BuildRequires: kp5-libksysguard-devel |
0e20598c | 34 | BuildRequires: clang-devel |
d8690f20 BS |
35 | BuildRequires: Qt5Help-devel >= %{qtver} |
36 | BuildRequires: Qt5WebEngine-devel >= %{qtver} | |
37 | BuildRequires: qt5-assistant >= %{qtver} | |
0e20598c BS |
38 | BuildRequires: docbook-dtd45-xml |
39 | ||
89fa64f2 | 40 | BuildRequires: libstdc++-devel >= 3.3 |
86271305 | 41 | BuildRequires: pkgconfig |
05f256a4 | 42 | BuildRequires: rpmbuild(macros) >= 1.600 |
21807784 | 43 | BuildRequires: zlib-devel >= 1.2.0 |
31c1fc50 | 44 | BuildConflicts: star |
ff86f956 | 45 | Requires: libstdc++-gdb |
3cc6df6e BZ |
46 | Requires(post,postun): desktop-file-utils |
47 | Requires(post,postun): shared-mime-info | |
31c1fc50 RT |
48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
49 | ||
d8690f20 BS |
50 | %define _noautoreqfiles .*\\.zshrc |
51 | ||
31c1fc50 RT |
52 | %description |
53 | The KDevelop Integrated Development Environment provides many features | |
54 | that developers need as well as providing a unified interface to | |
55 | programs like gdb, the C/C++ compiler, and make. | |
56 | ||
57 | KDevelop manages or provides: all development tools needed for C++ | |
58 | programming like Compiler, Linker, automake and autoconf; KAppWizard, | |
59 | which generates complete, ready-to-go sample applications; | |
60 | Classgenerator, for creating new classes and integrating them into the | |
61 | current project; File management for sources, headers, documentation | |
62 | etc. to be included in the project; The creation of User-Handbooks | |
63 | written with SGML and the automatic generation of HTML-output with the | |
64 | KDE look and feel; Automatic HTML-based API-documentation for your | |
65 | project's classes with cross-references to the used libraries; | |
66 | Internationalization support for your application, allowing | |
67 | translators to easily add their target language to a project; | |
68 | ||
69 | KDevelop also includes WYSIWYG (What you see is what you get)-creation | |
70 | of user interfaces with a built-in dialog editor; Debugging your | |
71 | application by integrating KDbg; Editing of project-specific pixmaps | |
72 | with KIconEdit; The inclusion of any other program you need for | |
73 | development by adding it to the "Tools"-menu according to your | |
74 | individual needs. | |
75 | ||
76 | %description -l de.UTF-8 | |
77 | KDevelop ist eine grafische Entwicklungsumgebung für KDE. | |
78 | ||
79 | Das KDevelop-Projekt wurde 1998 begonnen, um eine einfach zu | |
c2f8406a | 80 | bedienende grafische (integrierte) Entwicklungsumgebung für C++ und C |
31c1fc50 RT |
81 | auf Unix-basierten Betriebssystemen bereitzustellen. Seit damals ist |
82 | die KDevelop-IDE öffentlich unter der GPL erhältlich und unterstützt | |
83 | u. a. Qt-, KDE-, GNOME-, C++- und C-Projekte. | |
84 | ||
85 | %description -l pl.UTF-8 | |
86 | KDevelop to zintegrowane środowisko programistyczne dla KDE, dające | |
87 | wiele możliwości przydatnych programistom oraz zunifikowany interfejs | |
88 | do programów typu gdb, kompilator C/C++ oraz make. | |
89 | ||
90 | KDevelop obsługuje lub zawiera: wszystkie narzędzia programistyczne | |
91 | potrzebne do programowania w C++ jak kompilator, linker, automake, | |
92 | autoconf; KAppWizard, generujący kompletne, gotowe do uruchomienia, | |
93 | proste aplikacje; Classgenerator do tworzenia nowych klas i włączania | |
94 | ich do projektu; zarządzanie plikami źródłowymi, nagłówkowymi, | |
95 | dokumentacją itp.; tworzenie podręczników użytkownika pisanych w SGML | |
96 | i automatyczne generowanie wyjścia HTML pasującego do KDE; | |
97 | automatyczne tworzenie dokumentacji API w HTML do klas projektu z | |
98 | odniesieniami do używanych bibliotek; wsparcie dla | |
99 | internacjonalizacji, pozwalające tłumaczom łatwo dodawać pliki z | |
100 | tłumaczeniami do projektu. | |
101 | ||
102 | KDevelop ma także tworzenie interfejsów użytkownika przy użyciu | |
103 | edytora dialogów WYSIWYG; odpluskwianie aplikacji poprzez integrację z | |
104 | KDbg; edycję ikon przy pomocy KIconEdit; dołączanie innych programów | |
105 | potrzebnych do programowania przez dodanie ich do menu Tools według | |
106 | własnych potrzeb. | |
107 | ||
6ad423a8 | 108 | %package devel |
109 | Summary: kdevelop - header files and development documentation | |
110 | Summary(pl.UTF-8): kdevelop - pliki nagłówkowe i dokumentacja | |
111 | Group: X11/Development/Libraries | |
112 | Requires: %{name} = %{version}-%{release} | |
113 | ||
114 | %description devel | |
115 | This package contains header files and development documentation for | |
116 | kdevelop. | |
117 | ||
118 | %description devel -l pl.UTF-8 | |
119 | Pakiet ten zawiera pliki nagłówkowe i dokumentację potrzebną przy | |
120 | pisaniu własnych programów wykorzystujących kdevelop. | |
121 | ||
d8690f20 BS |
122 | %package -n bash-completion-kdevelop |
123 | Summary: Bash completion for KDevelop commands | |
124 | Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla poleceń KDevelop | |
125 | Group: Applications/Shells | |
126 | Requires: %{name} = %{version}-%{release} | |
127 | Requires: bash-completion >= 2.0 | |
128 | %{?noarchpackage} | |
129 | ||
130 | %description -n bash-completion-kdevelop | |
131 | Bash completion for KDevelop commands. | |
132 | ||
133 | %description -n bash-completion-kdevelop -l pl.UTF-8 | |
134 | Bashowe uzupełnianie parametrów dla poleceń KDevelop. | |
135 | ||
31c1fc50 | 136 | %prep |
d8690f20 | 137 | %setup -q -n %{kaname}-%{version} |
31c1fc50 RT |
138 | |
139 | %build | |
4940a978 | 140 | install -d build |
31c1fc50 RT |
141 | cd build |
142 | %cmake \ | |
0e20598c | 143 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
31c1fc50 RT |
144 | ../ |
145 | %{__make} | |
146 | ||
147 | %install | |
148 | rm -rf $RPM_BUILD_ROOT | |
149 | ||
150 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
151 | %{__make} -C build install \ | |
152 | DESTDIR=$RPM_BUILD_ROOT \ | |
153 | kde_htmldir=%{_kdedocdir} | |
154 | ||
d8690f20 | 155 | %find_lang %{kaname} --all-name --with-kde |
8a932502 | 156 | |
31c1fc50 RT |
157 | %clean |
158 | rm -rf $RPM_BUILD_ROOT | |
159 | ||
3cc6df6e BZ |
160 | %post |
161 | /sbin/ldconfig | |
162 | %update_mime_database | |
163 | %update_desktop_database | |
164 | ||
165 | %postun | |
166 | /sbin/ldconfig | |
167 | %update_mime_database | |
168 | %update_desktop_database_postun | |
31c1fc50 | 169 | |
d8690f20 | 170 | %files -f %{kaname}.lang |
31c1fc50 | 171 | %defattr(644,root,root,755) |
31c1fc50 | 172 | %attr(755,root,root) %{_bindir}/kdevelop |
3c159b18 | 173 | %attr(755,root,root) %{_bindir}/kdevelop! |
0e20598c | 174 | %attr(755,root,root) %{_bindir}/kdev_includepathsconverter |
d8690f20 BS |
175 | %attr(755,root,root) %{_libdir}/libKDevClangPrivate.so.* |
176 | %attr(755,root,root) %{_libdir}/libKDevCMakeCommon.so.* | |
177 | %attr(755,root,root) %{_libdir}/libKDevCompileAnalyzerCommon.so.* | |
cb22de41 ŁM |
178 | %attr(755,root,root) %{_libdir}/libKDevelopSessionsWatch.so |
179 | %dir %{_libdir}/qt5/plugins/kf5/krunner | |
180 | %attr(755,root,root) %{_libdir}/qt5/plugins/kf5/krunner/krunner_kdevelopsessions.so | |
181 | %dir %{_libdir}/qt5/qml/org/kde/plasma/private/kdevelopsessions | |
182 | %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/plasma/private/kdevelopsessions/libkdevelopsessionsplugin.so | |
a2edda48 | 183 | %{_libdir}/qt5/qml/org/kde/plasma/private/kdevelopsessions/qmldir |
cb22de41 ŁM |
184 | %dir %{_datadir}/kdevplatform |
185 | %dir %{_datadir}/kdevplatform/shellutils | |
186 | %{_datadir}/kdevplatform/shellutils/.zshrc | |
d8690f20 BS |
187 | %lang(de) %{_docdir}/HTML/ca/kdevelop |
188 | %lang(en) %{_docdir}/HTML/en/kdevelop | |
189 | %lang(es) %{_docdir}/HTML/es/kdevelop | |
190 | %lang(it) %{_docdir}/HTML/it/kdevelop | |
191 | %lang(nl) %{_docdir}/HTML/nl/kdevelop | |
192 | %lang(pt) %{_docdir}/HTML/pt/kdevelop | |
193 | %lang(pt_BR) %{_docdir}/HTML/pt_BR/kdevelop | |
194 | %lang(sv) %{_docdir}/HTML/sv/kdevelop | |
195 | %lang(uk) %{_docdir}/HTML/uk/kdevelop | |
0e20598c BS |
196 | %{_datadir}/kdevappwizard |
197 | %{_datadir}/kdevclangsupport | |
0e20598c BS |
198 | %{_datadir}/kdevelop |
199 | %{_datadir}/kdevfiletemplates | |
200 | %{_datadir}/kdevgdb | |
683c5b4d | 201 | %{_datadir}/kdevlldb |
0e20598c | 202 | %{_datadir}/kdevmanpage |
0e20598c BS |
203 | %{_datadir}/kdevqmljssupport |
204 | %{_datadir}/knotifications5/* | |
d8690f20 | 205 | %{_datadir}/knsrcfiles/kdev*.knsrc |
683c5b4d | 206 | %{_datadir}/metainfo/* |
0e20598c BS |
207 | %{_datadir}/mime/packages/* |
208 | %{_datadir}/kservices5/* | |
209 | %{_datadir}/plasma/plasmoids/kdevelopsessions | |
0e20598c | 210 | %{_desktopdir}/org.kde.kdevelop.desktop |
683c5b4d | 211 | %{_desktopdir}/org.kde.kdevelop_*.desktop |
6ad423a8 | 212 | %{_iconsdir}/*/*x*/*/*.png |
2998fe97 | 213 | %{_datadir}/qlogging-categories5/kdev*.categories |
683c5b4d BS |
214 | |
215 | #kdevplatform | |
216 | %attr(755,root,root) %{_bindir}/kdev_dbus_socket_transformer | |
217 | %attr(755,root,root) %{_bindir}/kdev_format_source | |
218 | %attr(755,root,root) %{_bindir}/kdevplatform_shell_environment.sh | |
219 | %attr(755,root,root) %{_libdir}/libKDevPlatformDebugger.so.*.*.* | |
a2edda48 | 220 | %ghost %{_libdir}/libKDevPlatformDebugger.so.?? |
683c5b4d | 221 | %attr(755,root,root) %{_libdir}/libKDevPlatformDocumentation.so.*.*.* |
a2edda48 | 222 | %ghost %{_libdir}/libKDevPlatformDocumentation.so.?? |
683c5b4d | 223 | %attr(755,root,root) %{_libdir}/libKDevPlatformInterfaces.so.*.*.* |
a2edda48 | 224 | %ghost %{_libdir}/libKDevPlatformInterfaces.so.?? |
683c5b4d | 225 | %attr(755,root,root) %{_libdir}/libKDevPlatformLanguage.so.*.*.* |
a2edda48 | 226 | %ghost %{_libdir}/libKDevPlatformLanguage.so.?? |
683c5b4d | 227 | %attr(755,root,root) %{_libdir}/libKDevPlatformOutputView.so.*.*.* |
a2edda48 | 228 | %ghost %{_libdir}/libKDevPlatformOutputView.so.?? |
683c5b4d | 229 | %attr(755,root,root) %{_libdir}/libKDevPlatformProject.so.*.*.* |
a2edda48 | 230 | %ghost %{_libdir}/libKDevPlatformProject.so.?? |
683c5b4d | 231 | %attr(755,root,root) %{_libdir}/libKDevPlatformSerialization.so.*.*.* |
a2edda48 | 232 | %ghost %{_libdir}/libKDevPlatformSerialization.so.?? |
683c5b4d | 233 | %attr(755,root,root) %{_libdir}/libKDevPlatformShell.so.*.*.* |
a2edda48 | 234 | %ghost %{_libdir}/libKDevPlatformShell.so.?? |
683c5b4d | 235 | %attr(755,root,root) %{_libdir}/libKDevPlatformSublime.so.*.*.* |
a2edda48 | 236 | %ghost %{_libdir}/libKDevPlatformSublime.so.?? |
683c5b4d | 237 | %attr(755,root,root) %{_libdir}/libKDevPlatformTests.so.*.*.* |
a2edda48 | 238 | %ghost %{_libdir}/libKDevPlatformTests.so.?? |
683c5b4d | 239 | %attr(755,root,root) %{_libdir}/libKDevPlatformUtil.so.*.*.* |
a2edda48 | 240 | %ghost %{_libdir}/libKDevPlatformUtil.so.?? |
683c5b4d | 241 | %attr(755,root,root) %{_libdir}/libKDevPlatformVcs.so.*.*.* |
a2edda48 | 242 | %ghost %{_libdir}/libKDevPlatformVcs.so.?? |
683c5b4d | 243 | %attr(755,root,root) %{_libdir}/qt5/plugins/grantlee/*/kdev_filters.so |
cb22de41 | 244 | |
cb22de41 ŁM |
245 | %attr(755,root,root) %{_libdir}/qt5/plugins/kdevplatform/*/kdev*.so |
246 | ||
683c5b4d BS |
247 | %{_libdir}/qt5/qml/org/kde/kdevplatform/qmldir |
248 | %attr(755,root,root) %{_libdir}/qt5/qml/org/kde/kdevplatform/libkdevelopdashboarddeclarativeplugin.so | |
249 | %{_datadir}/kdevcodegen | |
250 | %{_datadir}/kdevcodeutils | |
251 | %{_datadir}/kservicetypes5/kdevelopplugin.desktop | |
252 | %{_iconsdir}/hicolor/*/actions/*.svg | |
253 | %{_iconsdir}/hicolor/*/apps/*.svg | |
254 | ||
6ad423a8 | 255 | |
256 | %files devel | |
257 | %defattr(644,root,root,755) | |
0e20598c BS |
258 | %{_libdir}/cmake/KDevelop |
259 | %{_includedir}/kdevelop | |
683c5b4d BS |
260 | |
261 | #kdevplatform | |
262 | %{_includedir}/kdevplatform | |
263 | %{_libdir}/libKDevPlatformDebugger.so | |
264 | %{_libdir}/libKDevPlatformDocumentation.so | |
265 | %{_libdir}/libKDevPlatformInterfaces.so | |
266 | %{_libdir}/libKDevPlatformLanguage.so | |
267 | %{_libdir}/libKDevPlatformOutputView.so | |
268 | %{_libdir}/libKDevPlatformProject.so | |
269 | %{_libdir}/libKDevPlatformSerialization.so | |
270 | %{_libdir}/libKDevPlatformShell.so | |
271 | %{_libdir}/libKDevPlatformSublime.so | |
272 | %{_libdir}/libKDevPlatformTests.so | |
273 | %{_libdir}/libKDevPlatformUtil.so | |
274 | %{_libdir}/libKDevPlatformVcs.so | |
d8690f20 BS |
275 | %dir %{_libdir}/cmake/KDevPlatform |
276 | %{_libdir}/cmake/KDevPlatform/KDevPlatformConfig.cmake | |
277 | %{_libdir}/cmake/KDevPlatform/KDevPlatformConfigVersion.cmake | |
278 | %{_libdir}/cmake/KDevPlatform/KDevPlatformMacros.cmake | |
279 | %{_libdir}/cmake/KDevPlatform/KDevPlatformTargets.cmake | |
280 | %{_libdir}/cmake/KDevPlatform/KDevPlatformTargets-pld.cmake | |
281 | ||
282 | %files -n bash-completion-kdevelop | |
283 | %defattr(644,root,root,755) | |
284 | %{bash_compdir}/kdevelop |