]> git.pld-linux.org Git - packages/teg.git/blob - teg.spec
- up to 0.11.2
[packages/teg.git] / teg.spec
1 Summary:        Risk clone
2 Summary(pl.UTF-8):      Klon Ryzyka
3 Name:           teg
4 Version:        0.11.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/teg/%{name}-%{version}.tar.bz2
9 # Source0-md5:  880c18eb586c4642fe14e6b41e8a642f
10 Patch0:         %{name}-desktop.patch
11 URL:            http://teg.sourceforge.net/
12 BuildRequires:  automake
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
17 BuildRequires:  readline-devel
18 BuildRequires:  rpmbuild(macros) >= 1.197
19 Requires(post,preun):   GConf2
20 Requires:       glib2 >= 2.0.0
21 Requires:       libgnome >= 2.0.0
22 Requires:       libgnomeui >= 2.0.0
23 Requires:       libxml2 >= 2.4.0
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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.
30
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.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 cp -f /usr/share/automake/config.* .
42 %configure \
43         --with-readline \
44         --without-static
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT \
52         GCONFTOOL=/bin/true \
53         Gamesdir=%{_desktopdir}
54
55 %find_lang %{name} --with-gnome
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %post
61 %gconf_schema_install teg.schemas
62
63 %preun
64 %gconf_schema_uninstall teg.schemas
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc ChangeLog PEOPLE README.GGZ TODO README
69 %attr(755,root,root) %{_bindir}/*
70 %{_pixmapsdir}/teg_icono.png
71 %{_pixmapsdir}/teg_pix
72 %{_desktopdir}/*.desktop
73 %{_sysconfdir}/gconf/schemas/*.schemas
This page took 0.307016 seconds and 3 git commands to generate.