]> git.pld-linux.org Git - packages/teg.git/blob - teg.spec
- release 4 (rebuild with new libhowl)
[packages/teg.git] / teg.spec
1 Summary:        Risk clone
2 Summary(pl):    Klon Ryzyka
3 Name:           teg
4 Version:        0.11.0
5 Release:        4
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/teg/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b7c778b07a22c34bd21942a8be26e095
10 Patch0:         %{name}-desktop.patch
11 URL:            http://teg.sf.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 Requires(post): GConf2
19 Requires:       glib2 >= 2.0.0
20 Requires:       libgnome >= 2.0.0
21 Requires:       libgnomeui >= 2.0.0
22 Requires:       libxml2 >= 2.4.0
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Tenes Emapandas Graciela (TEG) is a clone of 'Plan Táctico y
27 Estratégico de la Guerra', which is a pseudo-clone of Risk, a
28 multiplayer turn-based strategy game. Some rules are different.
29
30 %description -l pl
31 Tenes Emapandas Graciela (TEG) jest klonem 'Plan Táctico y Estratégico
32 de la Guerra', który jest pseudo-klonem Ryzyka, strategicznej gry
33 turowej dla wielu graczy. Niektóre zasady s± inne.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 cp -f /usr/share/automake/config.* .
41 %configure \
42         --with-readline \
43         --without-static
44
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
62
63 %files -f %{name}.lang
64 %defattr(644,root,root,755)
65 %doc ChangeLog PEOPLE README.GGZ TODO README
66 %attr(755,root,root) %{_bindir}/*
67 %{_pixmapsdir}/teg_icono.png
68 %{_pixmapsdir}/teg_pix
69 %{_desktopdir}/*.desktop
70 %{_sysconfdir}/gconf/schemas/*.schemas
This page took 0.075258 seconds and 3 git commands to generate.