yakuake-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. %define dt_vendor fedora
  2. Name: yakuake
  3. Summary: Terminal emulator
  4. Summary(ja): 端末エミュレータ
  5. Version: 2.9.7
  6. Release: 2%{?_dist_release}
  7. Group: User Interface/Desktops
  8. License: GPLv2+
  9. URL: http://extragear.kde.org/apps/yakuake/
  10. Source0: http://download.berlios.de/yakuake/%{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: desktop-file-utils
  13. BuildRequires: gettext
  14. BuildRequires: kdelibs4-devel
  15. # konsolepart
  16. Requires: kdebase4
  17. %description
  18. Yakuake is a "Quake console" like terminal emulator.
  19. %description
  20. Quake console ライクな端末エミュレータです.
  21. %prep
  22. %setup -q
  23. %build
  24. mkdir -p %{_target_platform}
  25. pushd %{_target_platform}
  26. unset QTDIR || : ; . /etc/profile.d/qt4.sh
  27. %{cmake} \
  28. -DCMAKE_BUILD_TYPE=release \
  29. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  30. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  31. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  32. ..
  33. popd
  34. make %{?_smp_mflags} -C %{_target_platform}
  35. %install
  36. rm -rf %{buildroot}
  37. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  38. ## --vendor is discouraged/deprecated these days -- Rex
  39. #desktop-file-install --vendor="" \
  40. # --dir=%{buildroot}%{_datadir}/applications \
  41. # --add-category=Utility \
  42. # --delete-original \
  43. # %{buildroot}%{_datadir}/applications/kde4/yakuake.desktop
  44. %find_lang %{name}
  45. %check
  46. desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/yakuake.desktop
  47. %post
  48. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  49. %posttrans
  50. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  51. %postun
  52. if [ $1 -eq 0 ] ; then
  53. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  54. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  55. fi
  56. %clean
  57. rm -rf %{buildroot}
  58. %files -f %{name}.lang
  59. %defattr(-,root,root,-)
  60. %doc AUTHORS COPYING ChangeLog TODO
  61. %{_bindir}/yakuake
  62. %{_datadir}/applications/kde4/yakuake.desktop
  63. %{_datadir}/kde4/apps/yakuake/
  64. %{_datadir}/icons/hicolor/*/*/*
  65. %changelog
  66. * Mon Jul 19 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.9.7-2
  67. - Initial build for Vine Linux
  68. * Sun Jul 18 2010 Rex Dieter <rdieter@fedoraproject.org> - 2.9.7-1
  69. - 2.9.7
  70. - optimize scriptlets
  71. - use _kde4_ macros
  72. * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.6-2
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  74. * Thu Jul 10 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 2.9.6-1
  75. - 2.9.6
  76. * Sat Apr 17 2009 Johan Cwiklinski <johan AT x-tnd DOT be> 2.9.4-3
  77. - Fix crash with QT 4.5
  78. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.4-2
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  80. * Thu Sep 4 2008 Johan Cwiklinski <johan AT x-tnd DOT be> - 2.9.4-1
  81. - 2.9.4
  82. - change BR from kdelibs4-devel to kdelibs-devel
  83. * Fri Jun 20 2008 Johan Cwiklinski <johan AT x-tnd DOT be> - 2.9.3-1
  84. - 2.9.3
  85. - kdebase is required
  86. * Sat Apr 05 2008 2008 Johan Cwiklinski <johan AT x-tnd DOT be> - 2.9.1-1
  87. - 2.9.1
  88. - use of %%{cmake_kde4} macro
  89. - remove no longer needeed chrpath
  90. * Wed Apr 02 2008 Rex Dieter <rdieter@fedoraproject.org> - 2.9-2.beta1
  91. - BR: kdelibs4-devel
  92. - description/summary: s/for KDE//
  93. * Mon Feb 11 2008 Johan Cwiklinski <johan AT x-tnd DOT be> - 2.9-1.beta1
  94. - upstream release for KDE4
  95. * Mon Oct 30 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.7.5-4
  96. - Add support for KonsoleScripts (#212862)
  97. * Fri Sep 15 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.7.5-3
  98. - Rebuild for FE6
  99. - Update e-mail address
  100. - Fix mixed-use-of-spaces-and-tabs rpmlint warning
  101. * Sat May 20 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.7.5-2
  102. - Add dist tag
  103. * Sat May 20 2006 Dawid Gajownik <gajownik[AT]gmail.com> - 2.7.5-1
  104. - Update to 2.7.5
  105. - Add `--disable-dependency-tracking' and `--enable-final' options
  106. - Include translations
  107. * Mon Oct 24 2005 Mickael <dreadyman@gmail.com>
  108. - initial release