source: projects/specs/branches/6/i/icebreaker/icebreaker-vl.spec @ 6364

Revision 6364, 3.9 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild or update packages

Line 
1Summary:        An addictive action-puzzle game involving bouncing penguins
2Summary(ja):    撥ね回るペンギンを囲い込む、中毒性のあるアクションパズルゲーム
3Name:           icebreaker
4Version:        1.2.1
5Release:        3%{?_dist_release}
6License:        GPL
7Group:          Applications/Games
8Source:         icebreaker-%{version}.tgz
9Source1:        %{name}.desktop
10URL:            http://www.mattdm.org/icebreaker/
11Prefix:         %{_prefix}
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
13BuildRequires:  SDL-devel, SDL_mixer-devel, /bin/awk
14
15Requires:  SDL, SDL_mixer
16
17Vendor: Project Vine
18Distribution: Vine Linux
19
20%description
21So, uh, there's a bunch of penguins on an iceberg in Antarctica. You have
22been selected to catch them so they can be shipped to Finland, where they
23are essential to a secret plot for world domination.
24
25%description -l ja
26そう、えーっと、南極の氷山にペンギンの群れがいます。
27連中を捕まえてフィンランドに輸送すべく、あなたに白羽の矢が立ちました。
28同国で極秘裏に進められている世界制覇計画に、連中は必要不可欠なのです。
29
30%prep
31%setup -q
32
33%build
34make OPTIMIZE="$RPM_OPT_FLAGS -finline-functions" highscoredir=/var/lib/games prefix=/usr
35
36%install
37rm -rf $RPM_BUILD_ROOT
38
39mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
40mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/icebreaker
41mkdir -p ${RPM_BUILD_ROOT}%{_var}/lib/games
42#mkdir -p ${RPM_BUILD_ROOT}/etc/X11/applnk/Games
43mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man6
44
45install -m 644 *.wav *.bmp ${RPM_BUILD_ROOT}%{_datadir}/icebreaker
46#install -m 644 icebreaker.desktop ${RPM_BUILD_ROOT}/etc/X11/applnk/Games
47install -s -m 755 icebreaker ${RPM_BUILD_ROOT}%{_bindir}
48install -m 644 icebreaker.6  ${RPM_BUILD_ROOT}%{_mandir}/man6
49
50touch ${RPM_BUILD_ROOT}%{_var}/lib/games/icebreaker.scores
51
52# add desktop
53mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
54install -p -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop
55
56%post
57touch %{_var}/lib/games/icebreaker.scores
58chown games:games %{_var}/lib/games/icebreaker.scores
59chmod 0664 %{_var}/lib/games/icebreaker.scores
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr (-,root,root)
66%doc README TODO LICENSE ChangeLog
67%attr(2755,root,games) %{_bindir}/icebreaker
68#/etc/X11/applnk/Games/icebreaker.desktop
69%{_datadir}/applications/%{name}.desktop
70%{_datadir}/icebreaker
71%{_mandir}/man6/*
72%attr(664,games,games) %ghost %{_var}/lib/games/icebreaker.scores
73
74%changelog
75* Sun Jun 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2-3
76- rebuild with Vine6 environment
77
78* Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.2-2vl5
79- applied new versioning policy, spec in utf-8
80
81* Sun Jul 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2-1vl3
82- rebuilt for VineSeed
83- changed Group to Applications/Games
84
85* Thu May 19 2005 OOI Keita <ooi.keita@gmail.com> - 1.2-1vl2
86- euc spec file
87
88* Wed Feb 9 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.2-1vl1
89- based on original rpm
90- ja summary and description from deb
91
92* Sat Jul 28 2001 Matthew Miller <mattdm@mattdm.org>
93- 1.2
94
95* Tue Jul 24 2001 Matthew Miller <mattdm@mattdm.org>
96- move man page section 6
97
98* Sun Jul 22 2001 Matthew Miller <mattdm@mattdm.org>
99- 1.1
100
101* Fri Jul 20 2001 Matthew Miller <mattdm@mattdm.org>
102- borrowed idea of using post-script to create high score file
103  from Mandrake RPM. That way, it doesn't have to be marked as a config
104  file, and yet won't get zapped on upgrade.
105- also, modified Makefile to cope with RPM_OPT_FLAGS, again as per
106  Mandrake.
107
108* Thu Jul 19 2001 Matthew Miller <mattdm@mattdm.org>
109- added man page
110
111* Tue Jul 18 2001 Matthew Miller <mattdm@mattdm.org>
112- updated to 1.09
113
114* Thu Oct 5 2000 Matthew Miller <mattdm@mattdm.org>
115- looks good to me. one-point-oh
116
117* Tue Oct 3 2000 Matthew Miller <mattdm@mattdm.org>
118- updated to 0.995
119- better make process
120
121* Mon Oct 2 2000 Matthew Miller <mattdm@mattdm.org>
122- updated to 0.99 :)
123
124* Mon Oct 2 2000 Matthew Miller <mattdm@mattdm.org>
125- updated to 0.98
126
127* Fri Sep 15 2000 Matthew Miller <mattdm@mattdm.org>
128- first package
Note: See TracBrowser for help on using the repository browser.