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