kdeaccessibility-vl.spec 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. Name: kdeaccessibility
  2. Summary: tools for handicapped people to use the GUI
  3. Summary(ja): ハンディを持つ人の GUI 使用をサポートするツール集
  4. Version: 4.5.0
  5. Release: 1%{?_dist_release}
  6. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdeaccessibility-%{version}.tar.bz2
  7. URL: http://www.kde.org/
  8. Group: Applications/Accessories
  9. License: GPLv2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: alsa-lib-devel
  12. BuildRequires: desktop-file-utils
  13. #BuildRequires: festival
  14. # workaround (hopefully) temporary borkage
  15. BuildRequires: speech-dispatcher-devel
  16. BuildRequires: flite-devel
  17. BuildRequires: kdelibs4-devel >= %{version}
  18. BuildRequires: plasma-devel >= %{version}
  19. BuildRequires: libXtst-devel
  20. Requires: %{name}-libs = %{version}-%{release}
  21. %if %{name} != "kdeaccessibility"
  22. Conflicts: kdeaccessibility < 4
  23. %endif
  24. %description
  25. Included with this package are:
  26. * jovie: text to speech support
  27. * kmag: a screen magnifier
  28. * kmousetool: a program for people whom it hurts to click the mouse
  29. * kmouth: program that allows people who have lost their voice
  30. # Yes, it's a bit silly to have this, esp since we don't have a -devel pkg,
  31. # but that's how multilib currently works. -- Rex
  32. %package libs
  33. Summary: Runtime libraries for %{name}
  34. Group: System Environment/Libraries
  35. Requires: kdelibs4 >= %{version}
  36. %description libs
  37. %{summary}.
  38. %prep
  39. %setup -q -n kdeaccessibility-%{version}
  40. %build
  41. mkdir -p %{_target_platform}
  42. pushd %{_target_platform}
  43. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  44. %cmake \
  45. -DCMAKE_BUILD_TYPE=release \
  46. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  47. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  48. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  49. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  50. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  51. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  52. ..
  53. popd
  54. make %{?_smp_mflags} -C %{_target_platform}
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  58. # hack around HTML doc multilib conflicts
  59. for doxy_hack in jovie kmag kmousetool kmouth ; do
  60. pushd $RPM_BUILD_ROOT%{_docdir}/HTML/en/${doxy_hack}
  61. bunzip2 index.cache.bz2
  62. sed -i -e 's!<a name="id[0-9]*"></a>!!g' index.cache
  63. bzip2 -9 index.cache
  64. done
  65. popd
  66. # unpackaged files
  67. rm -vf $RPM_BUILD_ROOT%{_libdir}/libkttsd.so
  68. %check
  69. for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
  70. desktop-file-validate $f
  71. done
  72. %clean
  73. rm -rf $RPM_BUILD_ROOT
  74. %post
  75. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  76. touch --no-create %{_datadir}/icons/mono &> /dev/null || :
  77. %postun
  78. if [ $1 -eq 0 ] ; then
  79. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  80. touch --no-create %{_datadir}/icons/mono &> /dev/null
  81. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null
  82. gtk-update-icon-cache %{_datadir}/icons/mono &> /dev/null || :
  83. fi
  84. %posttrans
  85. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  86. gtk-update-icon-cache %{_datadir}/icons/mono &> /dev/null || :
  87. %post libs -p /sbin/ldconfig
  88. %postun libs -p /sbin/ldconfig
  89. %files
  90. %defattr(-,root,root)
  91. %doc COPYING
  92. %{_bindir}/*
  93. %{_datadir}/kde4/apps/jovie/
  94. %{_datadir}/kde4/apps/kmag/
  95. %{_datadir}/kde4/apps/kmousetool/
  96. %{_datadir}/kde4/apps/kmouth/
  97. %{_datadir}/kde4/apps/kttsd/
  98. %{_datadir}/kde4/apps/color-schemes/*.colors
  99. %config %{_datadir}/config/*
  100. %{_datadir}/applications/kde4/*.desktop
  101. %{_datadir}/kde4/services/*
  102. %{_datadir}/kde4/servicetypes/*
  103. %doc %{_docdir}/HTML/en/jovie/
  104. %doc %{_docdir}/HTML/en/kmag/
  105. %doc %{_docdir}/HTML/en/kmousetool/
  106. %doc %{_docdir}/HTML/en/kmouth/
  107. %{_datadir}/icons/mono
  108. %{_datadir}/icons/hicolor/*/*/*
  109. %{_libdir}/kde4/*
  110. %{_mandir}/man1/*.1*
  111. %files libs
  112. %defattr(-,root,root,-)
  113. %{_libdir}/libkttsd.so.*
  114. %changelog
  115. * Sat Aug 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.0-1
  116. - new upstream release
  117. * Tue Jun 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-2
  118. - added BR: libXtst-devel
  119. * Sat May 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1
  120. - new upstream release
  121. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.1-1
  122. - new upstream release
  123. - built with new toolchain
  124. - added BR: speech-dispatcher-devel
  125. * Wed Nov 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1
  126. - new upstream release
  127. * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-1
  128. - new upstream release
  129. * Thu Sep 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.1-1
  130. - new upstream release
  131. - used %%cmake macro
  132. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.0-1
  133. - new upstream release
  134. * Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1
  135. - applied new versioning policy, spec in UTF-8
  136. - changed Group to Group: Applications/Accessories
  137. * Tue Oct 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2
  138. - rebuild for VineSeed
  139. * Tue Oct 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1
  140. - new upstream release
  141. * Wed Jun 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2
  142. - rebuild for VineSeed
  143. * Thu May 24 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1
  144. - new upstream release
  145. * Tue Jan 23 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.6-0vl1
  146. - new upstream release
  147. * Mon Oct 23 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.5-0vl3
  148. - added --with-qt-libraries and --enable-libsuffix option
  149. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2
  150. - rebuild for VineSeed
  151. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1
  152. - new upstream release
  153. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2
  154. - rebuild for VineSeed
  155. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1
  156. - new upstream release
  157. * Wed May 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2
  158. - rebuild for VineSeed
  159. * Wed May 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1
  160. - new upstream release
  161. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2
  162. - rebuild for VineSeed
  163. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1
  164. - new upstream release
  165. * Tue Jan 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl2
  166. - rebuild for VineSeed
  167. * Tue Jan 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl1
  168. - new upstream release
  169. * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl2
  170. - rebuild for VineSeed
  171. * Tue Nov 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl1
  172. - new upstream release
  173. * Mon Nov 14 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl0.rc1
  174. - new upstream release
  175. * Mon Oct 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.92-0vl1
  176. - new upstream release
  177. * Wed Sep 21 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.91-0vl1
  178. - new upstream release
  179. * Fri Jul 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl2
  180. - rebuild for VineSeed
  181. * Fri Jul 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl1
  182. - new upstream release
  183. * Thu Jun 30 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl2
  184. - build for VineSeed
  185. - add --disable-rpath to configure option
  186. * Mon Jun 6 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl1
  187. - new upstream release
  188. - use %%{?_smp_mflags} for make option
  189. * Wed Mar 16 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl2
  190. - rebuild for VineSeed
  191. * Tue Mar 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl1
  192. - new upstream release
  193. * Fri Mar 4 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl0.rc1
  194. - new upstream release (3.4.0-rc1)
  195. - update %%files
  196. * Mon Feb 7 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.92-0vl1
  197. - new upstream release
  198. - update %%files
  199. * Sat Dec 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
  200. - rebuild for VineSeed
  201. * Sat Dec 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
  202. - source upgrade
  203. - build for Vine Linux 3.1
  204. * Wed Oct 27 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
  205. - source upgrade
  206. * Wed Aug 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl2
  207. - rebuild with qt32
  208. * Tue Jun 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl1
  209. - source upgrade
  210. - remove lines about vine26
  211. * Sat May 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
  212. - source upgrade
  213. - add URL: http://www.kde.org/
  214. * Thu Mar 25 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
  215. - first release