From 39b2f837e5756a71974779c47a129da3acbcc054f4343b76a3370dd5d493c198 Mon Sep 17 00:00:00 2001
From: Pavol Rusnak <prusnak@opensuse.org>
Date: Mon, 9 May 2011 07:02:43 +0000
Subject: [PATCH] Accepting request 69849 from home:anubisg1:branches:games

build latest stable version build 16

OBS-URL: https://build.opensuse.org/request/show/69849
OBS-URL: https://build.opensuse.org/package/show/games/widelands?expand=0&rev=28
---
 widelands-build16-src.tar.bz2              |  3 +++
 widelands-bzr-2010_12_01_r5763-src.tar.bz2 |  3 ---
 widelands-localedir.patch                  | 13 -------------
 widelands.changes                          |  6 ++++++
 widelands.spec                             | 13 ++++++-------
 5 files changed, 15 insertions(+), 23 deletions(-)
 create mode 100644 widelands-build16-src.tar.bz2
 delete mode 100644 widelands-bzr-2010_12_01_r5763-src.tar.bz2
 delete mode 100644 widelands-localedir.patch

diff --git a/widelands-build16-src.tar.bz2 b/widelands-build16-src.tar.bz2
new file mode 100644
index 0000000..78e5dd7
--- /dev/null
+++ b/widelands-build16-src.tar.bz2
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d8db3c15c30314cb220c6d79d93d3d31e7bce2722c93d2c385d643c3c669625d
+size 137808494
diff --git a/widelands-bzr-2010_12_01_r5763-src.tar.bz2 b/widelands-bzr-2010_12_01_r5763-src.tar.bz2
deleted file mode 100644
index 74f2a60..0000000
--- a/widelands-bzr-2010_12_01_r5763-src.tar.bz2
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a16c8e783c0fdceec345fe31963feed7b0aa271c5521d14663c22e0d1c1e16d1
-size 136104078
diff --git a/widelands-localedir.patch b/widelands-localedir.patch
deleted file mode 100644
index 08bfcbe..0000000
--- a/widelands-localedir.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: CMakeLists.txt
-===================================================================
---- CMakeLists.txt.orig
-+++ CMakeLists.txt
-@@ -79,7 +79,7 @@ set (WL_SOURCE_CHECKER ${CMAKE_CURRENT_S
- 
- set (WLBUILD_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
- set (WLBUILD_INSTALL_DATADIR ${WL_INSTALL_DATADIR})
--set (WLBUILD_INSTALL_LOCALEDIR "${CMAKE_INSTALL_PREFIX}/${WL_INSTALL_DATADIR}/locale")
-+set (WLBUILD_INSTALL_LOCALEDIR ${WL_INSTALL_LOCALEDIR})
- set (WLBUILD_INSTALL_BINDIR ${WL_INSTALL_BINDIR})
- 
- if (CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR)
diff --git a/widelands.changes b/widelands.changes
index bfe2e57..83e3511 100644
--- a/widelands.changes
+++ b/widelands.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Sat May  7 22:18:39 UTC 2011 - andrea@opensuse.org
+
+- update to build 16 
+- fixed rpm group
+
 -------------------------------------------------------------------
 Wed Nov 17 18:11:10 UTC 2010 - opensuse@dstoecker.de
 
diff --git a/widelands.spec b/widelands.spec
index 736ce4f..5c69cce 100644
--- a/widelands.spec
+++ b/widelands.spec
@@ -1,15 +1,14 @@
-%define build_launchpad 1
+%define build_launchpad 0
 
 Name:           widelands
-Version:        2010_12_01_r5763
+Version:        build16
 Release:        1
 Summary:        Open source realtime-strategy game
-Group:          Amusements/Games
+Group:          Amusements/Games/Strategy/Other
 License:        GPLv2+
 URL:            http://www.widelands.org
-Source0:        %{name}-bzr-%{version}-src.tar.bz2
+Source0:        %name-build16-src.tar.bz2
 Source1:        %{name}.desktop
-Patch0:         %{name}-localedir.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-build
 BuildRequires:  gcc-c++
 BuildRequires:  boost-devel
@@ -30,6 +29,7 @@ BuildRequires:  gettext
 BuildRequires:  optipng
 BuildRequires:  fdupes
 BuildRequires:  doxygen
+BuildRequires:  glew-devel
 BuildRequires:  update-desktop-files
 Requires:       %{name}-data = %{version}
 %if %build_launchpad
@@ -57,8 +57,7 @@ BuildArch:      noarch
 Data files for Widelands.
 
 %prep
-%setup -q -n %{name}
-%patch0
+%setup -q -n %{name}-%version-src
 %if %build_launchpad
 # for launchpad translation update
 cd ..