sakura-vl.spec 3.8 KB

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