kdeaccessibility-vl.spec 7.6 KB

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