kdeaccessibility-vl.spec 8.6 KB

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