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