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