source: projects/specs/trunk/n/neverball/neverball-vl.spec @ 8952

Revision 8952, 6.1 KB checked in by Takemikaduchi, 10 years ago (diff)

physfs: update to 2.0.3
others: rebuild

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