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