source: projects/specs/trunk/i/icebreaker/icebreaker-vl.spec @ 521

Revision 521, 3.9 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:        An addictive action-puzzle game involving bouncing penguins
2Summary(ja):    撥ね回るペンギンを囲い込む、中毒性のあるアクションパズルゲーム
3Name:           icebreaker
4Version:        1.2.1
5Release:        2%{?_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 Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.2-2vl5
76- applied new versioning policy, spec in utf-8
77
78* Sun Jul 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2-1vl3
79- rebuilt for VineSeed
80- changed Group to Applications/Games
81
82* Thu May 19 2005 OOI Keita <ooi.keita@gmail.com> - 1.2-1vl2
83- euc spec file
84
85* Wed Feb 9 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.2-1vl1
86- based on original rpm
87- ja summary and description from deb
88
89* Sat Jul 28 2001 Matthew Miller <mattdm@mattdm.org>
90- 1.2
91
92* Tue Jul 24 2001 Matthew Miller <mattdm@mattdm.org>
93- move man page section 6
94
95* Sun Jul 22 2001 Matthew Miller <mattdm@mattdm.org>
96- 1.1
97
98* Fri Jul 20 2001 Matthew Miller <mattdm@mattdm.org>
99- borrowed idea of using post-script to create high score file
100  from Mandrake RPM. That way, it doesn't have to be marked as a config
101  file, and yet won't get zapped on upgrade.
102- also, modified Makefile to cope with RPM_OPT_FLAGS, again as per
103  Mandrake.
104
105* Thu Jul 19 2001 Matthew Miller <mattdm@mattdm.org>
106- added man page
107
108* Tue Jul 18 2001 Matthew Miller <mattdm@mattdm.org>
109- updated to 1.09
110
111* Thu Oct 5 2000 Matthew Miller <mattdm@mattdm.org>
112- looks good to me. one-point-oh
113
114* Tue Oct 3 2000 Matthew Miller <mattdm@mattdm.org>
115- updated to 0.995
116- better make process
117
118* Mon Oct 2 2000 Matthew Miller <mattdm@mattdm.org>
119- updated to 0.99 :)
120
121* Mon Oct 2 2000 Matthew Miller <mattdm@mattdm.org>
122- updated to 0.98
123
124* Fri Sep 15 2000 Matthew Miller <mattdm@mattdm.org>
125- first package
Note: See TracBrowser for help on using the repository browser.