[9179] | 1 | %define pkg_version 3.2.0 |
---|
| 2 | %define pkg_release 1%{?_dist_release} |
---|
[521] | 3 | |
---|
| 4 | Summary: A terminal emulator based on libvte. |
---|
| 5 | Summary(ja): libvteベースの端末エミュレータ |
---|
| 6 | Name: sakura |
---|
| 7 | Version: %{pkg_version} |
---|
| 8 | Release: %{pkg_release} |
---|
[5811] | 9 | |
---|
[521] | 10 | Source0: http://pleyades.net/david/projects/sakura/%{name}-%{version}.tar.bz2 |
---|
[5811] | 11 | |
---|
[566] | 12 | Patch0: sakura-2.3.7-pod2man.patch |
---|
[9179] | 13 | # upstream patch base on |
---|
| 14 | # https://gist.githubusercontent.com/anatol/0b566007276271dcc733/raw/66d93cb9724548837631a8b0ea9865bbf309f8fa/sakura_vte291.patch |
---|
| 15 | Patch1: sakura-3.2.0-vte291.patch |
---|
[5811] | 16 | |
---|
[521] | 17 | License: GPLv2 |
---|
| 18 | Group: User Interface/X |
---|
| 19 | URL: http://pleyades.net/david/sakura.php |
---|
| 20 | |
---|
| 21 | Requires: glib2 >= 2.14.0 |
---|
[5811] | 22 | Requires: gtk3 >= 3.0.0 |
---|
| 23 | Requires: vte3 >= 0.28 |
---|
[521] | 24 | BuildRequires: glib2-devel >= 2.14.0 |
---|
[5811] | 25 | BuildRequires: gtk3-devel >= 3.0.0 |
---|
| 26 | BuildRequires: vte3-devel >= 0.28 |
---|
[521] | 27 | BuildRequires: cmake |
---|
[4439] | 28 | BuildRequires: desktop-file-utils |
---|
[521] | 29 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 30 | |
---|
| 31 | Vendor: Project Vine |
---|
| 32 | Distribution: Vine Linux |
---|
| 33 | Packager: Takemikaduchi |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | %description |
---|
| 37 | 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. |
---|
| 38 | |
---|
| 39 | %description -l ja |
---|
| 40 | Sakura は GTK+ 及び VTEベースの端末エミュレータです。依存性がわずかな端末エミュレータなので、きちんとした端末エミュレータを持つために完全なGNOMEデスクトップをインストールする必要はありません。 |
---|
| 41 | |
---|
| 42 | %prep |
---|
| 43 | %setup -q |
---|
| 44 | %patch0 -p1 -b .pod2man |
---|
[9110] | 45 | %patch1 -p1 -b .vte291 |
---|
[521] | 46 | |
---|
| 47 | %build |
---|
| 48 | %cmake CMAKE_C_FLAGS=%{optflags} . |
---|
| 49 | %{__make} %{?_smp_mflags} |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 54 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 55 | |
---|
[4439] | 56 | desktop-file-install --vendor '' \ |
---|
| 57 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 58 | --remove-category=System \ |
---|
| 59 | $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop |
---|
| 60 | |
---|
[521] | 61 | %find_lang %{name} |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %clean |
---|
| 65 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %files -f %{name}.lang |
---|
| 69 | %defattr(-,root,root) |
---|
| 70 | %doc AUTHORS GPL |
---|
| 71 | %{_bindir}/* |
---|
| 72 | %{_datadir}/applications/* |
---|
| 73 | %{_datadir}/pixmaps/* |
---|
| 74 | %{_datadir}/doc/* |
---|
| 75 | %{_mandir}/man1/* |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %changelog |
---|
[9179] | 79 | * Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 80 | - new upstream release |
---|
| 81 | - update Patch1 (sakura-3.2.0-vte291.patch) |
---|
| 82 | |
---|
[9110] | 83 | * Sun Nov 23 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-2 |
---|
| 84 | - rebuild with vte3-0.38.2 |
---|
| 85 | - add Patch1 (sakura_vte291.patch) |
---|
| 86 | |
---|
[8924] | 87 | * Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[8737] | 90 | * Fri Jul 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
| 91 | - new upstream release |
---|
| 92 | |
---|
[8064] | 93 | * Thu Dec 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
[7731] | 96 | * Wed Jul 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.0-1 |
---|
| 97 | - new upstream release |
---|
| 98 | |
---|
[6143] | 99 | * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.4-1 |
---|
| 100 | - new upstream release |
---|
| 101 | |
---|
[5920] | 102 | * Sun Mar 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.3-1 |
---|
| 103 | - new upstream release |
---|
| 104 | |
---|
[5869] | 105 | * Fri Mar 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1 |
---|
| 106 | - new upstream release |
---|
| 107 | - remove Patch1 |
---|
| 108 | |
---|
[5811] | 109 | * Sun Mar 04 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1 |
---|
| 110 | - new upstream release |
---|
| 111 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
| 112 | - change BuildRequires: vte3-devel instead of vte-devel |
---|
| 113 | - add Patch1: sakura-3.0.0-CMakeLists.patch |
---|
| 114 | |
---|
[4461] | 115 | * Tue Aug 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1 |
---|
| 116 | - new upstream release |
---|
| 117 | - delete Patch1 |
---|
| 118 | |
---|
[4439] | 119 | * Sun Jul 31 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-2 |
---|
| 120 | - add Patch1 (sakura-2.4.1-sakura_init.patch) |
---|
| 121 | - add BuildRequires: desktop-file-utils |
---|
| 122 | |
---|
[4405] | 123 | * Sun Jul 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1 |
---|
| 124 | - new upstream release |
---|
| 125 | |
---|
[2721] | 126 | * Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.0-1 |
---|
| 127 | - new upstream release |
---|
| 128 | |
---|
[894] | 129 | * Sat Apr 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.8-1 |
---|
| 130 | - new upstream release |
---|
| 131 | |
---|
[566] | 132 | * Sat Mar 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.7-1 |
---|
| 133 | - new upstream release |
---|
| 134 | - change Patch0 for sakura-2.3.7 |
---|
| 135 | |
---|
[7731] | 136 | * Sat Jan 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.6-1 |
---|
[521] | 137 | - initial build for Vine Linux |
---|
| 138 | |
---|