kdesdk-vl.spec 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483
  1. Name: kdesdk
  2. Version: 4.3.3
  3. Release: 1%{?_dist_release}
  4. Summary: The KDE Software Development Kit (SDK)
  5. Summary(ja): KDE ソフトウェア開発キット
  6. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
  7. URL: http://www.kde.org/
  8. License: GPLv2
  9. Group: Applications/Development
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdepimlibs-devel >= %{version}
  12. BuildRequires: plasma-devel >= %{version}
  13. BuildRequires: strigi-devel
  14. BuildRequires: flex
  15. BuildRequires: apr-devel
  16. BuildRequires: libxml2-devel
  17. BuildRequires: libxslt-devel
  18. BuildRequires: libtool-ltdl-devel
  19. BuildRequires: subversion-devel
  20. BuildRequires: libboost-devel
  21. BuildRequires: libical-devel
  22. # for libiberty (used by kmtrace for cp_demangle)
  23. # IMPORTANT: check licensing from time to time, currently libiberty is still
  24. # GPLv2+/LGPLv2+
  25. BuildRequires: binutils
  26. Requires: kdepimlibs >= %{version}
  27. Requires: %{name}-libs = %{version}-%{release}
  28. Provides: kaider = %{version}-%{release}
  29. Obsoletes: kaider < %{version}-%{release}
  30. %description
  31. This is a collection of applications and tools used by KDE developers.
  32. It also has example code for use in learning KDE programming or starting
  33. a new KDE application.
  34. * cervisia: a CVS frontend
  35. * kate: advanced text editor
  36. * kbugbuster: a tool to manage the KDE bug report system
  37. * kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind)
  38. * kompare: diff tool
  39. * kuiviewer: displays designer's UI files
  40. * lokalize: computer-aided translation system focusing on productivity and performance
  41. * umbrello: UML modeller and UML diagram tool
  42. %package libs
  43. Summary: Runtime libraries for %{name}
  44. Group: System Environment/Libraries
  45. %description libs
  46. %{summary}.
  47. %package devel
  48. Summary: Development files for kdesdk.
  49. Group: Development/Libraries
  50. Requires: %{name}-libs = %{version}-%{release}
  51. Requires: kdepimlibs-devel
  52. %description devel
  53. Development files (headers) for kdesdk.
  54. %package utils
  55. Summary: Text utilities from %{name}
  56. Group: Applications/Text
  57. %description utils
  58. %{summary}, including:
  59. po2xml
  60. split2po
  61. swappo
  62. xml2pot
  63. %prep
  64. %setup -q
  65. %build
  66. mkdir -p %{_target_platform}
  67. pushd %{_target_platform}
  68. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  69. %cmake \
  70. -DCMAKE_BUILD_TYPE=release \
  71. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  72. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  73. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  74. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  75. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  76. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  77. ..
  78. popd
  79. make %{?_smp_mflags} -C %{_target_platform}
  80. %install
  81. rm -rf $RPM_BUILD_ROOT
  82. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  83. # unpackaged files
  84. rm -f $RPM_BUILD_ROOT%{_libdir}/libantlr.so
  85. # This one fits better into krazy2 (it requires krazy2), and the version in
  86. # kdesdk does not understand lib64.
  87. rm -f $RPM_BUILD_ROOT%{_bindir}/krazy-licensecheck
  88. # move devel symlinks
  89. mkdir -p $RPM_BUILD_ROOT%{_libdir}/kde4/devel
  90. pushd $RPM_BUILD_ROOT%{_libdir}
  91. for i in lib*.so
  92. do
  93. case "$i" in
  94. libkateinterfaces.so)
  95. linktarget=`readlink "$i"`
  96. rm -f "$i"
  97. ln -sf "../../$linktarget" "kde4/devel/$i"
  98. ;;
  99. esac
  100. done
  101. popd
  102. %clean
  103. rm -rf $RPM_BUILD_ROOT
  104. %post
  105. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  106. touch --no-create %{_datadir}/icons/locolor &> /dev/null ||:
  107. touch --no-create %{_datadir}/icons/oxygen &> /dev/null ||:
  108. %posttrans
  109. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  110. gtk-update-icon-cache %{_datadir}/icons/locolor &> /dev/null ||:
  111. gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null ||:
  112. update-desktop-database -q &> /dev/null ||:
  113. %postun
  114. if [ $1 -eq 0 ] ; then
  115. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  116. touch --no-create %{_datadir}/icons/locolor &> /dev/null ||:
  117. touch --no-create %{_datadir}/icons/oxygen &> /dev/null ||:
  118. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  119. gtk-update-icon-cache %{_datadir}/icons/locolor &> /dev/null ||:
  120. gtk-update-icon-cache %{_datadir}/icons/oxygen &> /dev/null ||:
  121. update-desktop-database -q &> /dev/null ||:
  122. fi
  123. %post libs -p /sbin/ldconfig
  124. %postun libs -p /sbin/ldconfig
  125. %files
  126. %defattr(-,root,root)
  127. %doc COPYING README kdepalettes
  128. %doc /usr/share/doc/HTML/en/*
  129. %{_bindir}/*
  130. # -utils
  131. %exclude %{_bindir}/po2xml
  132. %exclude %{_bindir}/split2po
  133. %exclude %{_bindir}/swappo
  134. %exclude %{_bindir}/xml2pot
  135. %{_datadir}/config/*
  136. %{_datadir}/kde4/apps/cervisia
  137. %{_datadir}/kde4/apps/cervisiapart
  138. %{_datadir}/kde4/apps/kabc
  139. %{_datadir}/kde4/apps/katepart
  140. %{_datadir}/kde4/apps/kate
  141. %{_datadir}/kde4/apps/kbugbuster
  142. %{_datadir}/kde4/apps/kcachegrind
  143. %{_datadir}/kde4/apps/kconf_update
  144. %{_datadir}/kde4/apps/kio_perldoc
  145. %{_datadir}/kde4/apps/kdevappwizard
  146. #{_datadir}/kde4/apps/kmtrace
  147. %{_datadir}/kde4/apps/kompare
  148. %{_datadir}/kde4/apps/kpartloader
  149. %{_datadir}/kde4/apps/kuiviewer
  150. %{_datadir}/kde4/apps/kuiviewerpart
  151. %{_datadir}/kde4/apps/lokalize
  152. %{_datadir}/kde4/apps/umbrello
  153. %{_datadir}/applications/kde4/*
  154. %{_datadir}/config.kcfg/*
  155. %{_datadir}/dbus-1/interfaces/*
  156. %{_datadir}/kde4/services/*
  157. %{_datadir}/kde4/servicetypes/*
  158. %{_datadir}/icons/hicolor/*/*/*
  159. %{_datadir}/icons/locolor/*/*/*
  160. %{_datadir}/icons/oxygen/*/*/*
  161. %{_mandir}/man1/*
  162. %{_libdir}/libkdeinit4*.so
  163. %{_libdir}/libkomparedialogpages.so
  164. %{_libdir}/libkomparediff2.so
  165. %{_libdir}/strigi/*.so
  166. %{_datadir}/strigi/fieldproperties/
  167. %{_libdir}/kde4/*.so
  168. # -devel
  169. %exclude %{_libdir}/kde4/devel/
  170. %files libs
  171. %defattr(-,root,root,-)
  172. %{_libdir}/lib*.so.*
  173. # -utils
  174. %exclude %{_libdir}/libantlr.so.*
  175. %files devel
  176. %defattr(-,root,root)
  177. %{_includedir}/kde4/*
  178. %{_libdir}/lib*.so
  179. %exclude %{_libdir}/libkomparedialogpages.so
  180. %exclude %{_libdir}/libkomparediff2.so
  181. %{_libdir}/kde4/devel/lib*.so
  182. %files utils
  183. %defattr(-,root,root,-)
  184. %{_bindir}/po2xml
  185. %{_bindir}/split2po
  186. %{_bindir}/swappo
  187. %{_bindir}/xml2pot
  188. %{_libdir}/libantlr.so.*
  189. %changelog
  190. * Wed Nov 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1
  191. - new upstream release
  192. * Mon Oct 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-1
  193. - new upstream release
  194. * Thu Sep 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.1-1
  195. - new upstream release
  196. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.0-1
  197. - new upstream release
  198. * Wed May 13 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1
  199. - applied new versioning policy
  200. - changed Group to Applications/Development
  201. * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2
  202. - rebuild for VineSeed
  203. * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1
  204. - new upstream release
  205. - disable subversion support
  206. * Wed Jun 27 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2
  207. - build for VineSeed
  208. - added --with-qt-libraries configure option
  209. * Tue Jun 26 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1
  210. - new upstream release
  211. - add Patch0 to build kioslave/svn
  212. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2
  213. - rebuild for VineSeed
  214. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1
  215. - new upstream release
  216. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2
  217. - rebuild for VineSeed
  218. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1
  219. - new upstream release
  220. * Wed May 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2
  221. - rebuild for VineSeed
  222. * Wed May 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1
  223. - new upstream release
  224. - use ap?-config for Vine3.x and use ap?-1-config for VineSeed
  225. - add --with-svn-include=%%{_includedir}/subversion-1
  226. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2
  227. - rebuild for VineSeed
  228. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1
  229. - new upstream release
  230. * Wed Feb 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl2
  231. - rebuild for VineSeed
  232. * Wed Feb 1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl1
  233. - new upstream release
  234. - add BuildPrereq: expat-devel
  235. - add Requires: kdebindings >= %%{version}
  236. * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl2
  237. - rebuild for VineSeed
  238. * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl1
  239. - new upstream release
  240. - add BuildPrereq: apache2-devel subversion-devel
  241. - add Requires: apache2-apr subversion
  242. * Tue Nov 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl0.rc1
  243. - new upstream release
  244. * Tue Oct 18 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.92-0vl1
  245. - new upstream release
  246. - delete Patch0
  247. * Wed Sep 21 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.91-0vl1
  248. - new upstream release
  249. - add Patch0
  250. - update %%files
  251. * Mon Jul 25 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl2
  252. - rebuild for VineSeed
  253. * Mon Jul 25 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl1
  254. - new upstream release
  255. * Mon Jul 4 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl2
  256. - build for VineSeed
  257. - add --disable-rpath to configure option
  258. * Mon Jun 6 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl1
  259. - new upstream release
  260. - use %%{?_smp_mflags} for make option
  261. * Sat Mar 19 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl2
  262. - rebuild for VineSeed
  263. * Sat Mar 19 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl1
  264. - new upstream release
  265. - clean up changelog to use (double-percent) everywhere
  266. * Sun Jan 2 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
  267. - rebuild for VineSeed
  268. * Sun Jan 2 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
  269. - new upstream release
  270. * Fri Nov 12 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl2
  271. - rebuild with db4-4.2.52-6vl3 (VineSeed)
  272. * Tue Nov 9 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
  273. - source upgrade
  274. - update %%files
  275. - add BuildPrereq: kdepim-devel >= %%{version} libart_lgpl-devel
  276. - add Requires: kdepim >= %%{version}
  277. * Tue Aug 10 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl2
  278. - rebuild with qt32
  279. * Tue Jun 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl1
  280. - source upgrade
  281. - remove lines about vine26
  282. * Sat May 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
  283. - source upgrade
  284. * Tue Mar 9 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
  285. - source upgrade
  286. * Sat Jan 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.5-0vl2
  287. - rebuild for VineSeedPlus
  288. * Sun Jan 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.5-0vl1
  289. - source upgrade
  290. - build for VinePlus/2.6
  291. - (VinePlus/2.6) BuildPrereq: autoconf258
  292. * Thu Jan 8 2004 Tomoya TAKA <taka@vinelinux.org> 3.1.4-0vl4
  293. - remove alpha fron ExcludeArch
  294. * Sun Dec 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0vl3
  295. - build for VineSeed with new toolchain and qt-3.2.3
  296. * Sun Nov 2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0.26vl2
  297. - rebuild with qt-3.2.1-0.26vl3
  298. * Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0vl2
  299. - rebuild with qt-3.2.1-0vl3
  300. * Sat Sep 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0vl1
  301. - build with gcc-3.2.3
  302. * Sat Sep 20 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0.26vl1
  303. - source upgrade
  304. - BuildPrereq: qt-devel >= 3.2.1 arts-devel >= 1:1.1.4
  305. * Sat Aug 2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.3-0.26vl1
  306. - rebuild for Vine2.6
  307. * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.3-0vl1
  308. - source upgrade
  309. - change spec to build with gcc295
  310. - change make option for SMP and add script
  311. * Sat Jun 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl1
  312. - source upgrade (MD5SUMS = 279b42135756e0e3640cf5f6612f572d)
  313. - built with libpng >= 1.2.5 when %%{vine26} is set to 0 (ie VineSeedPlus)
  314. - change spec to build both VineSeed and Vine2.5/2.6
  315. - change spec to make monolithic package only
  316. - remove Source900 and Patch0
  317. - revised description
  318. - change spec to build with g++-2.95.3
  319. * Sat Oct 19 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.4-0vl2
  320. - objprelink2 support only ix86 (add %%ifarch %%{ix86} ... )
  321. * Sun Oct 13 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.4-0vl1
  322. - source upgrade
  323. - BuildPrereq: autoconf253 objprelink2
  324. - remove kbugbuster
  325. * Mon Jul 15 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0.2-0vl1
  326. - source upgrade
  327. * Sun May 26 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 3.0-5vl1
  328. - merged with rawhide 3.0.0-5
  329. - add configure option `--with-xinerama --enable-final'
  330. - add BuildPrereq: autoconf252 automake15
  331. - add %%define monolithic 1
  332. - There is Vine's previous changes, hacked for Vine
  333. -- Sat Mar 23 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 2.2.2-1vl1
  334. - build for VineSeed
  335. - objprelink (i386 only)
  336. - add Requires and BuildPrereq
  337. * Tue Apr 16 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-5
  338. - Rename libraries
  339. * Tue Apr 2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-4
  340. - Fix bug #62259
  341. * Sun Mar 31 2002 Than Ngo <than@redhat.com> 3.0.0-3
  342. - fix bug #62388
  343. * Wed Mar 27 2002 Than Ngo <than@redhat.com> 3.0.0-2
  344. - final
  345. * Tue Mar 26 2002 Than Ngo <than@redhat.com> 3.0.0-0.cvs20020326.1
  346. - update
  347. * Sun Mar 24 2002 Than Ngo <than@redhat.com> 3.0.0-0.cvs20020324.1
  348. - update
  349. - fix bug #61671, #61670, #61656
  350. - add more buildrequires
  351. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  352. - automated rebuild
  353. * Wed Jan 2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.0.0-0.cvs20020102.1
  354. - Update
  355. - Split in subpackages
  356. * Mon Aug 6 2001 Than Ngo <than@redhat.com> 2.2-1
  357. - update to 2.2 release
  358. * Sat Aug 04 2001 Than Ngo <than@redhat.com> 2.2-0.cvs20010804.1
  359. - update
  360. - fix bug #50665
  361. * Tue Jul 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-0.cvs20010724.1
  362. - Remove extractrc (it's in kdevelop)
  363. - remove ia64 workarounds
  364. * Mon Jul 23 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.2-0.cvs20010723.1
  365. - update
  366. * Wed Feb 21 2001 Than Ngo <than@redhat.com>
  367. - 2.1-respin
  368. - fix dangling symlink
  369. * Tue Feb 20 2001 Than Ngo <than@redhat.com>
  370. - update to 2.1
  371. * Fri Feb 16 2001 Than Ngo <than@redhat.com>
  372. - fix to build against glibc
  373. - obsolete ktranslator kless (from powertools)
  374. - clean up specfile
  375. - add missing %%post and %%postun (ldconfig)
  376. * Tue Feb 6 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  377. - Rebuild to get rid of libkdefakes.so.0 requirement
  378. - Obsolete kbabel (from Powertools)
  379. * Sun Jan 28 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  380. - initial RPM