kdeaccessibility-vl.spec 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. Name: kdeaccessibility
  2. Summary: KDE Accessibility
  3. Summary(ja): KDE アクセシビリティパッケージ
  4. Version: 4.6.1
  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. BuildRequires: speech-dispatcher-devel
  15. BuildRequires: flite-devel
  16. BuildRequires: kdelibs4-devel >= %{version}
  17. BuildRequires: plasma-devel >= %{version}
  18. BuildRequires: soprano-devel
  19. BuildRequires: libXtst-devel
  20. BuildRequires: libXpm-devel
  21. Requires: %{name}-libs = %{version}-%{release}
  22. %if %{name} != "kdeaccessibility"
  23. Conflicts: kdeaccessibility < 4
  24. %else
  25. Obsoletes: kdeaccessibility4 < %{version}-%{release}
  26. Provides: kdeaccessibility4 = %{version}-%{release}
  27. %endif
  28. %description
  29. Included with this package are:
  30. * jovie: text to speech support
  31. * kmag: a screen magnifier
  32. * kmousetool: a program for people whom it hurts to click the mouse
  33. * kmouth: program that allows people who have lost their voice
  34. %package libs
  35. Summary: Runtime libraries for %{name}
  36. Summary(ja): %{name} のランタイムライブラリ
  37. Group: System Environment/Libraries
  38. Requires: kdelibs4 >= %{version}
  39. Obsoletes: kdeaccessibility4-libs < %{version}-%{release}
  40. Provides: kdeaccessibility4-libs = %{version}-%{release}
  41. %description libs
  42. %{summary}.
  43. %package -n mono-icon-theme
  44. Summary: KDE monochrome icon theme
  45. Summary(ja): KDE のモノクロアイコン集
  46. Group: User Interface/Desktops
  47. BuildArch: noarch
  48. %description -n mono-icon-theme
  49. %{summary}.
  50. %prep
  51. %setup -q
  52. %build
  53. mkdir -p %{_target_platform}
  54. pushd %{_target_platform}
  55. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  56. %cmake \
  57. -DCMAKE_BUILD_TYPE=release \
  58. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  59. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  60. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  61. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  62. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  63. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  64. ..
  65. popd
  66. make %{?_smp_mflags} -C %{_target_platform}
  67. %install
  68. rm -rf $RPM_BUILD_ROOT
  69. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  70. # hack around HTML doc multilib conflicts
  71. for doxy_hack in jovie kmag kmousetool kmouth ; do
  72. pushd $RPM_BUILD_ROOT%{_docdir}/HTML/en/${doxy_hack}
  73. bunzip2 index.cache.bz2
  74. sed -i -e 's!<a name="id[0-9]*"></a>!!g' index.cache
  75. bzip2 -9 index.cache
  76. done
  77. popd
  78. # unpackaged files
  79. rm -vf $RPM_BUILD_ROOT%{_libdir}/libkttsd.so
  80. %check
  81. for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
  82. desktop-file-validate $f
  83. done
  84. %clean
  85. rm -rf $RPM_BUILD_ROOT
  86. %post
  87. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  88. %posttrans
  89. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  90. %postun
  91. if [ $1 -eq 0 ] ; then
  92. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  93. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null
  94. fi
  95. %post libs -p /sbin/ldconfig
  96. %postun libs -p /sbin/ldconfig
  97. %post -n mono-icon-theme
  98. touch --no-create %{_datadir}/icons/mono &> /dev/null || :
  99. %posttrans -n mono-icon-theme
  100. gtk-update-icon-cache %{_datadir}/icons/mono &> /dev/null || :
  101. %postun -n mono-icon-theme
  102. if [ $1 -eq 0 ] ; then
  103. touch --no-create %{_datadir}/icons/mono &> /dev/null
  104. gtk-update-icon-cache %{_datadir}/icons/mono &> /dev/null || :
  105. fi
  106. %files
  107. %defattr(-,root,root)
  108. %doc COPYING
  109. %{_bindir}/*
  110. %{_datadir}/kde4/apps/jovie/
  111. %{_datadir}/kde4/apps/kmag/
  112. %{_datadir}/kde4/apps/kmousetool/
  113. %{_datadir}/kde4/apps/kmouth/
  114. %{_datadir}/kde4/apps/kttsd/
  115. %{_datadir}/kde4/apps/color-schemes/*.colors
  116. %config %{_datadir}/config/*
  117. %{_datadir}/applications/kde4/*.desktop
  118. %{_datadir}/kde4/services/*
  119. %{_datadir}/kde4/servicetypes/*
  120. %doc %{_docdir}/HTML/en/jovie/
  121. %doc %{_docdir}/HTML/en/kmag/
  122. %doc %{_docdir}/HTML/en/kmousetool/
  123. %doc %{_docdir}/HTML/en/kmouth/
  124. %{_datadir}/icons/hicolor/*/*/*
  125. %{_libdir}/kde4/*.so
  126. %{_libexecdir}/kde4/kaccessibleapp
  127. %{_datadir}/dbus-1/services/org.kde.kaccessible.service
  128. %{_mandir}/man1/*.1*
  129. %files libs
  130. %defattr(-,root,root,-)
  131. %{_libdir}/libkttsd.so.*
  132. %{_libdir}/kde4/plugins/accessiblebridge/
  133. %files -n mono-icon-theme
  134. %defattr(-,root,root,-)
  135. %{_datadir}/icons/mono/
  136. %changelog
  137. * Sun Mar 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
  138. - new upstream release
  139. * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.0-2
  140. - added BR: soprano-devel, libXpm-devel
  141. * Sun Feb 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.0-1
  142. - new upstream release
  143. - split monochrome icons to subpackage
  144. * Sat Aug 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.0-1
  145. - new upstream release
  146. * Tue Jun 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-2
  147. - added BR: libXtst-devel
  148. * Sat May 8 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1
  149. - new upstream release
  150. * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.1-1
  151. - new upstream release
  152. - built with new toolchain
  153. - added BR: speech-dispatcher-devel
  154. * Wed Nov 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1
  155. - new upstream release
  156. * Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-1
  157. - new upstream release
  158. * Thu Sep 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.1-1
  159. - new upstream release
  160. - used %%cmake macro
  161. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.0-1
  162. - new upstream release
  163. * Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1
  164. - applied new versioning policy, spec in UTF-8
  165. - changed Group to Group: Applications/Accessories
  166. * Tue Oct 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2
  167. - rebuild for VineSeed
  168. * Tue Oct 16 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1
  169. - new upstream release
  170. * Wed Jun 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2
  171. - rebuild for VineSeed
  172. * Thu May 24 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1
  173. - new upstream release
  174. * Tue Jan 23 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.6-0vl1
  175. - new upstream release
  176. * Mon Oct 23 2006 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.5-0vl3
  177. - added --with-qt-libraries and --enable-libsuffix option
  178. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2
  179. - rebuild for VineSeed
  180. * Tue Oct 3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1
  181. - new upstream release
  182. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2
  183. - rebuild for VineSeed
  184. * Wed Aug 2 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1
  185. - new upstream release
  186. * Wed May 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2
  187. - rebuild for VineSeed
  188. * Wed May 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1
  189. - new upstream release
  190. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2
  191. - rebuild for VineSeed
  192. * Wed Mar 22 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1
  193. - new upstream release
  194. * Tue Jan 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl2
  195. - rebuild for VineSeed
  196. * Tue Jan 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl1
  197. - new upstream release
  198. * Thu Dec 8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl2
  199. - rebuild for VineSeed
  200. * Tue Nov 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl1
  201. - new upstream release
  202. * Mon Nov 14 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl0.rc1
  203. - new upstream release
  204. * Mon Oct 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.92-0vl1
  205. - new upstream release
  206. * Wed Sep 21 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.91-0vl1
  207. - new upstream release
  208. * Fri Jul 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl2
  209. - rebuild for VineSeed
  210. * Fri Jul 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl1
  211. - new upstream release
  212. * Thu Jun 30 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl2
  213. - build for VineSeed
  214. - add --disable-rpath to configure option
  215. * Mon Jun 6 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl1
  216. - new upstream release
  217. - use %%{?_smp_mflags} for make option
  218. * Wed Mar 16 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl2
  219. - rebuild for VineSeed
  220. * Tue Mar 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl1
  221. - new upstream release
  222. * Fri Mar 4 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl0.rc1
  223. - new upstream release (3.4.0-rc1)
  224. - update %%files
  225. * Mon Feb 7 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.92-0vl1
  226. - new upstream release
  227. - update %%files
  228. * Sat Dec 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
  229. - rebuild for VineSeed
  230. * Sat Dec 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
  231. - source upgrade
  232. - build for Vine Linux 3.1
  233. * Wed Oct 27 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
  234. - source upgrade
  235. * Wed Aug 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl2
  236. - rebuild with qt32
  237. * Tue Jun 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl1
  238. - source upgrade
  239. - remove lines about vine26
  240. * Sat May 1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
  241. - source upgrade
  242. - add URL: http://www.kde.org/
  243. * Thu Mar 25 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
  244. - first release