sakura-vl.spec 2.6 KB

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