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