kdewebdev-vl.spec 7.2 KB

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