sakura-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. %define pkg_version 3.3.3
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: A terminal emulator based on libvte.
  4. Summary(ja): libvteベースの端末エミュレータ
  5. Name: sakura
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: http://pleyades.net/david/projects/sakura/%{name}-%{version}.tar.bz2
  9. Patch0: sakura-2.3.7-pod2man.patch
  10. License: GPLv2
  11. Group: User Interface/X
  12. URL: http://pleyades.net/david/sakura.php
  13. Requires: glib2 >= 2.14.0
  14. Requires: gtk3 >= 3.0.0
  15. Requires: vte3 >= 0.28
  16. BuildRequires: glib2-devel >= 2.14.0
  17. BuildRequires: gtk3-devel >= 3.0.0
  18. BuildRequires: vte3-devel >= 0.28
  19. BuildRequires: cmake
  20. BuildRequires: desktop-file-utils
  21. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. Sakura is a terminal emulator based on GTK+ and VTE. It's a terminal emulator with few dependencies, so you don't need a full GNOME desktop installed to have a decent terminal emulator.
  27. %description -l ja
  28. Sakura は GTK+ 及び VTEベースの端末エミュレータです。依存性がわずかな端末エミュレータなので、きちんとした端末エミュレータを持つために完全なGNOMEデスクトップをインストールする必要はありません。
  29. %prep
  30. %setup -q
  31. %patch0 -p1 -b .pod2man
  32. %build
  33. %cmake CMAKE_C_FLAGS=%{optflags} .
  34. %{__make} %{?_smp_mflags}
  35. %install
  36. %{__rm} -rf ${RPM_BUILD_ROOT}
  37. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  38. desktop-file-install --vendor '' \
  39. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  40. --remove-category=System \
  41. $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
  42. %find_lang %{name}
  43. %clean
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %files -f %{name}.lang
  46. %defattr(-,root,root)
  47. %doc AUTHORS GPL
  48. %{_bindir}/*
  49. %{_datadir}/applications/*
  50. %{_datadir}/pixmaps/*
  51. %{_datadir}/doc/*
  52. %{_mandir}/man1/*
  53. %changelog
  54. * Thu Dec 17 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.3-1
  55. - new upstream release
  56. * Sat Nov 28 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.2-1
  57. - new upstream release
  58. * Mon Aug 24 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.0-1
  59. - new upstream release
  60. - remove Patch1 (sakura-3.2.0-vte291.patch)
  61. * Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  62. - new upstream release
  63. - update Patch1 (sakura-3.2.0-vte291.patch)
  64. * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-2
  65. - rebuild with vte3-0.38.2
  66. - add Patch1 (sakura_vte291.patch)
  67. * Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  68. - new upstream release
  69. * Fri Jul 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  70. - new upstream release
  71. * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
  72. - new upstream release
  73. * Wed Jul 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.0-1
  74. - new upstream release
  75. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
  76. - new upstream release
  77. * Sun Mar 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-1
  78. - new upstream release
  79. * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  80. - new upstream release
  81. - remove Patch1
  82. * Sun Mar 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  83. - new upstream release
  84. - change BuildRequires: gtk3-devel instead of gtk2-devel
  85. - change BuildRequires: vte3-devel instead of vte-devel
  86. - add Patch1: sakura-3.0.0-CMakeLists.patch
  87. * Tue Aug 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
  88. - new upstream release
  89. - delete Patch1
  90. * Sun Jul 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-2
  91. - add Patch1 (sakura-2.4.1-sakura_init.patch)
  92. - add BuildRequires: desktop-file-utils
  93. * Sun Jul 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
  94. - new upstream release
  95. * Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.0-1
  96. - new upstream release
  97. * Sat Apr 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.8-1
  98. - new upstream release
  99. * Sat Mar 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.7-1
  100. - new upstream release
  101. - change Patch0 for sakura-2.3.7
  102. * Sat Jan 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.6-1
  103. - initial build for Vine Linux