sakura-vl.spec 2.9 KB

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