sakura-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. %define pkg_version 3.0.4
  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. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1
  55. - new upstream release
  56. * Sun Mar 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-1
  57. - new upstream release
  58. * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
  59. - new upstream release
  60. - remove Patch1
  61. * Sun Mar 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
  62. - new upstream release
  63. - change BuildRequires: gtk3-devel instead of gtk2-devel
  64. - change BuildRequires: vte3-devel instead of vte-devel
  65. - add Patch1: sakura-3.0.0-CMakeLists.patch
  66. * Tue Aug 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
  67. - new upstream release
  68. - delete Patch1
  69. * Sun Jul 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-2
  70. - add Patch1 (sakura-2.4.1-sakura_init.patch)
  71. - add BuildRequires: desktop-file-utils
  72. * Sun Jul 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
  73. - new upstream release
  74. * Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.0-1
  75. - new upstream release
  76. * Sat Apr 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.8-1
  77. - new upstream release
  78. * Sat Mar 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.7-1
  79. - new upstream release
  80. - change Patch0 for sakura-2.3.7
  81. * Sun Jan 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.6-1
  82. - initial build for Vine Linux