]> git.pld-linux.org Git - packages/teg.git/blame - teg.spec
- up to 0.11.2
[packages/teg.git] / teg.spec
CommitLineData
63f68853 1Summary: Risk clone
37b3882b 2Summary(pl.UTF-8): Klon Ryzyka
b89fc9d5 3Name: teg
a2b92109 4Version: 0.11.2
5Release: 1
b89fc9d5 6License: GPL
7Group: X11/Applications/Games
34c1d17a 8Source0: http://dl.sourceforge.net/teg/%{name}-%{version}.tar.bz2
a2b92109 9# Source0-md5: 880c18eb586c4642fe14e6b41e8a642f
e35fb406 10Patch0: %{name}-desktop.patch
c0d7cf6d 11URL: http://teg.sourceforge.net/
e35fb406 12BuildRequires: automake
34c1d17a
JB
13BuildRequires: glib2-devel >= 2.0.0
14BuildRequires: libgnome-devel >= 2.0.0
15BuildRequires: libgnomeui-devel >= 2.0.0
16BuildRequires: libxml2-devel >= 2.4.0
b89fc9d5 17BuildRequires: readline-devel
b8c287ed 18BuildRequires: rpmbuild(macros) >= 1.197
19Requires(post,preun): GConf2
34c1d17a
JB
20Requires: glib2 >= 2.0.0
21Requires: libgnome >= 2.0.0
22Requires: libgnomeui >= 2.0.0
23Requires: libxml2 >= 2.4.0
b89fc9d5 24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
b89fc9d5 26%description
cf10b540 27Tenes Emapandas Graciela (TEG) is a clone of 'Plan Táctico y
28Estratégico de la Guerra', which is a pseudo-clone of Risk,
29a multiplayer turn-based strategy game. Some rules are different.
b89fc9d5 30
cf10b540 31%description -l pl.UTF-8
32Tenes Emapandas Graciela (TEG) jest klonem 'Plan Táctico y Estratégico
33de la Guerra', który jest pseudo-klonem Ryzyka, strategicznej gry
34turowej dla wielu graczy. Niektóre zasady są inne.
b89fc9d5 35
36%prep
37%setup -q
e35fb406 38%patch0 -p1
b89fc9d5 39
40%build
e35fb406 41cp -f /usr/share/automake/config.* .
34c1d17a 42%configure \
b89fc9d5 43 --with-readline \
44 --without-static
b89fc9d5 45%{__make}
46
47%install
48rm -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
58rm -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
This page took 0.113295 seconds and 4 git commands to generate.