1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
1 |
%define gettext_package gnome-games
|
2 |
||
3 |
%define glib2_version 2.2.0
|
|
4 |
%define pango_version 1.2.0
|
|
5 |
%define gtk2_version 2.2.0
|
|
6 |
%define libgnomeui_version 2.2.0
|
|
7 |
%define desktop_file_utils_version 0.2.90
|
|
8 |
||
9 |
%define localstatedir /var/lib
|
|
10 |
||
11 |
Summary: GNOME games. |
|
12 |
Name: gnome-games |
|
1.1.56
by Andreas Moog
Import upstream version 2.23.92 |
13 |
Version: 2.23.92 |
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
14 |
Release: 1 |
15 |
Epoch: 1 |
|
16 |
Copyright: GPL |
|
17 |
Group: Amusements/Games |
|
18 |
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2 |
|
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|
20 |
Obsoletes: gnome-games-devel |
|
21 |
URL: http://www.gnome.org |
|
22 |
||
23 |
Prereq: scrollkeeper >= 0.1.4 |
|
24 |
Prereq: GConf2 |
|
25 |
Prereq: /usr/bin/gconftool-2 |
|
26 |
||
27 |
BuildRequires: glib2-devel >= %{glib2_version} |
|
28 |
BuildRequires: pango-devel >= %{pango_version} |
|
29 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
30 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
31 |
# BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
|
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
32 |
BuildRequires: guile-devel |
1.1.18
by Sebastien Bacher
Import upstream version 2.17.2 |
33 |
BuildRequires: expat-devel |
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
34 |
|
35 |
%description
|
|
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
36 |
|
37 |
Gnome-games is a collection of small games that take advantage of the |
|
38 |
GNOME desktop environment. It contains a mixture of puzzle games, card |
|
39 |
games, and some arcade favorites. You must have the GNOME libraries |
|
40 |
installed to play these games but they will work with any desktop |
|
41 |
environment. |
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
42 |
|
43 |
%prep
|
|
44 |
%setup -q
|
|
45 |
||
46 |
%build
|
|
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
47 |
|
48 |
%configure --localstatedir=%{localstatedir} --disable-schemas-install --disable-setgid |
|
49 |
make |
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
50 |
|
51 |
%install
|
|
52 |
rm -rf $RPM_BUILD_ROOT
|
|
53 |
||
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
54 |
# configure option should take care of this
|
55 |
#export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
56 |
%makeinstall localstatedir=$RPM_BUILD_ROOT%{localstatedir} |
|
57 |
#unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
58 |
||
59 |
## things we just don't want in the package
|
|
60 |
rm -rf $RPM_BUILD_ROOT%{_libdir}/libgdkcardimage.*a |
|
61 |
rm -rf $RPM_BUILD_ROOT%{localstatedir}/scrollkeeper |
|
62 |
||
63 |
# install desktop files
|
|
64 |
# need a fix for bug 114322 for this to work
|
|
65 |
#desktop-file-install --vendor gnome --delete-original \
|
|
66 |
# --dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
67 |
# --add-category X-Red-Hat-Base \
|
|
68 |
# $RPM_BUILD_ROOT%{_datadir}/applications/*
|
|
69 |
# In the meantime the following works
|
|
70 |
#perl -pi -e 's@^(Categories=.*)$@$1;X-Red-Hat-Base@g' $RPM_BUILD_ROOT%{_datadir}/applications/*
|
|
71 |
||
72 |
%find_lang %{gettext_package} |
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
73 |
|
74 |
%clean
|
|
75 |
rm -rf $RPM_BUILD_ROOT
|
|
76 |
||
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
77 |
%post
|
78 |
/sbin/ldconfig |
|
79 |
scrollkeeper-update |
|
80 |
||
81 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
1.1.18
by Sebastien Bacher
Import upstream version 2.17.2 |
82 |
SCHEMAS="aisleriot.schemas blackjack.schemas glines.schemas gnect.schemas
|
1.1.30
by Daniel Holbach
Import upstream version 2.19.2 |
83 |
gnibbles.schemas gnobots2.schemas gnometris.schemas gnomine.schemas |
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
84 |
gnotravex.schemas gtali.schemas iagno.schemas mahjongg.schemas same-gnome.schemas"
|
85 |
for S in $SCHEMAS; do |
|
86 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null
|
|
87 |
done |
|
88 |
||
89 |
%postun
|
|
90 |
/sbin/ldconfig |
|
91 |
scrollkeeper-update |
|
92 |
||
93 |
%files -f %{gettext_package}.lang
|
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
94 |
%defattr(-, root, root)
|
95 |
||
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
96 |
%doc AUTHORS COPYING ChangeLog
|
97 |
||
98 |
%{_datadir}/gnome
|
|
99 |
%{_datadir}/applications
|
|
100 |
%{_datadir}/gnect
|
|
101 |
%{_datadir}/pixmaps
|
|
102 |
%{_datadir}/gnobots2
|
|
103 |
%{_datadir}/sounds
|
|
104 |
%{_datadir}/mime-info
|
|
105 |
%{_datadir}/gnibbles
|
|
106 |
%{_datadir}/sol-games
|
|
107 |
%{_datadir}/omf
|
|
108 |
%{_datadir}/blackjack
|
|
109 |
%{_libdir}/*.so.*
|
|
110 |
%{_sysconfdir}/gconf/schemas/*
|
|
111 |
%config %{_sysconfdir}/sound/events/* |
|
112 |
%config(noreplace) %attr(664, games, games) %{localstatedir}/games/* |
|
113 |
||
114 |
# could be a devel package
|
|
115 |
%{_includedir}/gdkcardimage
|
|
116 |
%{_libdir}/*.so
|
|
117 |
||
118 |
# these are not setgid games
|
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
119 |
%defattr (-, root,games)
|
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
120 |
%{_bindir}/gnect
|
121 |
%{_bindir}/blackjack
|
|
1.1.18
by Sebastien Bacher
Import upstream version 2.17.2 |
122 |
%{_bindir}/gnome-sudoku
|
123 |
%{_bindir}/glchess
|
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
124 |
%{_bindir}/sol
|
125 |
||
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
126 |
# these are setgid games
|
127 |
%defattr (2551, root, games)
|
|
128 |
%{_bindir}/gnomine
|
|
129 |
%{_bindir}/same-gnome
|
|
130 |
%{_bindir}/mahjongg
|
|
131 |
%{_bindir}/gtali
|
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
132 |
%{_bindir}/gnobots2
|
133 |
%{_bindir}/gnometris
|
|
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
134 |
%{_bindir}/gnotravex
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
135 |
%{_bindir}/gnotski
|
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
136 |
%{_bindir}/gnibbles
|
137 |
%{_bindir}/glines
|
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
138 |
%{_bindir}/iagno
|
139 |
||
140 |
%changelog
|
|
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
141 |
* Fri Jun 27 2003 Callum McKenzie <callum@physics.otago.ac.nz>
|
142 |
- Fixups to remove some Red Hat specifics. |
|
143 |
||
144 |
* Thu Jun 26 2003 William Jon McCann <mccann@jhu.edu>
|
|
145 |
- Synch vendor and CVS versions |
|
146 |
||
147 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
148 |
- rebuilt |
|
149 |
||
150 |
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
|
|
151 |
- debuginfo rebuild |
|
152 |
||
153 |
* Sun Feb 23 2003 Jeremy Katz <katzj@redhat.com> 1:2.2.0-2
|
|
154 |
- apply the gnect schemas (#84905) |
|
155 |
- gnome-stones shouldn't crash on startup (#84904) |
|
156 |
||
157 |
* Wed Feb 5 2003 Havoc Pennington <hp@redhat.com> 1:2.2.0-1
|
|
158 |
- 2.2.0 |
|
159 |
||
160 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
161 |
- rebuilt |
|
162 |
||
163 |
* Thu Jan 9 2003 Havoc Pennington <hp@redhat.com>
|
|
164 |
- 2.1.5 |
|
165 |
||
166 |
* Wed Dec 4 2002 Havoc Pennington <hp@redhat.com>
|
|
167 |
- munge empty string default value out of gtali.schemas |
|
168 |
- increment version numbers on requirements |
|
169 |
||
170 |
* Tue Dec 3 2002 Bill Nottingham <notting@redhat.com> 1:2.1.3-2
|
|
171 |
- rebuild against new guile |
|
172 |
||
173 |
* Mon Dec 2 2002 Tim Powers <timp@redhat.com> 1:2.1.3-1
|
|
174 |
- update to 2.1.3 |
|
175 |
||
176 |
* Tue Aug 13 2002 Havoc Pennington <hp@redhat.com>
|
|
177 |
- add some OnlyShowIn |
|
178 |
||
179 |
* Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
|
|
180 |
- 2.0.3 from gnome 2.0.1 |
|
181 |
||
182 |
* Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
|
|
183 |
- 2.0.2 |
|
184 |
||
185 |
* Tue Jul 23 2002 Havoc Pennington <hp@redhat.com>
|
|
186 |
- gnect doesn't like being setgid games |
|
187 |
- obsolete gnome-games-devel |
|
188 |
||
189 |
* Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
|
|
190 |
- add gnect |
|
191 |
||
192 |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
193 |
- automated rebuild |
|
194 |
||
195 |
* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
|
|
196 |
- 2.0.0 |
|
197 |
- remove noreplace from the .soundlist files |
|
198 |
- add missing schemas |
|
199 |
- get rid of gnometris again |
|
200 |
- use desktop-file-install |
|
201 |
||
202 |
* Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
|
|
203 |
- rebuild in different environment |
|
204 |
||
205 |
* Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
|
|
206 |
- 1.93.0 |
|
207 |
- remove empty NEWS/README |
|
208 |
- fix ldconfig in post |
|
209 |
||
210 |
* Sun May 26 2002 Tim Powers <timp@redhat.com>
|
|
211 |
- automated rebuild |
|
212 |
||
213 |
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
|
|
214 |
- rebuild in different environment |
|
215 |
||
216 |
* Tue May 21 2002 Havoc Pennington <hp@redhat.com>
|
|
217 |
- 1.92.0 |
|
218 |
||
219 |
* Fri May 3 2002 Havoc Pennington <hp@redhat.com>
|
|
220 |
- 1.91.0 |
|
221 |
||
222 |
* Fri Apr 19 2002 Havoc Pennington <hp@redhat.com>
|
|
223 |
- GNOME 2 version |
|
224 |
- spec file cleanups |
|
225 |
- no devel package |
|
226 |
- don't run auto*, just use the "rm from buildroot" approach to lose xbill
|
|
227 |
||
228 |
* Tue Apr 09 2002 Phil Knirsch <pknirsch@redhat.com>
|
|
229 |
- Bumped version number for rebuild and relink agains new guile lib |
|
230 |
||
231 |
* Tue Aug 14 2001 Jonathan Blandford <jrb@redhat.com>
|
|
232 |
- Add BuildRequires on ncurses-devel |
|
233 |
||
234 |
* Mon Jul 23 2001 Jonathan Blandford <jrb@redhat.com>
|
|
235 |
- Add BuildRequires |
|
236 |
||
237 |
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
238 |
- Bump release + rebuild. |
|
239 |
||
240 |
* Fri Apr 20 2001 <jrb@redhat.com>
|
|
241 |
- New version (1.4.0) |
|
242 |
||
243 |
* Tue Apr 17 2001 Jonathan Blandford <jrb@redhat.com>
|
|
244 |
- New Version. |
|
245 |
||
246 |
* Tue Feb 27 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
|
247 |
- use %%{_tmppath} |
|
248 |
- langify |
|
249 |
||
250 |
* Mon Aug 21 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
251 |
- run ldconfig in post and postun (#16589) |
|
252 |
- don't put the post and postun scripts in the middle of the files list -- |
|
253 |
that tends to break things (oops) |
|
254 |
||
255 |
* Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com>
|
|
256 |
- Up Epoch and release |
|
257 |
||
258 |
* Fri Aug 04 2000 Havoc Pennington <hp@redhat.com>
|
|
259 |
- Remove .desktop for gturing |
|
260 |
||
261 |
* Mon Jul 17 2000 Jonathan Blandford <jrb@redhat.com>
|
|
262 |
- Mark high-score files as %config(noreplace). |
|
263 |
||
264 |
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
265 |
- automatic rebuild |
|
266 |
||
267 |
* Tue Jul 11 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
268 |
- rebuild in new environment |
|
269 |
||
270 |
* Sat Jul 8 2000 Havoc Pennington <hp@redhat.com>
|
|
271 |
- Remove Docdir |
|
272 |
||
273 |
* Tue Jul 03 2000 Nalin Dahyabhai <nalin@redhat.com>
|
|
274 |
- rebuild in new environment |
|
275 |
||
276 |
* Thu Jun 15 2000 Owen Taylor <otaylor@redhat.com>
|
|
277 |
- 1.2.0 |
|
278 |
- remove gnometris, xbill from subdirs since we don't install |
|
279 |
them and they cause problems with new C compiler |
|
280 |
- update autoconf stuff |
|
281 |
- remove gturing, add gnotski to the file list |
|
282 |
||
283 |
* Thu May 11 2000 Matt Wilson <msw@redhat.com>
|
|
284 |
- 1.1.90 |
|
285 |
||
286 |
* Thu Feb 10 2000 Preston Brown <pbrown@redhat.com>
|
|
287 |
- mark sound event files as config files |
|
288 |
||
289 |
* Tue Sep 21 1999 Michael Fulbright <drmike@redhat.com>
|
|
290 |
- fixed gnotravex to not loop infinitely |
|
291 |
||
292 |
* Mon Sep 20 1999 Elliot Lee <sopwith@redhat.com>
|
|
293 |
- Update to 1.0.40 |
|
294 |
||
295 |
* Sat Apr 10 1999 Jonathan Blandford <jrb@redhat.com>
|
|
296 |
- added new sol games and a fix for the old ones. |
|
297 |
||
298 |
* Mon Mar 29 1999 Michael Fulbright <drmike@redhat.com>
|
|
299 |
- removed more offending t*tris stuff
|
|
300 |
||
301 |
* Thu Mar 18 1999 Michael Fulbright <drmike@redhat.com>
|
|
302 |
- version 1.0.2 |
|
303 |
- made gnibbles have correct attr since its setgid |
|
304 |
- strip binaries |
|
305 |
||
306 |
* Sun Mar 14 1999 Michael Fulbright <drmike@redhat.com>
|
|
307 |
- added score files to file list |
|
308 |
||
309 |
* Thu Mar 04 1999 Michael Fulbright <drmike@redhat.com>
|
|
310 |
- Version 1.0.1 |
|
311 |
||
312 |
* Fri Feb 19 1999 Michael Fulbright <drmike@redhat.com>
|
|
313 |
- removed *tris games
|
|
314 |
||
315 |
* Mon Feb 15 1999 Michael Fulbright <drmike@redhat.com>
|
|
316 |
- version 0.99.8 |
|
317 |
- added sound event lists to file list |
|
318 |
- touched up file list some more |
|
319 |
||
320 |
* Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
|
|
321 |
- added gnibbles data to file list |
|
322 |
||
323 |
* Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
|
|
324 |
- updated to 0.99.7 |
|
325 |
||
326 |
* Wed Feb 03 1999 Michael Fulbright <drmike@redhat.com>
|
|
327 |
- updated to 0.99.5 |
|
328 |
||
329 |
* Mon Jan 18 1999 Michael Fulbright <drmike@redhat.com>
|
|
330 |
- updated to 0.99.3 |
|
331 |
||
332 |
* Wed Jan 06 1999 Michael Fulbright <drmike@redhat.com>
|
|
333 |
- updated to 0.99.1 |
|
334 |
||
335 |
* Thu Dec 16 1998 Michael Fulbright <drmike@redhat.com>
|
|
336 |
- updated to 0.99.0 in prep for GNOME 1.0 |
|
1
by Jose Carlos Garcia Sogo
Import upstream version 1.4.0.3 |
337 |
|
338 |
* Sat Nov 21 1998 Michael Fulbright <drmike@redhat.com>
|
|
339 |
- updated for 0.30 tree |
|
340 |
||
341 |
* Fri Nov 20 1998 Pablo Saratxaga <srtxg@chanae.alphanet.ch>
|
|
342 |
- use --localstatedir=/var/lib in config state (score files for games |
|
343 |
for exemple will go there). |
|
344 |
||
345 |
* Mon Mar 16 1998 Marc Ewing <marc@redhat.com>
|
|
346 |
- Integrate into gnome-games CVS source tree |
|
1.1.1
by Josselin Mouette
Import upstream version 2.8.3 |
347 |
|
348 |