source: projects/specs/trunk/s/sakura/sakura-vl.spec @ 4439

Revision 4439, 2.5 KB checked in by Takemikaduchi, 13 years ago (diff)

fix bug

Line 
1%define pkg_version 2.4.1
2%define pkg_release 2%{?_dist_release}
3
4Summary: A terminal emulator based on libvte.
5Summary(ja): libvteベースの端末エミュレータ
6Name: sakura
7Version: %{pkg_version}
8Release: %{pkg_release}
9Source0: http://pleyades.net/david/projects/sakura/%{name}-%{version}.tar.bz2
10Patch0: sakura-2.3.7-pod2man.patch
11Patch1: sakura-2.4.1-sakura_init.patch
12License: GPLv2
13Group: User Interface/X
14URL: http://pleyades.net/david/sakura.php
15
16Requires: glib2 >= 2.14.0
17Requires: gtk2 >= 2.10.0
18Requires: vte >= 0.16.15
19BuildRequires: glib2-devel >= 2.14.0
20BuildRequires: gtk2-devel >= 2.10.0
21BuildRequires: vte-devel >= 0.16.15
22BuildRequires: cmake
23BuildRequires: desktop-file-utils
24BuildRoot: %{_tmppath}/%{name}-%{version}-root
25
26Vendor: Project Vine
27Distribution: Vine Linux
28Packager: Takemikaduchi
29
30
31%description
32Sakura 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
35Sakura は GTK+ 及び VTEベースの端末エミュレータです。依存性がわずかな端末エミュレータなので、きちんとした端末エミュレータを持つために完全なGNOMEデスクトップをインストールする必要はありません。
36
37%prep
38%setup -q
39%patch0 -p1 -b .pod2man
40%patch1 -p1 -b .init
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
51desktop-file-install --vendor ''                        \
52    --dir $RPM_BUILD_ROOT%{_datadir}/applications       \
53    --remove-category=System                            \
54    $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
55
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
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
78* Sun Jul 24 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
79- new upstream release
80
81* Fri Feb 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.0-1
82- new upstream release
83
84* Sat Apr 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.8-1
85- new upstream release
86
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
91* Sun Jan 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.3.6-1
92- initial build for Vine Linux
93
Note: See TracBrowser for help on using the repository browser.