]> git.pld-linux.org Git - packages/gnome-games.git/blob - gnome-games.spec
- cut also moules path.
[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(ja):    GNOME ¥²¡¼¥à½¸
5 Summary(ko):    ±×³ð °ÔÀÓµé
6 Summary(pl):    GNOME - gry
7 Summary(ru):    éÇÒÙ ÐÏÄ GNOME
8 Summary(uk):    ¶ÇÒɠЦĠGNOME
9 Summary(wa):    Djeus po GNOME
10 Summary(zh_CN): GNOMEÓÎÏ·
11 Name:           gnome-games
12 Version:        1.4.0.4
13 Release:        4
14 Epoch:          1
15 License:        LGPL
16 Group:          X11/Applications/Games
17 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-games/%{name}-%{version}.tar.gz
18 Patch0:         %{name}-DESTDIR.patch
19 Patch1:         %{name}-scrollkeeper.patch
20 Patch2:         %{name}-ac_fix.patch
21 Patch3:         %{name}-pixbuf_cflags.patch
22 Patch4:         %{name}-applnk.patch
23 Patch5:         %{name}-fix-help-paths.patch
24 Patch6:         %{name}-am16.patch
25 Patch7:         %{name}-xbill.patch
26 Patch8:         %{name}-omf.patch
27 Patch9:         %{name}-gnome-stones_modules_fixes.patch
28 Icon:           gnome-games.gif
29 BuildRequires:  ORBit >= 0.4.3
30 BuildRequires:  audiofile-devel >= 0.1.5
31 BuildRequires:  autoconf
32 BuildRequires:  automake
33 BuildRequires:  esound-devel >= 0.2.7
34 BuildRequires:  gettext-devel
35 BuildRequires:  gnome-libs-devel >= 1.2.13
36 BuildRequires:  gtk+-devel >= 1.2.0
37 BuildRequires:  gdk-pixbuf-devel
38 BuildRequires:  guile-devel >= 1.4.1
39 BuildRequires:  libtool
40 BuildRequires:  ncurses-devel >= 5.0
41 BuildRequires:  readline-devel
42 BuildRequires:  scrollkeeper >= 0.3.11
43 BuildRequires:  libltdl-devel >= 1.4.2
44 BuildRequires:  docbook-utils >= 0.6.11
45 PreReq:         scrollkeeper
46 URL:            http://www.gnome.org/
47 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
48 Obsoletes:      gnome
49 Obsoletes:      gnect
50
51 %define         _prefix         /usr/X11R6
52 %define         _sysconfdir     /etc/X11/GNOME
53 %define         _localstatedir  /var
54 %define         _omf_dest_dir   %(scrollkeeper-config --omfdir)
55
56 %description
57 GNOME games.
58
59 GNOME is the GNU Network Object Model Environment. That's a fancy name
60 but really GNOME is a nice GUI desktop environment. It makes using
61 your computer easy, powerful, and easy to configure.
62
63 %description -l pl
64 Gry pod GNOME.
65
66 %description -l ja
67 gnome-games ¥Ñ¥Ã¥±¡¼¥¸¤Ï GNOME GUI ¥Ç¥¹¥¯¥È¥Ã¥×´Ä¶­ÍѤΥ²¡¼¥à½¸¤Ç¤¹¡£
68 GnomeScott, ctali, freecell, gnibbles, gnobots, gnobots2,
69 gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
70 same-gnome, ¤½¤·¤Æ sol ¤È¤¤¤Ã¤¿¥²¡¼¥à¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
71
72 %description -l uk
73 ðÁËÅÔ gnome-games ×ËÌÀÞÁ¤ ¦ÇÒÉ ÄÌÑ ÓÅÒÅÄÏ×ÉÝÁ ÒÏÂÏÞÏÇÏ ÓÔÏÌÕ GNOME,
74 ÓÅÒÅÄ ÑËÉÈ GnomeScott, freecell, gnibbles, gnobots, gnobots2,
75 gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
76 same-gnome ÔÁ sol.
77
78 %description -l ru
79 ðÁËÅÔ gnome-games ×ËÌÀÞÁÅÔ ÉÇÒÙ ÄÌÑ ÓÒÅÄÙ ÒÁÂÏÞÅÇÏ ÓÔÏÌÁ GNOME, ÓÒÅÄÉ
80 ËÏÔÏÒÙÈ GnomeScott, freecell, gnibbles, gnobots, gnobots2,
81 gnome-stones, gnomine, gnotravex, gtali, gturing, iagno, mahjongg,
82 same-gnome É sol.
83
84 %package devel
85 Summary:        GNOME games libraries - header files
86 Summary(ja):    GNOME ¥²¡¼¥à³«È¯¥é¥¤¥Ö¥é¥ê
87 Summary(pl):    Pliki nag³ówkowe do tworzenia programów opartych o GNOME games
88 Summary(ru):    æÁÊÌÙ ÒÁÚÒÁÂÏÔËÉ ÉÇÒ ÐÏÄ GNOME
89 Summary(uk):    æÁÊÌÉ ÒÏÚÒÏÂËÉ ¦ÇҠЦĠGNOME
90 Summary(zh_CN): GNOMEÓÎÏ·¿ª·¢¿â
91 Group:          X11/Development/Libraries
92 Requires:       %{name} = %{version}
93 Requires:       gtk+-devel
94
95 %description devel
96 GNOME games libraries - header files.
97
98 Right now this is just stuff to develop care games. I think.
99
100 %description devel -l ja
101 gnome-games-devel ¥Ñ¥Ã¥±¡¼¥¸¤Ï¡¢GNOME GUI ¥Ç¥¹¥¯¥È¥Ã¥×´Ä¶­ÍѤΥ²¡¼¥à
102 ¤Î³«È¯¤ËɬÍפʥ饤¥Ö¥é¥ê¤ä¤½¤Î¾¥Õ¥¡¥¤¥ë¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤¹¡£
103
104 %description devel -l pl
105 Pliki nag³ówkowe do tworzenia programów opartych o GNOME games.
106
107 %description devel -l uk
108 ðÁËÅÔ gnome-games-devel ×ÓÔÁÎÏ×ÌÀ¤ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ¦ÇÏÒ
109 ЦĠGNOME.
110
111 %description devel -l ru
112 ðÁËÅÔ gnome-games-devel ÕÓÔÁÎÁ×ÌÉ×ÁÅÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ
113 ÒÁÚÒÁÂÏÔËÉ ÉÇÒ ÐÏÄ GNOME.
114
115 %package static
116 Summary:        GNOME games static libraries
117 Summary(pl):    Biblioteki statyczne do GNOME games
118 Group:          X11/Development/Libraries
119 Requires:       %{name}-devel = %{version}
120
121 %description static
122 GNOME games static libraries.
123
124 %description static -l pl
125 Biblioteki statyczne do GNOME games.
126
127 %prep
128 %setup -q
129 %patch0 -p1
130 %patch1 -p1
131 %patch2 -p1
132 %patch3 -p1
133 %patch4 -p1
134 %patch5 -p1
135 %patch6 -p1
136 %patch7 -p1
137 mv xbill/xbill.png xbill/gnome-xbill.png
138 %patch8 -p1
139 %patch9 -p1
140
141 %build
142 rm -f missing
143 %{__libtoolize}
144 %{__gettextize}
145 %{__aclocal} -I %{_aclocaldir}/gnome
146 %{__autoconf}
147 %{__automake}
148 %configure
149
150 %{__make}
151
152 %install
153 rm -rf $RPM_BUILD_ROOT
154
155 %{__make} install \
156         DESTDIR=$RPM_BUILD_ROOT \
157         omf_dest_dir=%{_omf_dest_dir}/%{name}
158
159 %find_lang %{name} --with-gnome --all-name
160
161 %post
162 /sbin/ldconfig
163 /usr/bin/scrollkeeper-update
164
165 %postun
166 /sbin/ldconfig
167 /usr/bin/scrollkeeper-update
168
169 %clean
170 rm -rf $RPM_BUILD_ROOT
171
172 %files -f %{name}.lang
173 %defattr(644,root,root,755)
174 %doc AUTHORS ChangeLog NEWS README
175 %config %{_sysconfdir}/sound/events/*
176
177 %attr(755,root,root) %{_bindir}/ctali
178 %attr(755,root,root) %{_bindir}/freecell
179 %attr(755,root,root) %{_bindir}/gataxx
180 %attr(755,root,root) %{_bindir}/sol
181 %attr(2755,root,games) %{_bindir}/glines
182 %attr(2755,root,games) %{_bindir}/gnibbles
183 %attr(2755,root,games) %{_bindir}/gnobots2
184 %attr(2755,root,games) %{_bindir}/gnome-stones
185 %attr(2755,root,games) %{_bindir}/gnome-xbill
186 %attr(2755,root,games) %{_bindir}/gnometris
187 %attr(2755,root,games) %{_bindir}/gnomine
188 %attr(2755,root,games) %{_bindir}/gnotravex
189 %attr(2755,root,games) %{_bindir}/gnotski
190 %attr(2755,root,games) %{_bindir}/gtali
191 %attr(2755,root,games) %{_bindir}/iagno
192 %attr(2755,root,games) %{_bindir}/mahjongg
193 %attr(2755,root,games) %{_bindir}/same-gnome
194
195 %attr(755,root,root) %{_libdir}/lib*.so.*.*
196 %dir %{_libdir}/gnome-stones
197 %attr(755,root,root) %{_libdir}/gnome-stones/lib*.so
198
199 %{_datadir}/gnibbles
200 %{_datadir}/gnobots2
201 %{_datadir}/gnome-stones
202 %{_datadir}/sol-games
203 %{_datadir}/xbill
204
205 %{_datadir}/gnome-stonesrc
206 %lang(ko) %{_datadir}/gnome-stonesrc.ko
207
208 %{_datadir}/mime-info/*
209 %{_pixmapsdir}/*
210 %{_datadir}/sounds/*
211
212 %{_applnkdir}/Games/*.desktop
213 %{_applnkdir}/Games/*/*.desktop
214
215 %{_omf_dest_dir}/%{name}
216 %attr(664,root,games) %ghost %{_localstatedir}/games/*
217
218 %files devel
219 %defattr(644,root,root,755)
220 %attr(755,root,root) %{_libdir}/lib*.so
221 %{_libdir}/lib*.la
222 %{_includedir}/*
223
224 %files static
225 %defattr(644,root,root,755)
226 %{_libdir}/lib*.a
227 %{_libdir}/gnome-stones/lib*.a
This page took 0.065884 seconds and 3 git commands to generate.