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