kdevelop-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  1. Name: kdevelop
  2. Summary: Integrated Development Environment for C++/C
  3. Summary(ja): C++/C 向け統合開発環境
  4. Version: 4.0.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. URL: http://www.kdevelop.org/
  8. Group: Applications/Development
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/kdevelop/%{version}/src/%{name}-%{version}.tar.bz2
  10. Source1: ftp://ftp.kde.org/pub/kde/stable/kdevelop/%{version}/src/%{name}-%{version}.tar.bz2.md5sum
  11. #Source1: kdevelop
  12. #Source2: kdevelop-htdig.conf
  13. # fixing https://bugs.kde.org/show_bug.cgi?id=236315
  14. Patch100: kdevelop-4.0.0-qmake_qt4.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: desktop-file-utils
  17. BuildRequires: gettext
  18. BuildRequires: kdebase-workspace-devel
  19. BuildRequires: kdevplatform-devel >= 1.0.0
  20. BuildRequires: kdelibs4-devel
  21. BuildRequires: valgrind
  22. Requires: %{name}-libs = %{version}-%{release}
  23. Requires: kdevplatform >= 1.0.0
  24. %description
  25. The KDevelop Integrated Development Environment provides many features
  26. that developers need as well as providing a unified interface to programs
  27. like gdb, the C/C++ compiler, and make. KDevelop manages or provides:
  28. All development tools needed for C++ programming like Compiler,
  29. Linker, automake and autoconf; KAppWizard, which generates complete,
  30. ready-to-go sample applications; Classgenerator, for creating new
  31. classes and integrating them into the current project; File management
  32. for sources, headers, documentation etc. to be included in the
  33. project; The creation of User-Handbooks written with SGML and the
  34. automatic generation of HTML-output with the KDE look and feel;
  35. Automatic HTML-based API-documentation for your project's classes with
  36. cross-references to the used libraries; Internationalization support
  37. for your application, allowing translators to easily add their target
  38. language to a project;
  39. KDevelop also includes WYSIWYG (What you see is what you get)-creation
  40. of user interfaces with a built-in dialog editor; Debugging your
  41. application by integrating KDbg; Editing of project-specific pixmaps
  42. with KIconEdit; The inclusion of any other program you need for
  43. development by adding it to the "Tools"-menu according to your
  44. individual needs.
  45. %package libs
  46. Summary: %{name} runtime libraries
  47. Group: System Environment/Libraries
  48. #Requires: %{name} = %{version}-%{release}
  49. Requires: kdelibs4
  50. %description libs
  51. %{summary}.
  52. %package devel
  53. Summary: Development files for %{name}
  54. Group: Development/Libraries
  55. Requires: %{name}-libs = %{version}-%{release}
  56. %description devel
  57. %{summary}.
  58. %prep
  59. %setup -q
  60. %patch100 -p1 -b .qmake_qt4
  61. %build
  62. mkdir -p %{_target_platform}
  63. pushd %{_target_platform}
  64. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  65. %cmake \
  66. -DCMAKE_BUILD_TYPE=release \
  67. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  68. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  69. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  70. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  71. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  72. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  73. ..
  74. popd
  75. make %{?_smp_mflags} -C %{_target_platform}
  76. %install
  77. rm -rf $RPM_BUILD_ROOT
  78. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  79. %find_lang %{name} --all-name --with-kde
  80. %clean
  81. rm -rf $RPM_BUILD_ROOT
  82. %post
  83. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  84. %postun
  85. if [ $1 -eq 0 ] ; then
  86. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  87. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  88. update-desktop-database -q &> /dev/null
  89. update-mime-database %{_datadir}/mime &> /dev/null
  90. fi
  91. %posttrans
  92. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  93. update-desktop-database -q &> /dev/null
  94. update-mime-database %{_datadir}/mime &> /dev/null
  95. %post libs -p /sbin/ldconfig
  96. %postun libs -p /sbin/ldconfig
  97. %files -f %{name}.lang
  98. %defattr(-,root,root)
  99. %{_bindir}/*
  100. %config %{_datadir}/config/kdeveloprc
  101. %{_datadir}/applications/kde4/*.desktop
  102. %{_datadir}/kde4/apps/kdev*/
  103. %{_datadir}/kde4/services/*.desktop
  104. %{_datadir}/icons/hicolor/*/*/*
  105. %{_datadir}/mime/packages/kdevelop.xml
  106. #{_datadir}/servicetypes/*
  107. #doc %{_datadir}/doc/HTML/en/*
  108. %files libs
  109. %defattr(-,root,root,-)
  110. %{_libdir}/lib*.so
  111. %{_libdir}/kde4/*.so
  112. %files devel
  113. %defattr(-,root,root,-)
  114. %{_datadir}/kde4/apps/cmake/modules/FindKDevelop.cmake
  115. %{_includedir}/kde4/kdevelop/
  116. %changelog
  117. * Sat May 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.0.0-1
  118. - new upstream release
  119. - split shared libraries and header files
  120. * Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.4-1
  121. - new upstream release
  122. - applied new versioning policy, spec in UTF-8
  123. - changed Group to Applications/Development
  124. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl2
  125. - rebuild for VineSeed
  126. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.5-0vl1
  127. - new upstream release
  128. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl2
  129. - rebuild for VineSeed
  130. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.4-0vl1
  131. - new upstream release
  132. * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl2
  133. - rebuild for VineSeed
  134. * Fri Jun 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.3-0vl1
  135. - new upstream release
  136. - use ap?-config for Vine3.x and use ap?-1-config for VineSeed
  137. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
  138. - rebuild for VineSeed
  139. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
  140. - new upstream release
  141. * Mon Feb 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
  142. - rebuild for VineSeed
  143. * Mon Feb 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
  144. - new upstream release
  145. * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.0-0vl2
  146. - rebuild for VineSeed
  147. * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.0-0vl1
  148. - new upstream release
  149. - add BuildPrereq: apache2-devel subversion-devel
  150. * Tue Nov 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.0-0vl0.rc1
  151. - new upstream release
  152. * Tue Oct 18 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.92-0vl1
  153. - new upstream release
  154. - delete Patch0
  155. * Thu Sep 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.91-0vl1
  156. - new upstream release
  157. - add Patch0
  158. - update %%files
  159. * Mon Jul 25 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl2
  160. - rebuild for VineSeed
  161. * Mon Jul 25 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
  162. - new upstream release
  163. * Tue Jul 5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl2
  164. - rebuild for VineSeed
  165. * Tue Jul 5 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
  166. - new upstream release
  167. - add --disable-rpath to configure option
  168. - remove BuildPrereq: qt-static
  169. * Sun Mar 20 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.0-0vl2
  170. - rebuild for VineSeed
  171. * Sun Mar 20 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.0-0vl1
  172. - new upstream release
  173. - update %%files
  174. - add +w to %%{_prefix}/kdevbdb/*
  175. * Sun Jan 2 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl2
  176. - rebuild for VineSeed
  177. * Sun Jan 2 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl1
  178. - new upstream release
  179. - update %%files
  180. * Thu Oct 21 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl1
  181. - source upgrade
  182. - add BuildPrereq: qt-static
  183. * Wed Aug 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.4-0vl2
  184. - rebuild with qt32
  185. * Wed Jun 16 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.4-0vl1
  186. - source upgrade
  187. - remove lines about vine26
  188. * Sat May 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.3-0vl1
  189. - source upgrade
  190. - add Requires: ctags
  191. * Tue Mar 23 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.2-0vl1
  192. - source upgrade
  193. - remove all patches
  194. - remove c references
  195. - add Requires: htdig
  196. * Fri Feb 20 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.5-0vl0
  197. - change spec to build both VineSeed and Vine2.5/2.6
  198. - change configure options
  199. - add %%clean section
  200. - add Requires: kdbg kdoc kdegraphics kdeutils kdesdk
  201. * Tue Dec 16 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.5-0vl1
  202. - source upgrade
  203. - change spec to build both VineSeed and Vine2.5/2.6
  204. - change configure option (add -enable--final, remove -enable--debug)
  205. - update %%files section
  206. * Thu Oct 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.3-0vl1
  207. - source upgrade
  208. - remove patch1 (rejected)
  209. * Sat Oct 19 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.1.2-0vl2
  210. - BuildPrereq: autoconf253 objprelink2 instead of autoconf252 objprelink
  211. * Sun Jul 14 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.1.2-0vl1
  212. - source upgrade
  213. - revised Source1
  214. - remove Patch1 and Patch4
  215. * Sun Jul 14 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.1.1-3vl1
  216. - merged with rawhide 2.1.1-3
  217. - clean up spec
  218. - add BuildPrereq: objprelink (i386 only)
  219. - remove Obsoletes: kdevelop-c_c++_ref
  220. - add BuildPrereq: autoconf252 automake15
  221. - There is Vine's previous changes, hacked for Vine
  222. -- Sat Mar 23 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.0.2-2vl1
  223. - build for VineSeed
  224. - delete Epoch
  225. - update Patch1 and delete Patch2
  226. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  227. - automated rebuild
  228. * Wed Jun 19 2002 Than Ngo <than@redhat.com> 2.1.1-2
  229. - don't forcibly strip binaries
  230. * Sun Jun 2 2002 Than Ngo <than@redhat.com> 2.1.1-1
  231. - 2.1.1
  232. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  233. - automated rebuild
  234. * Thu May 23 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.1-3
  235. - Use automake15
  236. * Tue Apr 16 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.1-2
  237. - Change sonames
  238. * Wed Mar 27 2002 Than Ngo <than@redhat.com> 2.1-1
  239. - final
  240. * Wed Mar 27 2002 Than Ngo <than@redhat.com> 2.1-0.cvs20020326.1
  241. - update
  242. * Wed Mar 20 2002 Than Ngo <than@redhat.com> 2.1rc3-1
  243. - update to 2.1rc3
  244. * Sun Mar 17 2002 Than Ngo <than@redhat.com> 2.1rc2-1
  245. - update to 2.1rc2
  246. * Sun Mar 10 2002 Than Ngo <than@redhat.com> 2.1beta2-3
  247. - rebuild against new kdelibs
  248. * Sun Mar 10 2002 Than Ngo <than@redhat.com> 2.1beta2-2
  249. - fixed Strange characters appear in the output window (bug #59217)
  250. - fixed return-line feed sign in Kdevelop setup tool (bug #55032)
  251. * Wed Mar 8 2002 Than Ngo <than@redhat.com> 2.1beta2-1
  252. - update to 2.1beta2
  253. * Wed Jan 16 2002 Than Ngo <than@redhat.com> 2.1beta1-2
  254. - rebuild against new kdelibs
  255. * Wed Jan 9 2002 Than Ngo <than@redhat.com> 2.1beta1-1
  256. - update to 2.1 beta1
  257. - fix build against gcc 3
  258. - fix some typo bugs
  259. - get rid of libkfile
  260. - update c_cpp_reference to 2.0.1
  261. * Mon Oct 22 2001 Than Ngo <than@redhat.com> 2.0-1
  262. - add patch to show non lattin1 font in build-in editor correct (bug #54457)
  263. * Sat Sep 22 2001 Than Ngo <than@redhat.com> 2.0-2
  264. - fix a bug in creating documentation index when running KDevelop Setup (bug #52760)
  265. - backport some major bugfixes from 2.0.1
  266. * Mon Jul 30 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.0-0.cvs20010730.1
  267. - Don't crash on startup
  268. * Tue Jul 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.0-0.cvs20010724.1
  269. - Fix file list
  270. * Mon Jul 23 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.0-0.cvs20010723.1
  271. - Update
  272. * Mon Feb 26 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  273. - Yet another respin - printing was broken.
  274. * Sat Feb 24 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  275. - Update the C/C++ reference guide docs. The older version had a
  276. couple of examples that won't work with gcc 2.96-*
  277. * Thu Feb 22 2001 Than Ngo <than@redhat.com>
  278. - fix version number
  279. * Wed Feb 21 2001 Than Ngo <than@redhat.com>
  280. - 1.4-respin
  281. * Tue Feb 20 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  282. - 1.4
  283. * Wed Feb 14 2001 Than Ngo <than@redhat.com>
  284. - update (only bugfixes)
  285. - fix up kdelibs documentation path
  286. - fix a dependency problem with kde-i18n package (Bug #27675)
  287. - add qt-designer into requires
  288. * Sun Feb 11 2001 Than Ngo <than@redhat.com>
  289. - fixed to build on s390
  290. * Tue Feb 06 2001 Than Ngo <than@redhat.com>
  291. - update, only bugfixes
  292. * Wed Jan 24 2001 Than Ngo <than@redhat.com>
  293. - hacked for building of KDE references
  294. * Tue Jan 23 2001 Than Ngo <than@redhat.com>
  295. - work-around to build on alpha
  296. * Mon Jan 22 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  297. - Update
  298. * Wed Jan 10 2001 Than Ngo <than@redhat.com>
  299. - update new snapshot, only require KDE2/Qt2
  300. * Fri Dec 22 2000 Than Ngo <than@redhat.com>
  301. - fixed dependency problem with kde-i18n
  302. * Thu Dec 21 2000 Than Ngo <than@redhat.com>
  303. - updated to 1.4beta1 with KDE2 support
  304. - fixed to build on s390
  305. - fixed some broken codes
  306. * Fri Dec 8 2000 Than Ngo <than@redhat.com>
  307. - fixed for building on ia64
  308. * Wed Nov 15 2000 Than Ngo <than@redhat.com>
  309. - build snapshot 20001112, it works now with KDE2 and kde1-compat
  310. - fix libtool to build on sparc and alpha
  311. - don't use make -j
  312. * Sun Aug 13 2000 Than Ngo <than@redhat.com>
  313. - fix kdelibsdoc-dir to show kdelibs-1.1.2 html docu correct
  314. * Tue Aug 01 2000 Than Ngo <than@redhat.de>
  315. - add missing ldconfig in %post and %postun section (Bug #14924)
  316. - add missing C references stuff to kdevelop
  317. * Sun Jul 30 2000 Than Ngo <than@redhat.de>
  318. - rebuilt against compat-egcs-c++, put KDE1 under /usr
  319. - cleanup specfile
  320. * Tue Jul 25 2000 Than Ngo <than@redhat.de>
  321. - fix dependency problem
  322. * Wed Jul 19 2000 Than Ngo <than@redhat.de>
  323. - rebuilt against compat-libstdc++
  324. * Mon Jul 17 2000 Than Ngo <than@redhat.de>
  325. - install under /usr/share instead /usr/lib/kde1-compat/share,
  326. fix dependency problem
  327. * Sat Jul 15 2000 Than Ngo <than@redhat.de>
  328. - rebuilt with egcs-c++-1.1.2
  329. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  330. - automatic rebuild
  331. * Mon Jul 03 2000 Than Ngo <than@redhat.de>
  332. - fix docdir
  333. - add requires kdebase
  334. * Sun Jul 02 2000 Than Ngo <than@redhat.de>
  335. - rebuilt with kde1-compat
  336. * Sun Jun 18 2000 Than Ngo <than@redhat.de>
  337. - rebuilt in the new build environment, fix docdir
  338. - FHS packaging
  339. * Thu Jun 08 2000 Than Ngo <than@redhat.de>
  340. - update to 1.2
  341. - move from powertools to main CD
  342. - use %%configure
  343. * Mon Apr 3 2000 Ngo Than <than@redhat.de>
  344. - fix up reference (Bug #10368)
  345. * Tue Feb 15 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  346. - Fix up documentation path (Bug #7291)
  347. - Update to current stable branch - this should fix up the debugger problem
  348. - clean up spec file
  349. * Fri Jan 6 2000 Bernhard Rosenkr舅zer <bero@redhat.com>
  350. - Update to current stable branch
  351. - Adapt to 6.2 Qt libraries
  352. - Use BuildPrereq
  353. * Wed Jan 05 2000 Ngo Than <than@redhat.de>
  354. - added patch for alpha
  355. * Tue Dec 21 1999 Ngo Than <than@redhat.de>
  356. - updated kdevelop-1.0 release
  357. * Tue Nov 16 1999 Preston Brown <pbrown@redhat.com>
  358. - kdevelop 1.0beta4.1, docdir added, using DESTDIR env. variable.
  359. * Thu Sep 09 1999 Preston Brown <pbrown@redhat.com>
  360. - initial packaging for 6.1.