sakura-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. %define pkg_version 2.4.1
  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. Patch1: sakura-2.4.1-sakura_init.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: gtk2 >= 2.10.0
  16. Requires: vte >= 0.16.15
  17. BuildRequires: glib2-devel >= 2.14.0
  18. BuildRequires: gtk2-devel >= 2.10.0
  19. BuildRequires: vte-devel >= 0.16.15
  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 .init
  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 Jul 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-2
  57. - add Patch1 (sakura-2.4.1-sakura_init.patch)
  58. - add BuildRequires: desktop-file-utils
  59. * Sun Jul 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
  60. - new upstream release
  61. * Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.0-1
  62. - new upstream release
  63. * Sat Apr 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.8-1
  64. - new upstream release
  65. * Sat Mar 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.7-1
  66. - new upstream release
  67. - change Patch0 for sakura-2.3.7
  68. * Sun Jan 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.6-1
  69. - initial build for Vine Linux