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