]> git.pld-linux.org Git - packages/gnome-games.git/blob - gnome-games.spec
248db5c71896066286a489b1d34853f2c5bc9824
[packages/gnome-games.git] / gnome-games.spec
1 Summary:        GNOME games
2 Summary(es):    Juegos de GNOME
3 Summary(fr):    Jeux pour GNOME
4 Summary(pl):    GNOME - gry
5 Summary(ru):    éÇÒÙ ÐÏÄ GNOME
6 Summary(uk):    ¶ÇÒɠЦĠGNOME
7 Summary(wa):    Djeus po GNOME
8 Name:           gnome-games
9 Version:        2.6.2
10 Release:        3
11 Epoch:          1
12 License:        LGPL
13 Group:          X11/Applications/Games
14 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
15 # Source0-md5:  3b43e035912ec7e941568b571f1237ae
16 Patch0:         %{name}-schemas.patch
17 Patch1:         %{name}-locale-names.patch
18 Icon:           gnome-games.gif
19 URL:            http://www.gnome.org/
20 BuildRequires:  GConf2-devel >= 2.6.2
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  esound-devel
24 BuildRequires:  gnome-vfs2-devel >= 2.6.1.1
25 BuildRequires:  guile-devel >= 1.6.4
26 BuildRequires:  gtk+2-devel >= 2:2.4.3
27 BuildRequires:  intltool >= 0.29
28 BuildRequires:  libglade2-devel >= 1:2.4.0
29 BuildRequires:  libgnome-devel >= 2.6.1.1
30 BuildRequires:  libgnomeui-devel >= 2.6.1.1
31 BuildRequires:  libltdl-devel
32 BuildRequires:  librsvg >= 1:2.6.5
33 BuildRequires:  libstdc++-devel
34 BuildRequires:  libtool
35 BuildRequires:  scrollkeeper >= 0.3.8
36 BuildRequires:  rpm-build >= 4.1-10
37 Requires(post): GConf2
38 Requires(post): coreutils
39 Requires(post,postun):  /sbin/ldconfig
40 Requires(post,postun):  scrollkeeper
41 Requires:       gnome-vfs2 >= 2.6.1.1
42 Requires:       librsvg >= 1:2.6.5
43 Obsoletes:      gnect
44 Obsoletes:      gnome
45 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46
47 %define         _localstatedir  /var
48 %define         _gamesdir       %{_localstatedir}/games
49
50 %description
51 GNOME games.
52
53 GNOME is the GNU Network Object Model Environment. That's a fancy name
54 but really GNOME is a nice GUI desktop environment. It makes using
55 your computer easy, powerful, and easy to configure.
56
57 %description -l pl
58 Gry pod GNOME.
59
60 %description -l uk
61 ðÁËÅÔ gnome-games ×ËÌÀÞÁ¤ ¦ÇÒÉ ÄÌÑ ÓÅÒÅÄÏ×ÉÝÁ ÒÏÂÏÞÏÇÏ ÓÔÏÌÕ GNOME,
62 ÓÅÒÅÄ ÑËÉÈ GnomeScott, freecell, gnibbles, gnobots, gnobots2,
63 gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
64 same-gnome ÔÁ sol.
65
66 %description -l ru
67 ðÁËÅÔ gnome-games ×ËÌÀÞÁÅÔ ÉÇÒÙ ÄÌÑ ÓÒÅÄÙ ÒÁÂÏÞÅÇÏ ÓÔÏÌÁ GNOME, ÓÒÅÄÉ
68 ËÏÔÏÒÙÈ GnomeScott, freecell, gnibbles, gnobots, gnobots2,
69 gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
70 same-gnome É sol.
71
72 %package devel
73 Summary:        GNOME games libraries - header files
74 Summary(pl):    Pliki nag³ówkowe do tworzenia programów opartych o GNOME games
75 Summary(ru):    æÁÊÌÙ ÒÁÚÒÁÂÏÔËÉ ÉÇÒ ÐÏÄ GNOME
76 Summary(uk):    æÁÊÌÉ ÒÏÚÒÏÂËÉ ¦ÇҠЦĠGNOME
77 Group:          X11/Development/Libraries
78 Requires:       %{name} = %{epoch}:%{version}-%{release}
79 Requires:       gtk+2-devel >= 2:2.4.3
80
81 %description devel
82 GNOME games libraries - header files.
83
84 Right now this is just stuff to develop care games. I think.
85
86 %description devel -l pl
87 Pliki nag³ówkowe do tworzenia programów opartych o GNOME games.
88
89 %description devel -l uk
90 ðÁËÅÔ gnome-games-devel ×ÓÔÁÎÏ×ÌÀ¤ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ¦ÇÏÒ
91 ЦĠGNOME.
92
93 %description devel -l ru
94 ðÁËÅÔ gnome-games-devel ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ
95 ÒÁÚÒÁÂÏÔËÉ ÉÇÒ ÐÏÄ GNOME.
96
97 %package static
98 Summary:        GNOME games static libraries
99 Summary(pl):    Biblioteki statyczne do GNOME games
100 Group:          X11/Development/Libraries
101 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
102
103 %description static
104 GNOME games static libraries.
105
106 %description static -l pl
107 Biblioteki statyczne do GNOME games.
108
109 %prep
110 %setup -q
111 %patch0 -p1
112 %patch1 -p1
113
114 mv po/{no,nb}.po
115
116 %build
117 cp -f /usr/share/automake/config.sub .
118 glib-gettextize --copy --force
119 intltoolize --copy --force
120 %{__libtoolize}
121 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
122 %{__autoheader}
123 %{__autoconf}
124 %{__automake}
125 %configure
126 %{__make}
127
128 %install
129 rm -rf $RPM_BUILD_ROOT
130
131 %{__make} install \
132         DESTDIR=$RPM_BUILD_ROOT \
133         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
134
135 %find_lang %{name} --with-gnome --all-name
136
137 %clean
138 rm -rf $RPM_BUILD_ROOT
139
140 %post
141 /sbin/ldconfig
142 /usr/bin/scrollkeeper-update
143 %gconf_schema_install
144
145 for i in glines.scores gnibbles.1.0.scores gnibbles.1.1.scores \
146         gnibbles.2.0.scores gnibbles.2.1.scores gnibbles.3.0.scores \
147         gnibbles.3.1.scores gnibbles.4.0.scores gnibbles.4.1.scores \
148         gnobots2.classic_robots-safe.scores \
149         gnobots2.classic_robots-super-safe.scores \
150         gnobots2.classic_robots.scores gnobots2.nightmare-safe.scores \
151         gnobots2.nightmare-super-safe.scores gnobots2.nightmare.scores \
152         gnobots2.robots2-safe.scores gnobots2.robots2-super-safe.scores \
153         gnobots2.robots2.scores gnobots2.robots2_easy-safe.scores \
154         gnobots2.robots2_easy-super-safe.scores gnobots2.robots2_easy.scores \
155         gnobots2.robots_with_safe_teleport-safe.scores \
156         gnobots2.robots_with_safe_teleport-super-safe.scores \
157         gnobots2.robots_with_safe_teleport.scores gnome-stones.scores \
158         gnometris.scores gnomine.Custom.scores gnomine.Large.scores \
159         gnomine.Medium.scores gnomine.Small.scores gnotravex.2x2.scores \
160         gnotravex.3x3.scores gnotravex.4x4.scores gnotravex.5x5.scores \
161         gnotravex.6x6.scores gnotski.1.scores gnotski.11.scores \
162         gnotski.12.scores gnotski.13.scores gnotski.14.scores \
163         gnotski.15.scores gnotski.16.scores gnotski.17.scores gnotski.2.scores \
164         gnotski.21.scores gnotski.22.scores gnotski.23.scores \
165         gnotski.24.scores gnotski.25.scores gnotski.26.scores gnotski.3.scores \
166         gnotski.4.scores gnotski.5.scores gnotski.6.scores gnotski.7.scores \
167         gtali.scores mahjongg.bridges.scores mahjongg.cloud.scores \
168         mahjongg.confounding.scores mahjongg.difficult.scores \
169         mahjongg.dragon.scores mahjongg.easy.scores mahjongg.pyramid.scores \
170         mahjongg.tictactoe.scores same-gnome.scores; do
171         if [ ! -f %{_gamesdir}/$i.scores ]; then
172                 touch %{_gamesdir}/$i.scores
173                 chown root:games %{_gamesdir}/$i.scores
174                 chmod 664 %{_gamesdir}/$i.scores
175         fi
176 done
177
178 %postun
179 /sbin/ldconfig
180 /usr/bin/scrollkeeper-update
181
182 %files -f %{name}.lang
183 %defattr(644,root,root,755)
184 %doc AUTHORS ChangeLog NEWS README
185 %config %{_sysconfdir}/sound/events/*
186 %{_sysconfdir}/gconf/schemas/*
187
188 %attr(755,root,root) %{_bindir}/gataxx
189 %attr(755,root,root) %{_bindir}/sol
190 %attr(755,root,root) %{_bindir}/gnect
191 %attr(755,root,root) %{_bindir}/blackjack
192 %attr(2755,root,games) %{_bindir}/glines
193 %attr(2755,root,games) %{_bindir}/gnibbles
194 %attr(2755,root,games) %{_bindir}/gnobots2
195 %attr(2755,root,games) %{_bindir}/gnome-stones
196 %attr(2755,root,games) %{_bindir}/gnometris
197 %attr(2755,root,games) %{_bindir}/gnomine
198 %attr(2755,root,games) %{_bindir}/gnotravex
199 %attr(2755,root,games) %{_bindir}/gnotski
200 %attr(2755,root,games) %{_bindir}/gtali
201 %attr(2755,root,games) %{_bindir}/iagno
202 %attr(2755,root,games) %{_bindir}/mahjongg
203 %attr(2755,root,games) %{_bindir}/same-gnome
204
205 %attr(755,root,root) %{_libdir}/lib*.so.*.*
206 %dir %{_libdir}/gnome-stones
207 %dir %{_libdir}/gnome-stones/objects
208 %attr(755,root,root) %{_libdir}/gnome-stones/objects/lib*.so*
209 %{_libdir}/gnome-stones/objects/lib*.la
210
211 %{_datadir}/gnome-stones
212 %{_datadir}/sol-games
213 %{_datadir}/blackjack
214
215 %{_datadir}/gnome-stonesrc
216 %lang(ko) %{_datadir}/gnome-stonesrc.ko
217
218 %{_datadir}/mime-info/*
219 %{_pixmapsdir}/*
220 %{_datadir}/sounds/*
221 %{_desktopdir}/*
222 %{_datadir}/gnect
223 %{_datadir}/gnibbles
224 %{_datadir}/gnobots2
225
226 %{_omf_dest_dir}/%{name}
227 %attr(664,root,games) %ghost %{_gamesdir}/*
228
229 %files devel
230 %defattr(644,root,root,755)
231 %attr(755,root,root) %{_libdir}/lib*.so
232 %{_libdir}/lib*.la
233 %{_includedir}/*
234
235 %files static
236 %defattr(644,root,root,755)
237 %{_libdir}/lib*.a
238 %{_libdir}/gnome-stones/objects/lib*.a
This page took 0.083777 seconds and 3 git commands to generate.