7 %define orgname kdevelop
8 %define kdevplatform 1.0.1
10 Summary: KDE Integrated Development Environment
11 Summary(de.UTF-8): KDevelop ist eine grafische Entwicklungsumgebung für KDE
12 Summary(pl.UTF-8): Zintegrowane środowisko programisty dla KDE
13 Summary(pt_BR.UTF-8): Ambiente Integrado de Desenvolvimento para o KDE
14 Summary(zh_CN.UTF-8): KDE C/C++集成开发环境
19 Group: X11/Development/Tools
20 Source0: ftp://ftp.kde.org/pub/kde/%{_state}/kdevelop/%{version}/src/%{orgname}-%{version}.tar.bz2
21 # Source0-md5: 0538996c8cf47352fb075d8d301892fe
22 URL: http://www.kdevelop.org/
23 BuildRequires: QtHelp-devel >= %{qtver}
24 BuildRequires: QtNetwork-devel >= %{qtver}
25 BuildRequires: automoc4
26 BuildRequires: cmake >= 2.8.0
27 BuildRequires: gettext-devel
28 BuildRequires: kde4-kdebase-workspace-devel >= %{kdever}
29 BuildRequires: kde4-kdelibs-devel >= %{kdever}
30 BuildRequires: kde4-kdevplatform-devel >= %{kdevplatform}
31 BuildRequires: libstdc++-devel >= 3.3
32 BuildRequires: qt4-build >= %{qtver}
33 BuildRequires: qt4-qmake >= %{qtver}
34 BuildRequires: rpm-pythonprov
35 BuildRequires: rpmbuild(macros) >= 1.129
36 BuildRequires: zlib-devel >= 1.2.0
38 Requires(post,postun): desktop-file-utils
39 Requires(post,postun): shared-mime-info
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 The KDevelop Integrated Development Environment provides many features
44 that developers need as well as providing a unified interface to
45 programs like gdb, the C/C++ compiler, and make.
47 KDevelop manages or provides: all development tools needed for C++
48 programming like Compiler, Linker, automake and autoconf; KAppWizard,
49 which generates complete, ready-to-go sample applications;
50 Classgenerator, for creating new classes and integrating them into the
51 current project; File management for sources, headers, documentation
52 etc. to be included in the project; The creation of User-Handbooks
53 written with SGML and the automatic generation of HTML-output with the
54 KDE look and feel; Automatic HTML-based API-documentation for your
55 project's classes with cross-references to the used libraries;
56 Internationalization support for your application, allowing
57 translators to easily add their target language to a project;
59 KDevelop also includes WYSIWYG (What you see is what you get)-creation
60 of user interfaces with a built-in dialog editor; Debugging your
61 application by integrating KDbg; Editing of project-specific pixmaps
62 with KIconEdit; The inclusion of any other program you need for
63 development by adding it to the "Tools"-menu according to your
66 %description -l de.UTF-8
67 KDevelop ist eine grafische Entwicklungsumgebung für KDE.
69 Das KDevelop-Projekt wurde 1998 begonnen, um eine einfach zu
70 bedienende grafische (integrierte) Entwicklungsumgebung für C++ und C
71 auf Unix-basierten Betriebssystemen bereitzustellen. Seit damals ist
72 die KDevelop-IDE öffentlich unter der GPL erhältlich und unterstützt
73 u. a. Qt-, KDE-, GNOME-, C++- und C-Projekte.
75 %description -l pl.UTF-8
76 KDevelop to zintegrowane środowisko programistyczne dla KDE, dające
77 wiele możliwości przydatnych programistom oraz zunifikowany interfejs
78 do programów typu gdb, kompilator C/C++ oraz make.
80 KDevelop obsługuje lub zawiera: wszystkie narzędzia programistyczne
81 potrzebne do programowania w C++ jak kompilator, linker, automake,
82 autoconf; KAppWizard, generujący kompletne, gotowe do uruchomienia,
83 proste aplikacje; Classgenerator do tworzenia nowych klas i włączania
84 ich do projektu; zarządzanie plikami źródłowymi, nagłówkowymi,
85 dokumentacją itp.; tworzenie podręczników użytkownika pisanych w SGML
86 i automatyczne generowanie wyjścia HTML pasującego do KDE;
87 automatyczne tworzenie dokumentacji API w HTML do klas projektu z
88 odniesieniami do używanych bibliotek; wsparcie dla
89 internacjonalizacji, pozwalające tłumaczom łatwo dodawać pliki z
90 tłumaczeniami do projektu.
92 KDevelop ma także tworzenie interfejsów użytkownika przy użyciu
93 edytora dialogów WYSIWYG; odpluskwianie aplikacji poprzez integrację z
94 KDbg; edycję ikon przy pomocy KIconEdit; dołączanie innych programów
95 potrzebnych do programowania przez dodanie ich do menu Tools według
99 Summary: kdevelop - header files and development documentation
100 Summary(pl.UTF-8): kdevelop - pliki nagłówkowe i dokumentacja
101 Group: X11/Development/Libraries
102 Requires: %{name} = %{version}-%{release}
105 This package contains header files and development documentation for
108 %description devel -l pl.UTF-8
109 Pakiet ten zawiera pliki nagłówkowe i dokumentację potrzebną przy
110 pisaniu własnych programów wykorzystujących kdevelop.
113 %setup -q -n %{orgname}-%{version}
119 -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
120 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
121 -DSYSCONF_INSTALL_DIR=%{_sysconfdir} \
126 rm -rf $RPM_BUILD_ROOT
128 install -d $RPM_BUILD_ROOT%{_desktopdir}
129 %{__make} -C build install \
130 DESTDIR=$RPM_BUILD_ROOT \
131 kde_htmldir=%{_kdedocdir}
133 install app/kdevelop.desktop $RPM_BUILD_ROOT%{_desktopdir}
135 %find_lang %{orgname} --all-name
138 rm -rf $RPM_BUILD_ROOT
142 %update_mime_database
143 %update_desktop_database
147 %update_mime_database
148 %update_desktop_database_postun
150 %files -f %{orgname}.lang
151 %defattr(644,root,root,755)
152 %attr(755,root,root) %{_bindir}/kdevelop
153 %attr(755,root,root) %{_bindir}/kdevelop.bin
154 %attr(755,root,root) %{_libdir}/kde4/kcm_kdev_makebuilder.so
155 %attr(755,root,root) %{_libdir}/kde4/kcm_kdevcmake_settings.so
156 %attr(755,root,root) %{_libdir}/kde4/kdevastyle.so
157 %attr(755,root,root) %{_libdir}/kde4/kdevcmakebuilder.so
158 %attr(755,root,root) %{_libdir}/kde4/kdevcmakedocumentation.so
159 %attr(755,root,root) %{_libdir}/kde4/kdevcmakemanager.so
160 %attr(755,root,root) %{_libdir}/kde4/kdevcpplanguagesupport.so
161 %attr(755,root,root) %{_libdir}/kde4/kdevcustommakemanager.so
162 %attr(755,root,root) %{_libdir}/kde4/kdevgdb.so
163 %attr(755,root,root) %{_libdir}/kde4/kdevindent.so
164 %attr(755,root,root) %{_libdir}/kde4/kdevmakebuilder.so
165 %attr(755,root,root) %{_libdir}/kde4/kdevqthelp.so
166 %attr(755,root,root) %{_libdir}/libkdev4cmakecommon.so
167 %attr(755,root,root) %{_libdir}/libkdev4cppduchain.so
168 %attr(755,root,root) %{_libdir}/libkdev4cppparser.so
169 %attr(755,root,root) %{_libdir}/libkdev4cpprpp.so
170 %{_datadir}/apps/kdevappwizard
171 %{_datadir}/apps/kdevcmakebuilder
172 %{_datadir}/apps/kdevcmakemanager
173 %{_datadir}/apps/kdevcustommakemanager
174 %{_datadir}/apps/kdevelop
175 %dir %{_datadir}/apps/kdevgdb
176 %{_datadir}/apps/kdevgdb/kdevgdbui.rc
177 %dir %{_datadir}/apps/kdevgdb/printers
178 %{_datadir}/apps/kdevgdb/printers/gdbinit
179 %{_datadir}/apps/kdevgdb/printers/qt4.py
180 %{_datadir}/apps/kdevgdb/printers/kde4.py
181 %{_datadir}/apps/kdevgdb/printers/libstdcxx.py
182 %{_datadir}/config/kdeveloprc
183 %dir %{_datadir}/apps/kdevcppsupport
184 %{_datadir}/apps/kdevcppsupport/kdevcppsupport.rc
185 %{_datadir}/kde4/services/kcm_kdev_makebuilder.desktop
186 %{_datadir}/kde4/services/kcm_kdevcmake_settings.desktop
187 %{_datadir}/kde4/services/kdevastyle.desktop
188 %{_datadir}/kde4/services/kdevcmakebuilder.desktop
189 %{_datadir}/kde4/services/kdevcmakedocumentation.desktop
190 %{_datadir}/kde4/services/kdevcmakemanager.desktop
191 %{_datadir}/kde4/services/kdevcppsupport.desktop
192 %{_datadir}/kde4/services/kdevcustommakemanager.desktop
193 %{_datadir}/kde4/services/kdevgdb.desktop
194 %{_datadir}/kde4/services/kdevindent.desktop
195 %{_datadir}/kde4/services/kdevmakebuilder.desktop
196 %{_datadir}/kde4/services/kdevqthelp.desktop
197 %{_datadir}/mime/packages/kdevelop.xml
198 %{_desktopdir}/kdevelop.desktop
199 %{_desktopdir}/kde4/kdevelop.desktop
200 %{_iconsdir}/*/*x*/*/*.png
201 %{_includedir}/kdevelop
204 %defattr(644,root,root,755)
205 %{_datadir}/apps/cmake/modules/FindKDevelop.cmake