]>
Commit | Line | Data |
---|---|---|
63f68853 | 1 | Summary: Risk clone |
37b3882b | 2 | Summary(pl.UTF-8): Klon Ryzyka |
b89fc9d5 | 3 | Name: teg |
a2b92109 | 4 | Version: 0.11.2 |
5 | Release: 1 | |
b89fc9d5 | 6 | License: GPL |
7 | Group: X11/Applications/Games | |
34c1d17a | 8 | Source0: http://dl.sourceforge.net/teg/%{name}-%{version}.tar.bz2 |
a2b92109 | 9 | # Source0-md5: 880c18eb586c4642fe14e6b41e8a642f |
e35fb406 | 10 | Patch0: %{name}-desktop.patch |
c0d7cf6d | 11 | URL: http://teg.sourceforge.net/ |
e35fb406 | 12 | BuildRequires: automake |
34c1d17a JB |
13 | BuildRequires: glib2-devel >= 2.0.0 |
14 | BuildRequires: libgnome-devel >= 2.0.0 | |
15 | BuildRequires: libgnomeui-devel >= 2.0.0 | |
16 | BuildRequires: libxml2-devel >= 2.4.0 | |
b89fc9d5 | 17 | BuildRequires: readline-devel |
b8c287ed | 18 | BuildRequires: rpmbuild(macros) >= 1.197 |
19 | Requires(post,preun): GConf2 | |
34c1d17a JB |
20 | Requires: glib2 >= 2.0.0 |
21 | Requires: libgnome >= 2.0.0 | |
22 | Requires: libgnomeui >= 2.0.0 | |
23 | Requires: libxml2 >= 2.4.0 | |
b89fc9d5 | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
b89fc9d5 | 26 | %description |
cf10b540 | 27 | Tenes Emapandas Graciela (TEG) is a clone of 'Plan Táctico y |
28 | Estratégico de la Guerra', which is a pseudo-clone of Risk, | |
29 | a multiplayer turn-based strategy game. Some rules are different. | |
b89fc9d5 | 30 | |
cf10b540 | 31 | %description -l pl.UTF-8 |
32 | Tenes Emapandas Graciela (TEG) jest klonem 'Plan Táctico y Estratégico | |
33 | de la Guerra', który jest pseudo-klonem Ryzyka, strategicznej gry | |
34 | turowej dla wielu graczy. Niektóre zasady są inne. | |
b89fc9d5 | 35 | |
36 | %prep | |
37 | %setup -q | |
e35fb406 | 38 | %patch0 -p1 |
b89fc9d5 | 39 | |
40 | %build | |
e35fb406 | 41 | cp -f /usr/share/automake/config.* . |
34c1d17a | 42 | %configure \ |
b89fc9d5 | 43 | --with-readline \ |
44 | --without-static | |
b89fc9d5 | 45 | %{__make} |
46 | ||
47 | %install | |
48 | rm -rf $RPM_BUILD_ROOT | |
b89fc9d5 | 49 | |
f4f34fc7 | 50 | %{__make} install \ |
e35fb406 JB |
51 | DESTDIR=$RPM_BUILD_ROOT \ |
52 | GCONFTOOL=/bin/true \ | |
53 | Gamesdir=%{_desktopdir} | |
b89fc9d5 | 54 | |
f4f34fc7 | 55 | %find_lang %{name} --with-gnome |
b89fc9d5 | 56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
34c1d17a | 60 | %post |
b8c287ed | 61 | %gconf_schema_install teg.schemas |
62 | ||
63 | %preun | |
64 | %gconf_schema_uninstall teg.schemas | |
34c1d17a | 65 | |
b89fc9d5 | 66 | %files -f %{name}.lang |
67 | %defattr(644,root,root,755) | |
5d52bd72 | 68 | %doc ChangeLog PEOPLE README.GGZ TODO README |
b89fc9d5 | 69 | %attr(755,root,root) %{_bindir}/* |
b89fc9d5 | 70 | %{_pixmapsdir}/teg_icono.png |
71 | %{_pixmapsdir}/teg_pix | |
e35fb406 | 72 | %{_desktopdir}/*.desktop |
34c1d17a | 73 | %{_sysconfdir}/gconf/schemas/*.schemas |