]> git.pld-linux.org Git - packages/ka5-kdevelop.git/blame - ka5-kdevelop.spec
- updated to 21.12.0, kdevelop is now a part of KDE Gear
[packages/ka5-kdevelop.git] / ka5-kdevelop.spec
CommitLineData
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
9Summary: KDE Integrated Development Environment
10Summary(de.UTF-8): KDevelop ist eine grafische Entwicklungsumgebung für KDE
11Summary(pl.UTF-8): Zintegrowane środowisko programisty dla KDE
12Summary(pt_BR.UTF-8): Ambiente Integrado de Desenvolvimento para o KDE
13Summary(zh_CN.UTF-8): KDE C/C++集成开发环境
0e20598c 14Name: ka5-kdevelop
d8690f20 15Version: 21.12.0
a2edda48 16Release: 1
31c1fc50
RT
17License: GPL
18Group: X11/Development/Tools
d8690f20
BS
19Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
20# Source0-md5: ca3e056cda9cdbe96d612ffd5b925798
31c1fc50 21URL: http://www.kdevelop.org/
d8690f20 22BuildRequires: astyle-devel >= 3.1
fcc99fb8 23BuildRequires: cmake >= 2.8.9
86271305 24BuildRequires: docbook-style-xsl
6e6fe4ab 25BuildRequires: gettext-tools
2998fe97 26BuildRequires: ka5-libkomparediff2-devel
0e20598c 27BuildRequires: ka5-okteta-devel
d8690f20
BS
28BuildRequires: kf5-kcrash-devel >= %{kframever}
29BuildRequires: kf5-kdoctools-devel >= %{kframever}
30BuildRequires: kf5-plasma-framework-devel >= %{kframever}
31BuildRequires: kf5-krunner-devel >= %{kframever}
32BuildRequires: kf5-syntax-highlighting-devel >= %{kframever}
683c5b4d 33BuildRequires: kp5-libksysguard-devel
0e20598c 34BuildRequires: clang-devel
d8690f20
BS
35BuildRequires: Qt5Help-devel >= %{qtver}
36BuildRequires: Qt5WebEngine-devel >= %{qtver}
37BuildRequires: qt5-assistant >= %{qtver}
0e20598c
BS
38BuildRequires: docbook-dtd45-xml
39
89fa64f2 40BuildRequires: libstdc++-devel >= 3.3
86271305 41BuildRequires: pkgconfig
05f256a4 42BuildRequires: rpmbuild(macros) >= 1.600
21807784 43BuildRequires: zlib-devel >= 1.2.0
31c1fc50 44BuildConflicts: star
ff86f956 45Requires: libstdc++-gdb
3cc6df6e
BZ
46Requires(post,postun): desktop-file-utils
47Requires(post,postun): shared-mime-info
31c1fc50
RT
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
d8690f20
BS
50%define _noautoreqfiles .*\\.zshrc
51
31c1fc50
RT
52%description
53The KDevelop Integrated Development Environment provides many features
54that developers need as well as providing a unified interface to
55programs like gdb, the C/C++ compiler, and make.
56
57KDevelop manages or provides: all development tools needed for C++
58programming like Compiler, Linker, automake and autoconf; KAppWizard,
59which generates complete, ready-to-go sample applications;
60Classgenerator, for creating new classes and integrating them into the
61current project; File management for sources, headers, documentation
62etc. to be included in the project; The creation of User-Handbooks
63written with SGML and the automatic generation of HTML-output with the
64KDE look and feel; Automatic HTML-based API-documentation for your
65project's classes with cross-references to the used libraries;
66Internationalization support for your application, allowing
67translators to easily add their target language to a project;
68
69KDevelop also includes WYSIWYG (What you see is what you get)-creation
70of user interfaces with a built-in dialog editor; Debugging your
71application by integrating KDbg; Editing of project-specific pixmaps
72with KIconEdit; The inclusion of any other program you need for
73development by adding it to the "Tools"-menu according to your
74individual needs.
75
76%description -l de.UTF-8
77KDevelop ist eine grafische Entwicklungsumgebung für KDE.
78
79Das KDevelop-Projekt wurde 1998 begonnen, um eine einfach zu
c2f8406a 80bedienende grafische (integrierte) Entwicklungsumgebung für C++ und C
31c1fc50
RT
81auf Unix-basierten Betriebssystemen bereitzustellen. Seit damals ist
82die KDevelop-IDE öffentlich unter der GPL erhältlich und unterstützt
83u. a. Qt-, KDE-, GNOME-, C++- und C-Projekte.
84
85%description -l pl.UTF-8
86KDevelop to zintegrowane środowisko programistyczne dla KDE, dające
87wiele możliwości przydatnych programistom oraz zunifikowany interfejs
88do programów typu gdb, kompilator C/C++ oraz make.
89
90KDevelop obsługuje lub zawiera: wszystkie narzędzia programistyczne
91potrzebne do programowania w C++ jak kompilator, linker, automake,
92autoconf; KAppWizard, generujący kompletne, gotowe do uruchomienia,
93proste aplikacje; Classgenerator do tworzenia nowych klas i włączania
94ich do projektu; zarządzanie plikami źródłowymi, nagłówkowymi,
95dokumentacją itp.; tworzenie podręczników użytkownika pisanych w SGML
96i automatyczne generowanie wyjścia HTML pasującego do KDE;
97automatyczne tworzenie dokumentacji API w HTML do klas projektu z
98odniesieniami do używanych bibliotek; wsparcie dla
99internacjonalizacji, pozwalające tłumaczom łatwo dodawać pliki z
100tłumaczeniami do projektu.
101
102KDevelop ma także tworzenie interfejsów użytkownika przy użyciu
103edytora dialogów WYSIWYG; odpluskwianie aplikacji poprzez integrację z
104KDbg; edycję ikon przy pomocy KIconEdit; dołączanie innych programów
105potrzebnych do programowania przez dodanie ich do menu Tools według
106własnych potrzeb.
107
6ad423a8 108%package devel
109Summary: kdevelop - header files and development documentation
110Summary(pl.UTF-8): kdevelop - pliki nagłówkowe i dokumentacja
111Group: X11/Development/Libraries
112Requires: %{name} = %{version}-%{release}
113
114%description devel
115This package contains header files and development documentation for
116kdevelop.
117
118%description devel -l pl.UTF-8
119Pakiet ten zawiera pliki nagłówkowe i dokumentację potrzebną przy
120pisaniu własnych programów wykorzystujących kdevelop.
121
d8690f20
BS
122%package -n bash-completion-kdevelop
123Summary: Bash completion for KDevelop commands
124Summary(pl.UTF-8): Bashowe uzupełnianie parametrów dla poleceń KDevelop
125Group: Applications/Shells
126Requires: %{name} = %{version}-%{release}
127Requires: bash-completion >= 2.0
128%{?noarchpackage}
129
130%description -n bash-completion-kdevelop
131Bash completion for KDevelop commands.
132
133%description -n bash-completion-kdevelop -l pl.UTF-8
134Bashowe uzupełnianie parametrów dla poleceń KDevelop.
135
31c1fc50 136%prep
d8690f20 137%setup -q -n %{kaname}-%{version}
31c1fc50
RT
138
139%build
4940a978 140install -d build
31c1fc50
RT
141cd build
142%cmake \
0e20598c 143 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
31c1fc50
RT
144 ../
145%{__make}
146
147%install
148rm -rf $RPM_BUILD_ROOT
149
150install -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
158rm -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
This page took 0.83702 seconds and 4 git commands to generate.