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

Revision 4461, 2.6 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

Line 
1%define pkg_version 2.4.2
2%define pkg_release 1%{?_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
11License: GPLv2
12Group: User Interface/X
13URL: http://pleyades.net/david/sakura.php
14
15Requires: glib2 >= 2.14.0
16Requires: gtk2 >= 2.10.0
17Requires: vte >= 0.16.15
18BuildRequires: glib2-devel >= 2.14.0
19BuildRequires: gtk2-devel >= 2.10.0
20BuildRequires: vte-devel >= 0.16.15
21BuildRequires: cmake
22BuildRequires: desktop-file-utils
23BuildRoot: %{_tmppath}/%{name}-%{version}-root
24
25Vendor: Project Vine
26Distribution: Vine Linux
27Packager: Takemikaduchi
28
29
30%description
31Sakura 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
34Sakura は 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
49desktop-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
Note: See TracBrowser for help on using the repository browser.