source: projects/specs/trunk/f/frozen-bubble/frozen-bubble-vl.spec @ 4168

Revision 4168, 3.3 KB checked in by kazutaka, 11 years ago (diff)

Vine Linux 6 向けに更新

Line 
1%define name    frozen-bubble
2%define version 2.1.0
3%define release 2%{?_dist_release}
4
5Summary:        Game that arranges and erases the same color bubble
6Summary(ja):    同じ色の泡を揃えて消していくゲーム
7Name:           %{name}
8Version:        %{version}
9Release:        %{release}
10Source0:        http://www.frozen-bubble.org/data/%{name}-%{version}.tar.bz2
11Source1:        frozen-bubble.desktop
12License:        GPL
13Group:          Applications/Games
14URL:            http://www.frozen-bubble.org/home/
15
16Requires:       perl
17BuildRequires:  SDL-devel, SDL_mixer-devel
18BuildRequires:  SDL_perl, SDL_Pango-devel
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20
21
22%description
23Frozen-bubble is a puzzle-bobble like puzzle game.
24
25Colorful 3D rendered penguin animations, 100 levels of 1p game,
26hours and hours of 2p game, nights and nights of 2p/3p/4p/5p
27game over LAN or Internet, a level-editor, 3 professional quality
28digital soundtracks, 15 stereo sound effects, 8 unique graphical
29transition effects, 8 unique logo eye-candies.
30
31%description -l ja
32Frozen-bubble はパズルボブルに似たパズルゲームです。
33
34カラフルな 3D ペンギンのアニメーションや、1人プレイ用の100レベル
35のステージ、2人プレイによる対戦、2人から5人までの LAN やインター
36ネット経由のネットワーク対戦、レベルエディタ、3曲の高品質なサウン
37ドトラック、15種類のステレオサウンドエフェクト、8種類のユニークな
38画面エフェクト、8つのロゴアニメーションが楽しめます。
39
40
41%prep
42%setup -q
43
44
45%build
46%{__make} OPTIMIZE="$RPM_OPT_FLAGS" \
47          CFLAGS="$RPM_OPT_FLAGS `pkg-config glib-2.0 --cflags`" \
48          LIBS="`pkg-config glib-2.0 --libs`" \
49          LIBDIR=%{_libdir} \
50          DATADIR=%{_datadir} \
51          INSTALLDIRS=vendor
52
53
54%install
55%{__rm} -rf ${RPM_BUILD_ROOT}
56%{__make} install DESTDIR=$RPM_BUILD_ROOT \
57                  LIBDIR=%{_libdir} \
58                  DATADIR=%{_datadir} \
59                  BINDIR=%{_bindir} \
60                  MANDIR=%{_mandir} \
61                  LOCALEDIR=%{_datadir}/locale
62
63# install icon & desktop files
64%{__install} -m 644 -D icons/frozen-bubble-icon-48x48.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
65%{__install} -m 644 -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
66
67# Remove unnecessary files.
68%{__rm} -rf ${RPM_BUILD_ROOT}/%{perl_vendorarch}/auto/fb_c_stuff/.packlist
69%{__rm} -rf ${RPM_BUILD_ROOT}/%{perl_archlib}/perllocal.pod
70                 
71%find_lang %{name}
72
73
74%clean
75%{__rm} -rf ${RPM_BUILD_ROOT}
76
77
78%files -f %{name}.lang
79%defattr(-,root,root)
80%doc AUTHORS COPYING INSTALL NEWS README TIPS
81%{_bindir}/frozen-bubble
82%{_bindir}/frozen-bubble-editor
83%{_libdir}/frozen-bubble/fb-server
84%{perl_vendorarch}/FBLE.pm
85%{perl_vendorarch}/auto/fb_c_stuff/fb_c_stuff*
86%{perl_vendorarch}/fb_c_stuff.pm
87%{perl_vendorarch}/fb_net.pm
88%{perl_vendorarch}/fb_stuff.pm
89%{perl_vendorarch}/fbsyms.pm
90%{_datadir}/frozen-bubble/*
91%{_datadir}/pixmaps/frozen-bubble.png
92%{_datadir}/applications/frozen-bubble.desktop
93%{_mandir}/man6/frozen-bubble*
94
95%changelog
96* Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 2.1.0-2
97- rebuild for Vine Linux 6
98
99* Sun Sep 07 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.0-1vl5
100- applied new versioning policy, spec in utf-8
101
102* Mon Mar 26 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.1.0-0vl1
103- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.