kdewebdev-vl.spec 7.4 KB

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