kdewebdev-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. Name: kdewebdev
  2. Summary: KDE Web development applications
  3. Summary(ja): KDE Web 開発アプリケーション集
  4. Version: 3.5.10
  5. Release: 5%{?_dist_release}
  6. License: GPLv2
  7. URL: http://kdewebdev.org/
  8. Group: Applications/Editors
  9. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
  10. Source1: http://download.sourceforge.net/quanta/css.tar.bz2
  11. Source2: http://download.sourceforge.net/quanta/html.tar.bz2
  12. Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2
  13. Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2
  14. Source5: hi48-app-kxsldbg.png
  15. Patch0: javascript.patch
  16. Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch
  17. ##Patch2: arts-acinclude.patch
  18. # fixes crash in kimagemapeditor when using freehand tool
  19. Patch3: kdewebdev-3.5.10-fix-freehand-crash.patch
  20. # fixes using a temporary as a lvalue in KafkaPart (FTBFS with g++ 4.6, probably
  21. # silently did the wrong thing before)
  22. Patch4: kdewebdev-3.5.10-gcc46.patch
  23. # docbParseFile is dropped in libxml2-2.9 amd later
  24. Patch6: kdewebdev-3.5.10-docbParseFile.patch
  25. # fixes to common KDE 3 autotools machinery
  26. # tweak autoconfigury so that it builds with autoconf 2.64 or 2.65
  27. Patch300: kde3-acinclude.patch
  28. # remove flawed and obsolete automake version check in admin/cvs.sh
  29. Patch301: kde3-automake-version.patch
  30. # fix build failure with automake 1.13: add the --add-missing --copy flags
  31. # also add --force-missing to get aarch64 support (#925029/#925627)
  32. Patch302: kde3-automake-add-missing.patch
  33. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  34. BuildRequires: automake libtool
  35. BuildRequires: desktop-file-utils
  36. BuildRequires: kdelibs3-devel >= %{version}
  37. BuildRequires: libxslt-devel >= 1.0.18
  38. BuildRequires: libxml2-devel >= 2.6.0
  39. BuildRequires: perl
  40. Requires: tidy
  41. Provides: kdewebdev3 = %{version}-%{release}
  42. Obsoletes: quanta < %{version}-%{release}
  43. Provides: quanta = %{version}-%{release}
  44. %define kommander_ver 1.2.2
  45. #Obsoletes: kommander < %{kommander_ver}-%{release}
  46. Provides: kommander = %{kommander_ver}-%{release}
  47. %description
  48. The kdewebdev package contains Quanta Plus and other applications,
  49. which are useful for web development. They are runtime dependencies
  50. of Quanta Plus, and it is highly recommended that you install them.
  51. The extra applications are:
  52. * kfilereplace: batch search and replace tool
  53. * kimagemapeditor: HTML image map editor
  54. * klinkstatus: link checker
  55. * kommander: visual dialog building tool
  56. * kxsldbg: xslt Debugger
  57. * quanta+: web development
  58. %package devel
  59. Summary: Development files for kdewebdev
  60. Summary(ja): kdewebdev の開発用ファイル
  61. Group: Development/Libraries
  62. Requires: %{name} = %{version}-%{release}
  63. Requires: kdelibs3-devel
  64. Provides: kdewebdev3-devel = %{version}-%{release}
  65. %description devel
  66. Development files for kdewebdev.
  67. %prep
  68. %setup -q -a 1 -a 2 -a 3 -a 4
  69. %patch0 -p0 -b .javascript
  70. %patch1 -p1 -b .kxsldbg-icons
  71. ##patch2 -p1 -b .autoconf
  72. %patch3 -p1 -b .fix-freehand-crash
  73. %patch4 -p1 -b .gcc46
  74. %patch6 -p1 -b .docbParseFile
  75. install -m644 -p %{SOURCE5} kxsldbg/
  76. %patch300 -p1 -b .acinclude
  77. %patch301 -p1 -b .automake-version
  78. %patch302 -p1 -b .automake-add-missing
  79. make -f admin/Makefile.common cvs
  80. %build
  81. unset QTDIR && . /etc/profile.d/qt.sh
  82. %configure \
  83. --with-qt-libraries=$QTDIR/lib \
  84. --includedir=%{_includedir}/kde \
  85. --disable-rpath \
  86. --enable-new-ldflags \
  87. --disable-debug --disable-warnings \
  88. --disable-dependency-tracking --enable-final
  89. make %{?_smp_mflags}
  90. %install
  91. rm -rf $RPM_BUILD_ROOT
  92. make DESTDIR=$RPM_BUILD_ROOT install
  93. ## package separately? Why doesn't upstream include this? -- Rex
  94. # install docs
  95. for i in css html javascript ; do
  96. pushd $i
  97. ./install.sh <<EOF
  98. $RPM_BUILD_ROOT%{_datadir}/apps/quanta/doc
  99. EOF
  100. popd
  101. rm -rf $i
  102. done
  103. cp -a php php.docrc $RPM_BUILD_ROOT%{_datadir}/apps/quanta/doc/
  104. # Make symlinks relative
  105. pushd $RPM_BUILD_ROOT%{_datadir}/doc/HTML/en
  106. for i in *; do
  107. if [ -d $i -a -L $i/common ]; then
  108. rm -f $RPM_BUILD_ROOT%{_datadir}/doc/HTML/en/$i/common
  109. ln -sf ../common $RPM_BUILD_ROOT%{_datadir}/doc/HTML/en/$i
  110. fi
  111. done
  112. popd
  113. # rpmdocs
  114. for dir in k* quanta; do
  115. for file in AUTHORS ChangeLog README TODO ; do
  116. test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
  117. done
  118. done
  119. %clean
  120. rm -rf $RPM_BUILD_ROOT
  121. %post
  122. /sbin/ldconfig
  123. for f in crystalsvg hicolor locolor ; do
  124. touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
  125. done
  126. %postun
  127. /sbin/ldconfig
  128. if [ $1 -eq 0 ] ; then
  129. for f in crystalsvg hicolor locolor ; do
  130. touch --no-create %{_datadir}/icons/$f 2> /dev/null ||:
  131. gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
  132. done
  133. update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
  134. fi
  135. %posttrans
  136. for f in crystalsvg hicolor locolor ; do
  137. gtk-update-icon-cache -q %{_datadir}/icons/$f 2> /dev/null ||:
  138. done
  139. update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
  140. %files
  141. %defattr(-,root,root)
  142. %doc %{_datadir}/doc/HTML/en/*
  143. %{_bindir}/*
  144. %{_libdir}/lib*.so.*
  145. %{_libdir}/lib*.la
  146. %{_libdir}/kde3/*
  147. %{_datadir}/applications/*
  148. %{_datadir}/applnk
  149. %{_datadir}/apps/*
  150. %{_datadir}/config.kcfg/*
  151. %{_datadir}/icons/*
  152. %{_datadir}/mimelnk/*
  153. %{_datadir}/services/*
  154. %{_datadir}/servicetypes/*
  155. %files devel
  156. %defattr(-,root,root)
  157. %{_includedir}/kde/*
  158. %{_libdir}/*.so
  159. %changelog
  160. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 3.5.10-5
  161. - rebuild with gcc-5.4.0
  162. * Sat Oct 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.5.10-4
  163. - added Patch3, 4 and 6 from fc
  164. - added Patch300-302 from fc instead of Patch2
  165. * Thu Dec 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-3
  166. - fixed summary
  167. * Sat Jul 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-2
  168. - added BR: arts-devel
  169. * Sun Mar 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.10-1
  170. - updated to 3.5.10 based on FC
  171. - updated %%post and %%postun section, added %%posttrans section
  172. - built with new toolchain
  173. * Wed May 13 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1
  174. - applied new versioning policy, spec in UTF-8
  175. - added Japanese summary
  176. - changed Group to Applictions/Development
  177. * Sun Nov 25 2007 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.8-0vl3
  178. - added --with-qt-libraries option
  179. * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2
  180. - rebuild for VineSeed
  181. * Mon Oct 29 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1
  182. - new upstream release
  183. * Wed Jun 27 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2
  184. - rebuild for VineSeed
  185. * Tue Jun 26 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1
  186. - new upstream release
  187. - added --enable-libsuffix option
  188. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2
  189. - rebuild for VineSeed
  190. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1
  191. - new upstream release
  192. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2
  193. - rebuild for VineSeed
  194. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1
  195. - new upstream release
  196. * Wed May 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2
  197. - rebuild for VineSeed
  198. * Wed May 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1
  199. - new upstream release
  200. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2
  201. - rebuild for VineSeed
  202. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1
  203. - new upstream release
  204. * Mon Feb 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl2
  205. - rebuild for VineSeed
  206. * Mon Feb 6 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl1
  207. - new upstream release
  208. * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl2
  209. - rebuild for VineSeed
  210. * Mon Nov 28 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl1
  211. - new upstream release
  212. * Tue Nov 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl0.rc1
  213. - new upstream release
  214. * Tue Oct 18 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.92-0vl1
  215. - new upstream release
  216. - delete Patch0
  217. * Thu Sep 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.91-0vl1
  218. - new upstream release
  219. - add Patch0
  220. * Mon Jul 25 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl2
  221. - rebuild for VineSeed
  222. * Mon Jul 25 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl1
  223. - new upstream release
  224. * Mon Jul 4 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl2
  225. - build for VineSeed
  226. - add --disable-rpath to configure option
  227. * Tue Jun 7 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl1
  228. - new upstream release
  229. - remove patch0
  230. * Mon Apr 25 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl1
  231. - initial release for VineSeed