]> git.pld-linux.org Git - packages/teg.git/blobdiff - teg.spec
- release 4 (rebuild with new libhowl)
[packages/teg.git] / teg.spec
index b4a1e066c6044f9b230a9f44bf510b32f27f3086..7219a8aea3dc19696fc1ea5c75e9c1cbedbc7a8b 100644 (file)
--- a/teg.spec
+++ b/teg.spec
@@ -2,19 +2,20 @@ Summary:      Risk clone
 Summary(pl):   Klon Ryzyka
 Name:          teg
 Version:       0.11.0
-Release:       1
+Release:       4
 License:       GPL
 Group:         X11/Applications/Games
 Source0:       http://dl.sourceforge.net/teg/%{name}-%{version}.tar.bz2
 # Source0-md5: b7c778b07a22c34bd21942a8be26e095
-Source1:       %{name}.desktop
+Patch0:                %{name}-desktop.patch
 URL:           http://teg.sf.net/
+BuildRequires: automake
 BuildRequires: glib2-devel >= 2.0.0
 BuildRequires: libgnome-devel >= 2.0.0
 BuildRequires: libgnomeui-devel >= 2.0.0
 BuildRequires: libxml2-devel >= 2.4.0
 BuildRequires: readline-devel
-Requires(post):        Gconf2
+Requires(post):        GConf2
 Requires:      glib2 >= 2.0.0
 Requires:      libgnome >= 2.0.0
 Requires:      libgnomeui >= 2.0.0
@@ -33,8 +34,10 @@ turowej dla wielu graczy. Niekt
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+cp -f /usr/share/automake/config.* .
 %configure \
        --with-readline \
        --without-static
@@ -43,12 +46,11 @@ turowej dla wielu graczy. Niekt
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Games
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
-
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
+       DESTDIR=$RPM_BUILD_ROOT \
+       GCONFTOOL=/bin/true \
+       Gamesdir=%{_desktopdir}
 
 %find_lang %{name} --with-gnome
 
@@ -64,5 +66,5 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 %{_pixmapsdir}/teg_icono.png
 %{_pixmapsdir}/teg_pix
-%{_applnkdir}/Games/*
+%{_desktopdir}/*.desktop
 %{_sysconfdir}/gconf/schemas/*.schemas
This page took 0.056756 seconds and 4 git commands to generate.