lokalize-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. Name: lokalize
  2. Summary: A computer-aided translation system for KDE
  3. Summary(ja): KDE 用 コンピューター支援翻訳システム
  4. Version: 4.14.3
  5. Release: 2%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Development
  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: kdelibs-devel >= %{version}
  13. BuildRequires: soprano-devel
  14. BuildRequires: hunspell-devel
  15. Requires(posttrans,postun): desktop-file-utils
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. Lokalize is a computer-aided translation system that focuses on
  21. productivity and quality assurance. It has components usually
  22. included in CAT tools like translation memory, glossary, and also
  23. a unique translation merging (synchronization) capability.
  24. It is targeted for software translation and also integrates external
  25. conversion tools for freelance office document translation.
  26. %prep
  27. %setup -q
  28. %build
  29. mkdir -p %{_target_platform}
  30. pushd %{_target_platform}
  31. %cmake \
  32. -DCMAKE_BUILD_TYPE=release \
  33. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  34. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  35. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  36. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  37. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  38. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  39. ..
  40. popd
  41. make %{?_smp_mflags} -C %{_target_platform}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post
  48. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  49. %posttrans
  50. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  51. update-desktop-database -q &> /dev/null ||:
  52. %postun
  53. if [ $1 -eq 0 ] ; then
  54. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  56. update-desktop-database -q &> /dev/null ||:
  57. fi
  58. %files
  59. %defattr(-,root,root,-)
  60. %doc COPYING COPYING.DOC
  61. %{_bindir}/%{name}
  62. %{_datadir}/applications/kde4/%{name}.desktop
  63. %{_datadir}/config.kcfg/%{name}.kcfg
  64. %{_datadir}/icons/hicolor/*/*/*
  65. %{_datadir}/kde4/apps/%{name}
  66. %{_docdir}/HTML/en/%{name}
  67. %changelog
  68. * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  69. - rebuild with gcc-5.4.0
  70. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  71. - new upstream release
  72. * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  73. - new upstream release
  74. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  75. - new upstream release
  76. * Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  77. - new upstream release
  78. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  79. - initial build