]>
Commit | Line | Data |
---|---|---|
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 |
ac477e47 | 8 | %define kdevplatform 1.7.1 |
31c1fc50 RT |
9 | |
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++集成开发环境 | |
15 | Name: kde4-kdevelop | |
ac477e47 | 16 | Version: 4.7.1 |
fcc99fb8 | 17 | Release: 1 |
31c1fc50 RT |
18 | License: GPL |
19 | Group: X11/Development/Tools | |
e76847b9 | 20 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/kdevelop/%{version}/src/%{orgname}-%{version}.tar.xz |
ac477e47 | 21 | # Source0-md5: dc7e6259a999bd34ce644ffea4727e76 |
31c1fc50 | 22 | URL: http://www.kdevelop.org/ |
e404c0a8 | 23 | BuildRequires: QtHelp-devel >= %{qtver} |
24 | BuildRequires: QtNetwork-devel >= %{qtver} | |
89fa64f2 | 25 | BuildRequires: automoc4 |
fcc99fb8 | 26 | BuildRequires: cmake >= 2.8.9 |
86271305 | 27 | BuildRequires: docbook-style-xsl |
6e6fe4ab | 28 | BuildRequires: gettext-tools |
93a60ea8 | 29 | BuildRequires: kde4-kdebase-workspace-devel >= 4.10.0 |
0b4655f3 | 30 | BuildRequires: kde4-kdelibs-devel >= %{kdever} |
85970820 | 31 | BuildRequires: kde4-okteta-devel >= %{kdever} |
80b15920 | 32 | BuildRequires: kde4-kdevplatform-devel >= %{kdevplatform} |
89fa64f2 | 33 | BuildRequires: libstdc++-devel >= 3.3 |
86271305 | 34 | BuildRequires: pkgconfig |
e404c0a8 | 35 | BuildRequires: qt4-build >= %{qtver} |
36 | BuildRequires: qt4-qmake >= %{qtver} | |
89fa64f2 | 37 | BuildRequires: rpm-pythonprov |
05f256a4 | 38 | BuildRequires: rpmbuild(macros) >= 1.600 |
21807784 | 39 | BuildRequires: zlib-devel >= 1.2.0 |
31c1fc50 | 40 | BuildConflicts: star |
ff86f956 | 41 | Requires: libstdc++-gdb |
3cc6df6e BZ |
42 | Requires(post,postun): desktop-file-utils |
43 | Requires(post,postun): shared-mime-info | |
fcc99fb8 BS |
44 | #Provides svn ioslave and perl doc ioslave |
45 | Suggests: kde4-kdesdk-kioslaves >= %{kdever} | |
46 | #Provides additional project templates | |
47 | Suggests: kde4-kapptemplate >= %{kdever} | |
48 | #Provides ui viewer | |
49 | Suggests: kde4-kde-dev-utils >= %{kdever} | |
50 | Suggests: kde4-kompare >= %{kdever} | |
31c1fc50 RT |
51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
52 | ||
64fc8047 BS |
53 | %define filterout -flto |
54 | ||
31c1fc50 RT |
55 | %description |
56 | The KDevelop Integrated Development Environment provides many features | |
57 | that developers need as well as providing a unified interface to | |
58 | programs like gdb, the C/C++ compiler, and make. | |
59 | ||
60 | KDevelop manages or provides: all development tools needed for C++ | |
61 | programming like Compiler, Linker, automake and autoconf; KAppWizard, | |
62 | which generates complete, ready-to-go sample applications; | |
63 | Classgenerator, for creating new classes and integrating them into the | |
64 | current project; File management for sources, headers, documentation | |
65 | etc. to be included in the project; The creation of User-Handbooks | |
66 | written with SGML and the automatic generation of HTML-output with the | |
67 | KDE look and feel; Automatic HTML-based API-documentation for your | |
68 | project's classes with cross-references to the used libraries; | |
69 | Internationalization support for your application, allowing | |
70 | translators to easily add their target language to a project; | |
71 | ||
72 | KDevelop also includes WYSIWYG (What you see is what you get)-creation | |
73 | of user interfaces with a built-in dialog editor; Debugging your | |
74 | application by integrating KDbg; Editing of project-specific pixmaps | |
75 | with KIconEdit; The inclusion of any other program you need for | |
76 | development by adding it to the "Tools"-menu according to your | |
77 | individual needs. | |
78 | ||
79 | %description -l de.UTF-8 | |
80 | KDevelop ist eine grafische Entwicklungsumgebung für KDE. | |
81 | ||
82 | Das KDevelop-Projekt wurde 1998 begonnen, um eine einfach zu | |
c2f8406a | 83 | bedienende grafische (integrierte) Entwicklungsumgebung für C++ und C |
31c1fc50 RT |
84 | auf Unix-basierten Betriebssystemen bereitzustellen. Seit damals ist |
85 | die KDevelop-IDE öffentlich unter der GPL erhältlich und unterstützt | |
86 | u. a. Qt-, KDE-, GNOME-, C++- und C-Projekte. | |
87 | ||
88 | %description -l pl.UTF-8 | |
89 | KDevelop to zintegrowane środowisko programistyczne dla KDE, dające | |
90 | wiele możliwości przydatnych programistom oraz zunifikowany interfejs | |
91 | do programów typu gdb, kompilator C/C++ oraz make. | |
92 | ||
93 | KDevelop obsługuje lub zawiera: wszystkie narzędzia programistyczne | |
94 | potrzebne do programowania w C++ jak kompilator, linker, automake, | |
95 | autoconf; KAppWizard, generujący kompletne, gotowe do uruchomienia, | |
96 | proste aplikacje; Classgenerator do tworzenia nowych klas i włączania | |
97 | ich do projektu; zarządzanie plikami źródłowymi, nagłówkowymi, | |
98 | dokumentacją itp.; tworzenie podręczników użytkownika pisanych w SGML | |
99 | i automatyczne generowanie wyjścia HTML pasującego do KDE; | |
100 | automatyczne tworzenie dokumentacji API w HTML do klas projektu z | |
101 | odniesieniami do używanych bibliotek; wsparcie dla | |
102 | internacjonalizacji, pozwalające tłumaczom łatwo dodawać pliki z | |
103 | tłumaczeniami do projektu. | |
104 | ||
105 | KDevelop ma także tworzenie interfejsów użytkownika przy użyciu | |
106 | edytora dialogów WYSIWYG; odpluskwianie aplikacji poprzez integrację z | |
107 | KDbg; edycję ikon przy pomocy KIconEdit; dołączanie innych programów | |
108 | potrzebnych do programowania przez dodanie ich do menu Tools według | |
109 | własnych potrzeb. | |
110 | ||
6ad423a8 | 111 | %package devel |
112 | Summary: kdevelop - header files and development documentation | |
113 | Summary(pl.UTF-8): kdevelop - pliki nagłówkowe i dokumentacja | |
114 | Group: X11/Development/Libraries | |
115 | Requires: %{name} = %{version}-%{release} | |
116 | ||
117 | %description devel | |
118 | This package contains header files and development documentation for | |
119 | kdevelop. | |
120 | ||
121 | %description devel -l pl.UTF-8 | |
122 | Pakiet ten zawiera pliki nagłówkowe i dokumentację potrzebną przy | |
123 | pisaniu własnych programów wykorzystujących kdevelop. | |
124 | ||
31c1fc50 | 125 | %prep |
e891e10f | 126 | %setup -q -n %{orgname}-%{version} |
31c1fc50 RT |
127 | |
128 | %build | |
4940a978 | 129 | install -d build |
31c1fc50 RT |
130 | cd build |
131 | %cmake \ | |
31c1fc50 RT |
132 | ../ |
133 | %{__make} | |
134 | ||
135 | %install | |
136 | rm -rf $RPM_BUILD_ROOT | |
137 | ||
138 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
139 | %{__make} -C build install \ | |
140 | DESTDIR=$RPM_BUILD_ROOT \ | |
141 | kde_htmldir=%{_kdedocdir} | |
142 | ||
322acec0 | 143 | install app/kdevelop.desktop $RPM_BUILD_ROOT%{_desktopdir} |
31c1fc50 | 144 | |
ced0061a | 145 | %find_lang %{orgname} --all-name --with-kde |
8a932502 | 146 | |
31c1fc50 RT |
147 | %clean |
148 | rm -rf $RPM_BUILD_ROOT | |
149 | ||
3cc6df6e BZ |
150 | %post |
151 | /sbin/ldconfig | |
152 | %update_mime_database | |
153 | %update_desktop_database | |
154 | ||
155 | %postun | |
156 | /sbin/ldconfig | |
157 | %update_mime_database | |
158 | %update_desktop_database_postun | |
31c1fc50 | 159 | |
8a932502 | 160 | %files -f %{orgname}.lang |
31c1fc50 | 161 | %defattr(644,root,root,755) |
31c1fc50 | 162 | %attr(755,root,root) %{_bindir}/kdevelop |
3c159b18 | 163 | %attr(755,root,root) %{_bindir}/kdevelop! |
31c1fc50 | 164 | %attr(755,root,root) %{_libdir}/kde4/kcm_kdev_makebuilder.so |
64fc8047 | 165 | %attr(755,root,root) %{_libdir}/kde4/kcm_kdev_cmakebuilder.so |
31c1fc50 | 166 | %attr(755,root,root) %{_libdir}/kde4/kcm_kdevcmake_settings.so |
fbb59a12 | 167 | %attr(755,root,root) %{_libdir}/kde4/kcm_kdev_ninjabuilder.so |
64fc8047 | 168 | %attr(755,root,root) %{_libdir}/kde4/kcm_kdevcustombuildsystem.so |
52c373e5 | 169 | %attr(755,root,root) %{_libdir}/kde4/kcm_kdevcustomdefinesandincludes.so |
4940a978 | 170 | %attr(755,root,root) %{_libdir}/kde4/kdevastyle.so |
31c1fc50 | 171 | %attr(755,root,root) %{_libdir}/kde4/kdevcmakebuilder.so |
8e2cd204 | 172 | %attr(755,root,root) %{_libdir}/kde4/kdevcmakedocumentation.so |
31c1fc50 | 173 | %attr(755,root,root) %{_libdir}/kde4/kdevcmakemanager.so |
31c1fc50 | 174 | %attr(755,root,root) %{_libdir}/kde4/kdevcpplanguagesupport.so |
64fc8047 | 175 | %attr(755,root,root) %{_libdir}/kde4/kdevcustombuildsystem.so |
31c1fc50 | 176 | %attr(755,root,root) %{_libdir}/kde4/kdevcustommakemanager.so |
ced0061a | 177 | %attr(755,root,root) %{_libdir}/kde4/kdevcustomscript.so |
52c373e5 | 178 | %attr(755,root,root) %{_libdir}/kde4/kdevdefinesandincludesmanager.so |
64fc8047 | 179 | %attr(755,root,root) %{_libdir}/kde4/kdevexecuteplasmoid.so |
322acec0 | 180 | %attr(755,root,root) %{_libdir}/kde4/kdevgdb.so |
fbb59a12 | 181 | %attr(755,root,root) %{_libdir}/kde4/kdevghprovider.so |
8ae6555d | 182 | %attr(755,root,root) %{_libdir}/kde4/kdevokteta.so |
31c1fc50 | 183 | %attr(755,root,root) %{_libdir}/kde4/kdevmakebuilder.so |
fe7c555d | 184 | %attr(755,root,root) %{_libdir}/kde4/kdevmanpage.so |
fbb59a12 | 185 | %attr(755,root,root) %{_libdir}/kde4/kdevninja.so |
322acec0 | 186 | %attr(755,root,root) %{_libdir}/kde4/kdevqthelp.so |
05f256a4 | 187 | %attr(755,root,root) %{_libdir}/kde4/kdevqthelp_config.so |
5460ead4 | 188 | %attr(755,root,root) %{_libdir}/kde4/kdevkdeprovider.so |
ced0061a | 189 | %attr(755,root,root) %{_libdir}/kde4/krunner_kdevelopsessions.so |
64fc8047 | 190 | %attr(755,root,root) %{_libdir}/kde4/plasma_engine_kdevelopsessions.so |
31c1fc50 RT |
191 | %attr(755,root,root) %{_libdir}/libkdev4cmakecommon.so |
192 | %attr(755,root,root) %{_libdir}/libkdev4cppduchain.so | |
193 | %attr(755,root,root) %{_libdir}/libkdev4cppparser.so | |
194 | %attr(755,root,root) %{_libdir}/libkdev4cpprpp.so | |
ac477e47 | 195 | %attr(755,root,root) %{_libdir}/libkdevcompilerprovider.so |
31c1fc50 | 196 | %{_datadir}/apps/kdevappwizard |
64fc8047 | 197 | %{_datadir}/apps/kdevcodegen/templates/* |
31c1fc50 | 198 | %{_datadir}/apps/kdevcustommakemanager |
31c1fc50 | 199 | %{_datadir}/apps/kdevelop |
64fc8047 | 200 | %{_datadir}/apps/kdevfiletemplates/templates/* |
322acec0 BZ |
201 | %dir %{_datadir}/apps/kdevgdb |
202 | %{_datadir}/apps/kdevgdb/kdevgdbui.rc | |
8e2cd204 BZ |
203 | %dir %{_datadir}/apps/kdevgdb/printers |
204 | %{_datadir}/apps/kdevgdb/printers/gdbinit | |
fbb59a12 | 205 | %{_datadir}/apps/kdevgdb/printers/helper.py |
8e2cd204 | 206 | %{_datadir}/apps/kdevgdb/printers/qt4.py |
e891e10f | 207 | %{_datadir}/apps/kdevgdb/printers/kde4.py |
52c373e5 BS |
208 | %dir %{_datadir}/apps/kdevmanpage |
209 | %{_datadir}/apps/kdevmanpage/manpagedocumentation.css | |
8ae6555d | 210 | %{_datadir}/apps/kdevokteta |
64fc8047 BS |
211 | %{_datadir}/apps/plasma/plasmoids/kdevelopsessions |
212 | %{_datadir}/apps/plasma/services/org.kde.plasma.dataengine.kdevelopsessions.operations | |
31c1fc50 | 213 | %{_datadir}/config/kdeveloprc |
3c159b18 | 214 | %{_datadir}/config/kdevelop-qthelp.knsrc |
4940a978 | 215 | %dir %{_datadir}/apps/kdevcppsupport |
26c46d8a | 216 | %{_datadir}/apps/kdevcppsupport/kdevcppsupport.rc |
64fc8047 | 217 | %{_datadir}/kde4/services/kcm_kdev_cmakebuilder.desktop |
31c1fc50 | 218 | %{_datadir}/kde4/services/kcm_kdev_makebuilder.desktop |
31c1fc50 | 219 | %{_datadir}/kde4/services/kcm_kdevcmake_settings.desktop |
fbb59a12 | 220 | %{_datadir}/kde4/services/kcm_kdev_ninjabuilder.desktop |
64fc8047 | 221 | %{_datadir}/kde4/services/kcm_kdevcustombuildsystem.desktop |
52c373e5 | 222 | %{_datadir}/kde4/services/kcm_kdevcustomdefinesandincludes.desktop |
4940a978 | 223 | %{_datadir}/kde4/services/kdevastyle.desktop |
31c1fc50 | 224 | %{_datadir}/kde4/services/kdevcmakebuilder.desktop |
8e2cd204 | 225 | %{_datadir}/kde4/services/kdevcmakedocumentation.desktop |
31c1fc50 | 226 | %{_datadir}/kde4/services/kdevcmakemanager.desktop |
64fc8047 | 227 | %{_datadir}/kde4/services/kdevcustombuildsystem.desktop |
ced0061a | 228 | %{_datadir}/kde4/services/kdevcustomscript.desktop |
31c1fc50 RT |
229 | %{_datadir}/kde4/services/kdevcppsupport.desktop |
230 | %{_datadir}/kde4/services/kdevcustommakemanager.desktop | |
52c373e5 | 231 | %{_datadir}/kde4/services/kdevdefinesandincludesmanager.desktop |
64fc8047 | 232 | %{_datadir}/kde4/services/kdevexecuteplasmoid.desktop |
322acec0 | 233 | %{_datadir}/kde4/services/kdevgdb.desktop |
fbb59a12 | 234 | %{_datadir}/kde4/services/kdevghprovider.desktop |
31c1fc50 | 235 | %{_datadir}/kde4/services/kdevmakebuilder.desktop |
fe7c555d | 236 | %{_datadir}/kde4/services/kdevmanpage.desktop |
fbb59a12 | 237 | %{_datadir}/kde4/services/kdevninja.desktop |
8ae6555d | 238 | %{_datadir}/kde4/services/kdevokteta.desktop |
322acec0 | 239 | %{_datadir}/kde4/services/kdevqthelp.desktop |
fe7c555d | 240 | %{_datadir}/kde4/services/kdevqthelp_config.desktop |
ced0061a | 241 | %{_datadir}/kde4/services/kdevelopsessions.desktop |
5460ead4 | 242 | %{_datadir}/kde4/services/kdevkdeprovider.desktop |
64fc8047 BS |
243 | %{_datadir}/kde4/services/plasma-applet-kdevelopsessions.desktop |
244 | %{_datadir}/kde4/services/plasma-dataengine-kdevelopsessions.desktop | |
9abbb5c5 | 245 | %{_datadir}/mime/packages/kdevelop.xml |
6ad423a8 | 246 | %{_desktopdir}/kdevelop.desktop |
89fa64f2 | 247 | %{_desktopdir}/kde4/kdevelop.desktop |
ced0061a | 248 | %{_desktopdir}/kde4/kdevelop_ps.desktop |
6ad423a8 | 249 | %{_iconsdir}/*/*x*/*/*.png |
31c1fc50 | 250 | %{_includedir}/kdevelop |
6ad423a8 | 251 | |
252 | %files devel | |
253 | %defattr(644,root,root,755) | |
254 | %{_datadir}/apps/cmake/modules/FindKDevelop.cmake |