jovie-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Name: jovie
  2. Summary: KDE Text-to-Speech Daemon
  3. Summary(ja): KDE 向けのテキスト読み上げ用デーモン
  4. Version: 4.14.3
  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/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: speech-dispatcher-devel
  13. BuildRequires: kdelibs-devel >= %{version}
  14. BuildRequires: soprano-devel
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. Jovie -- KDE Text-to-Speech -- is a subsystem within the KDE desktop
  19. for conversion of text to audible speech. Jovie is currently under
  20. development and aims to become the standard subsystem for all KDE
  21. applications to provide speech output.
  22. %prep
  23. %setup -q
  24. %build
  25. mkdir -p %{_target_platform}
  26. pushd %{_target_platform}
  27. %cmake \
  28. -DCMAKE_BUILD_TYPE=release \
  29. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  30. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  31. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  32. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  33. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  34. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  35. ..
  36. popd
  37. make %{?_smp_mflags} -C %{_target_platform}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  41. pushd $RPM_BUILD_ROOT%{_docdir}/HTML/en/jovie
  42. bunzip2 index.cache.bz2
  43. sed -i -e 's!<a name="id[0-9]*"></a>!!g' index.cache
  44. bzip2 -9 index.cache
  45. popd
  46. # unpackaged files
  47. rm -vf $RPM_BUILD_ROOT%{_libdir}/libkttsd.so
  48. %check
  49. for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
  50. desktop-file-validate $f
  51. done
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %post
  55. /sbin/ldconfig
  56. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  57. %posttrans
  58. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  59. %postun
  60. /sbin/ldconfig
  61. if [ $1 -eq 0 ] ; then
  62. touch --no-create %{_datadir}/icons/hicolor &> /dev/null
  63. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null
  64. fi
  65. %files
  66. %defattr(-,root,root)
  67. %doc COPYING COPYING.DOC
  68. %{_bindir}/%{name}
  69. %{_libdir}/libkttsd.so.*
  70. %{_libdir}/kde4/*.so
  71. %{_datadir}/applications/kde4/jovieapp.desktop
  72. %{_datadir}/icons/hicolor/*/*/*
  73. %{_datadir}/kde4/apps/%{name}
  74. %{_datadir}/kde4/services/*.desktop
  75. %{_datadir}/kde4/servicetypes/*.desktop
  76. %doc %{_docdir}/HTML/en/%{name}/
  77. %changelog
  78. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  79. - new upstream release
  80. * Mon May 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  81. - new upstream release
  82. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  83. - new upstream release
  84. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  85. - new upstream release
  86. * Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  87. - new upstream release
  88. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
  89. - new upstream release
  90. * Thu Jan 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
  91. - new upstream release
  92. * Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
  93. - new upstream release
  94. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
  95. - new upstream release
  96. * Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
  97. - new upstream release
  98. * Sat Aug 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
  99. - initial build