source: projects/specs/branches/6/n/neverball/neverball-vl.spec @ 2418

Revision 2418, 5.9 KB checked in by kazutaka, 13 years ago (diff)

新規追加

Line 
1Name:           neverball
2Version:        1.5.4
3Release:        1%{?_dist_release}
4Summary:        Roll a ball through an obstacle course
5Summary(ja):    障害物のあるコース内でボールを転がすゲーム
6
7Group:          Applications/Games
8License:        GPLv2+
9URL:            http://neverball.org
10Source0:        http://neverball.org/neverball-%{version}.tar.gz
11Source1:        neverball.desktop
12Source2:        neverputt.desktop
13Patch0:         neverball-1.5.4-dso.patch
14BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15
16BuildRequires:  SDL_image-devel, SDL_ttf-devel, SDL_mixer-devel
17BuildRequires:  freetype2-devel, desktop-file-utils, zlib-devel
18BuildRequires:  libGL-devel, libjpeg-devel, libpng-devel, physfs-devel
19BuildRequires:  libvorbis-devel
20BuildRequires:  gettext
21
22%description
23Tilt the floor to roll a ball through an obstacle course within the
24given time.  If the ball falls or time expires, a ball is lost.
25
26Collect 100 coins to save your progress and earn an extra ball.  Red
27coins are worth 5.  Blue coins are worth 10.
28
29%description -l ja
30障害物のあるコースの床を傾けて、ボールを制限時間内にゴールまで
31運ぶゲームです。ボールが落下するか時間切れになると、ボールが1つ
32減らされます。
33
34コインを100枚集めるとゲームを保存できてボールも1つ増えます。
35赤いコインは1枚で5枚分、青いコインは1枚で10枚分になります。
36
37%prep
38%setup -q
39%patch0 -p0
40
41%build
42%{__make} CFLAGS="$RPM_OPT_FLAGS -ansi `sdl-config --cflags`" DATADIR=%{_datadir}/%{name} %{?_smp_mflags}
43
44%install
45%{__rm} -rf $RPM_BUILD_ROOT
46%{__install} -p -D -m0755 neverball $RPM_BUILD_ROOT/%{_bindir}/neverball
47%{__install} -p -D -m0755 neverputt $RPM_BUILD_ROOT/%{_bindir}/neverputt
48%{__install} -p -d -m0755 $RPM_BUILD_ROOT/%{_datadir}/%{name}/
49%{__install} -p -D -m0644 data/icon/neverball.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/neverball.png
50%{__install} -p -D -m0644 data/icon/neverputt.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/neverputt.png
51%{__cp} -ap  data/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/
52
53desktop-file-install --vendor vine \
54  --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
55%{SOURCE1}
56
57desktop-file-install --vendor vine \
58  --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
59%{SOURCE2}
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(0644,root,root,0755)
66%doc CHANGES COPYING README
67%attr(0755,root,root) %{_bindir}/*
68%{_datadir}/%{name}/
69%{_datadir}/pixmaps/*
70%{_datadir}/applications/*
71
72%changelog
73* Sat Dec 25 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.5.4-1
74- initial build for Vine Linux based on fedora development
75
76* Mon Apr 19 2010 Wart <wart@kobold.org> - 1.5.4-3
77- Add explicit link against -lX11 -lm to remove implicit library
78  linkage (#565203)
79
80* Sun Jan 10 2010 Wart <wart@kobold.org> - 1.5.4-2
81- Set DATADIR so that neverball and neverputt can find their data (#538210)
82
83* Thu Oct 8 2009 Wart <wart@kobold.org> - 1.5.4-1
84- Update to 1.5.4
85
86* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-17
87- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
88
89* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-16
90- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
91
92* Thu Jan 29 2009 Wart <wart@kobold.org> - 1.4.0-15
93- Change from bitstream-vera font to equivalent dejavu font.
94
95* Fri Jan 16 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.4.0-14
96- Fix font Requires bitstream-vera-fonts-sans ->
97  bitstream-vera-sans-fonts (another font naming convention change).
98
99* Thu Jan 1 2009 Wart <wart@kobold.org> - 1.4.0-13
100- Fix font package name for F11
101
102* Tue Dec 23 2008 Wart <wart@kobold.org> - 1.4.0-12
103- Replace bundled font with a symlink to an identical system font (BZ #477432)
104
105* Fri Feb 8 2008 Wart <wart@kobold.org> - 1.4.0-11
106- Rebuild for gcc 4.3
107
108* Sat Sep 29 2007 Wart <wart@kobold.org> - 1.4.0-10
109- Add wrapper for detecting DRI when launching game (BZ #304811)
110
111* Mon Aug 20 2007 Wart <wart@kobold.org> - 1.4.0-9
112- License tag clarification
113
114* Fri Mar 9 2007 Wart <wart@kobold.org> - 1.4.0-8
115- Updated desktop file categories
116
117* Sat Sep 2 2006 Wart <wart@kobold.org> - 1.4.0-7
118- Change BR: for opengl
119- Rebuild for Fedora Extras
120
121* Thu Mar 2 2006 Wart <wart@kobold.org> - 1.4.0-6
122- Add dist tag now that spec files are different between releases
123
124* Mon Feb 27 2006 Wart <wart@kobold.org> - 1.4.0-5
125- Added BR: mesa-libGL-devel for modular xorg
126- Added smp_mflags to compile line to speed up build on smp machines
127
128* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.4.0-4
129- rebuild on all arches
130
131* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
132- rebuilt
133
134* Thu Nov 11 2004 Matthias Saou <http://freshrpms.net/> 1.4.0-2
135- Bump release to provide Extras upgrade path.
136- Fix tabs/spaces mixture.
137- Make the changelog breathe a little, and be readable.
138
139* Sat Oct 16 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.4.0-0.fdr.1
140- Update to 1.4.0
141- Remove libGLU BuildRequires, it seems to be gone with an xorg errata,
142  xorg-x11-devel should be all thats needed now though.
143- Add neverputt .desktop file
144
145* Fri Aug 13 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.3.7-0.fdr.1
146- Update to 1.3.7, which fixes a corruption in Neverputt level 16
147
148* Tue Aug 03 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.3.6-0.fdr.1
149- Update to 1.3.6
150
151* Thu Jul 08 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.3.1-0.fdr.1
152- Update to 1.3.1
153- Add icon to .desktop file
154- Really include neverputt binary
155
156* Thu Jun 03 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.2.5-0.fdr.2
157- Sign the src.rpm
158
159* Tue Jun 01 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.2.5-0.fdr.1
160- 1.2.5 and updated to work on FC2
161- Include new neverputt binary.
162- Use CFLAGS for pullingin RPM_OPT_FLAGS
163
164* Fri Mar 19 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.1.0-0.fdr.1
165- 1.1.0
166
167* Fri Nov 21 2003 Nils O. Selåsdal <NOS@Utel.no>- 0:1.0.0-0.fdr.2
168- Add missing BuildRequires.
169
170* Fri May 03 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:1.0.0-0.fdr.1
171- Initial RPM release.
172
Note: See TracBrowser for help on using the repository browser.