]> git.pld-linux.org Git - packages/ka5-kdevelop.git/blame - kde4-kdevelop.spec
- no kdebase-workspace for 4.12 yet
[packages/ka5-kdevelop.git] / kde4-kdevelop.spec
CommitLineData
31c1fc50
RT
1#
2# Conditional build:
3#
05f256a4 4%define _state stable
4e60a5e4 5%define kdever 4.12.0
8ae6555d 6%define qtver 4.8.0
31c1fc50 7%define orgname kdevelop
fbb59a12 8%define kdevplatform 1.6.0
31c1fc50
RT
9
10Summary: KDE Integrated Development Environment
11Summary(de.UTF-8): KDevelop ist eine grafische Entwicklungsumgebung für KDE
12Summary(pl.UTF-8): Zintegrowane środowisko programisty dla KDE
13Summary(pt_BR.UTF-8): Ambiente Integrado de Desenvolvimento para o KDE
14Summary(zh_CN.UTF-8): KDE C/C++集成开发环境
15Name: kde4-kdevelop
fbb59a12 16Version: 4.6.0
e76847b9 17Release: 1
31c1fc50
RT
18License: GPL
19Group: X11/Development/Tools
e76847b9 20Source0: ftp://ftp.kde.org/pub/kde/%{_state}/kdevelop/%{version}/src/%{orgname}-%{version}.tar.xz
fbb59a12 21# Source0-md5: 0c1a1e880d27990246e3bdd712db1037
31c1fc50 22URL: http://www.kdevelop.org/
e404c0a8 23BuildRequires: QtHelp-devel >= %{qtver}
24BuildRequires: QtNetwork-devel >= %{qtver}
89fa64f2 25BuildRequires: automoc4
17806885 26BuildRequires: cmake >= 2.8.0
86271305 27BuildRequires: docbook-style-xsl
57ceb2e9 28BuildRequires: gettext-devel
93a60ea8 29BuildRequires: kde4-kdebase-workspace-devel >= 4.10.0
0b4655f3 30BuildRequires: kde4-kdelibs-devel >= %{kdever}
4e60a5e4
JR
31BuildRequires: kde4-kde-dev-utils >= %{kdever}
32BuildRequires: kde4-kde-dev-scripts >= %{kdever}
33BuildRequires: kde4-kapptemplate >= %{kdever}
92f625fd 34BuildRequires: kde4-kcachegrind >= %{kdever}
4e60a5e4
JR
35BuildRequires: kde4-kdesdk-kioslaves >= %{kdever}
36BuildRequires: kde4-kdesdk-strigi-analyzers >= %{kdever}
37BuildRequires: kde4-kdesdk-thumbnailers >= %{kdever}
38BuildRequires: kde4-kompare >= %{kdever}
39BuildRequires: kde4-lokalize >= %{kdever}
85970820 40BuildRequires: kde4-okteta-devel >= %{kdever}
4e60a5e4
JR
41BuildRequires: kde4-poxml >= %{kdever}
42BuildRequires: kde4-umbrello >= %{kdever}
80b15920 43BuildRequires: kde4-kdevplatform-devel >= %{kdevplatform}
89fa64f2 44BuildRequires: libstdc++-devel >= 3.3
86271305 45BuildRequires: pkgconfig
e404c0a8 46BuildRequires: qt4-build >= %{qtver}
47BuildRequires: qt4-qmake >= %{qtver}
89fa64f2 48BuildRequires: rpm-pythonprov
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
64fc8047
BS
57%define filterout -flto
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
31c1fc50 129%prep
e891e10f 130%setup -q -n %{orgname}-%{version}
31c1fc50
RT
131
132%build
4940a978 133install -d build
31c1fc50
RT
134cd build
135%cmake \
31c1fc50
RT
136 ../
137%{__make}
138
139%install
140rm -rf $RPM_BUILD_ROOT
141
142install -d $RPM_BUILD_ROOT%{_desktopdir}
143%{__make} -C build install \
144 DESTDIR=$RPM_BUILD_ROOT \
145 kde_htmldir=%{_kdedocdir}
146
322acec0 147install app/kdevelop.desktop $RPM_BUILD_ROOT%{_desktopdir}
31c1fc50 148
ced0061a 149%find_lang %{orgname} --all-name --with-kde
8a932502 150
31c1fc50
RT
151%clean
152rm -rf $RPM_BUILD_ROOT
153
3cc6df6e
BZ
154%post
155/sbin/ldconfig
156%update_mime_database
157%update_desktop_database
158
159%postun
160/sbin/ldconfig
161%update_mime_database
162%update_desktop_database_postun
31c1fc50 163
8a932502 164%files -f %{orgname}.lang
31c1fc50 165%defattr(644,root,root,755)
31c1fc50 166%attr(755,root,root) %{_bindir}/kdevelop
3c159b18 167%attr(755,root,root) %{_bindir}/kdevelop!
31c1fc50 168%attr(755,root,root) %{_libdir}/kde4/kcm_kdev_makebuilder.so
64fc8047 169%attr(755,root,root) %{_libdir}/kde4/kcm_kdev_cmakebuilder.so
31c1fc50 170%attr(755,root,root) %{_libdir}/kde4/kcm_kdevcmake_settings.so
fbb59a12 171%attr(755,root,root) %{_libdir}/kde4/kcm_kdev_ninjabuilder.so
64fc8047 172%attr(755,root,root) %{_libdir}/kde4/kcm_kdevcustombuildsystem.so
4940a978 173%attr(755,root,root) %{_libdir}/kde4/kdevastyle.so
31c1fc50 174%attr(755,root,root) %{_libdir}/kde4/kdevcmakebuilder.so
8e2cd204 175%attr(755,root,root) %{_libdir}/kde4/kdevcmakedocumentation.so
31c1fc50 176%attr(755,root,root) %{_libdir}/kde4/kdevcmakemanager.so
31c1fc50 177%attr(755,root,root) %{_libdir}/kde4/kdevcpplanguagesupport.so
64fc8047 178%attr(755,root,root) %{_libdir}/kde4/kdevcustombuildsystem.so
31c1fc50 179%attr(755,root,root) %{_libdir}/kde4/kdevcustommakemanager.so
ced0061a 180%attr(755,root,root) %{_libdir}/kde4/kdevcustomscript.so
64fc8047 181%attr(755,root,root) %{_libdir}/kde4/kdevexecuteplasmoid.so
322acec0 182%attr(755,root,root) %{_libdir}/kde4/kdevgdb.so
fbb59a12 183%attr(755,root,root) %{_libdir}/kde4/kdevghprovider.so
8ae6555d 184%attr(755,root,root) %{_libdir}/kde4/kdevokteta.so
31c1fc50 185%attr(755,root,root) %{_libdir}/kde4/kdevmakebuilder.so
fe7c555d 186%attr(755,root,root) %{_libdir}/kde4/kdevmanpage.so
fbb59a12 187%attr(755,root,root) %{_libdir}/kde4/kdevninja.so
322acec0 188%attr(755,root,root) %{_libdir}/kde4/kdevqthelp.so
05f256a4 189%attr(755,root,root) %{_libdir}/kde4/kdevqthelp_config.so
5460ead4 190%attr(755,root,root) %{_libdir}/kde4/kdevkdeprovider.so
ced0061a 191%attr(755,root,root) %{_libdir}/kde4/krunner_kdevelopsessions.so
64fc8047 192%attr(755,root,root) %{_libdir}/kde4/plasma_engine_kdevelopsessions.so
31c1fc50
RT
193%attr(755,root,root) %{_libdir}/libkdev4cmakecommon.so
194%attr(755,root,root) %{_libdir}/libkdev4cppduchain.so
195%attr(755,root,root) %{_libdir}/libkdev4cppparser.so
196%attr(755,root,root) %{_libdir}/libkdev4cpprpp.so
31c1fc50 197%{_datadir}/apps/kdevappwizard
64fc8047 198%{_datadir}/apps/kdevcodegen/templates/*
31c1fc50 199%{_datadir}/apps/kdevcustommakemanager
31c1fc50 200%{_datadir}/apps/kdevelop
64fc8047 201%{_datadir}/apps/kdevfiletemplates/templates/*
322acec0
BZ
202%dir %{_datadir}/apps/kdevgdb
203%{_datadir}/apps/kdevgdb/kdevgdbui.rc
8e2cd204
BZ
204%dir %{_datadir}/apps/kdevgdb/printers
205%{_datadir}/apps/kdevgdb/printers/gdbinit
fbb59a12 206%{_datadir}/apps/kdevgdb/printers/helper.py
8e2cd204 207%{_datadir}/apps/kdevgdb/printers/qt4.py
e891e10f 208%{_datadir}/apps/kdevgdb/printers/kde4.py
8ae6555d 209%{_datadir}/apps/kdevokteta
64fc8047
BS
210%{_datadir}/apps/plasma/plasmoids/kdevelopsessions
211%{_datadir}/apps/plasma/services/org.kde.plasma.dataengine.kdevelopsessions.operations
31c1fc50 212%{_datadir}/config/kdeveloprc
3c159b18 213%{_datadir}/config/kdevelop-qthelp.knsrc
4940a978 214%dir %{_datadir}/apps/kdevcppsupport
26c46d8a 215%{_datadir}/apps/kdevcppsupport/kdevcppsupport.rc
64fc8047 216%{_datadir}/kde4/services/kcm_kdev_cmakebuilder.desktop
31c1fc50 217%{_datadir}/kde4/services/kcm_kdev_makebuilder.desktop
31c1fc50 218%{_datadir}/kde4/services/kcm_kdevcmake_settings.desktop
fbb59a12 219%{_datadir}/kde4/services/kcm_kdev_ninjabuilder.desktop
64fc8047 220%{_datadir}/kde4/services/kcm_kdevcustombuildsystem.desktop
4940a978 221%{_datadir}/kde4/services/kdevastyle.desktop
31c1fc50 222%{_datadir}/kde4/services/kdevcmakebuilder.desktop
8e2cd204 223%{_datadir}/kde4/services/kdevcmakedocumentation.desktop
31c1fc50 224%{_datadir}/kde4/services/kdevcmakemanager.desktop
64fc8047 225%{_datadir}/kde4/services/kdevcustombuildsystem.desktop
ced0061a 226%{_datadir}/kde4/services/kdevcustomscript.desktop
31c1fc50
RT
227%{_datadir}/kde4/services/kdevcppsupport.desktop
228%{_datadir}/kde4/services/kdevcustommakemanager.desktop
64fc8047 229%{_datadir}/kde4/services/kdevexecuteplasmoid.desktop
322acec0 230%{_datadir}/kde4/services/kdevgdb.desktop
fbb59a12 231%{_datadir}/kde4/services/kdevghprovider.desktop
31c1fc50 232%{_datadir}/kde4/services/kdevmakebuilder.desktop
fe7c555d 233%{_datadir}/kde4/services/kdevmanpage.desktop
fbb59a12 234%{_datadir}/kde4/services/kdevninja.desktop
8ae6555d 235%{_datadir}/kde4/services/kdevokteta.desktop
322acec0 236%{_datadir}/kde4/services/kdevqthelp.desktop
fe7c555d 237%{_datadir}/kde4/services/kdevqthelp_config.desktop
ced0061a 238%{_datadir}/kde4/services/kdevelopsessions.desktop
5460ead4 239%{_datadir}/kde4/services/kdevkdeprovider.desktop
64fc8047
BS
240%{_datadir}/kde4/services/plasma-applet-kdevelopsessions.desktop
241%{_datadir}/kde4/services/plasma-dataengine-kdevelopsessions.desktop
9abbb5c5 242%{_datadir}/mime/packages/kdevelop.xml
6ad423a8 243%{_desktopdir}/kdevelop.desktop
89fa64f2 244%{_desktopdir}/kde4/kdevelop.desktop
ced0061a 245%{_desktopdir}/kde4/kdevelop_ps.desktop
6ad423a8 246%{_iconsdir}/*/*x*/*/*.png
31c1fc50 247%{_includedir}/kdevelop
6ad423a8 248
249%files devel
250%defattr(644,root,root,755)
251%{_datadir}/apps/cmake/modules/FindKDevelop.cmake
This page took 0.060186 seconds and 4 git commands to generate.