commit clanlib for openSUSE:Factory

2019-04-04 Thread root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2019-04-04 15:22:49

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new.3908 (New)


Package is "clanlib"

Thu Apr  4 15:22:49 2019 rev:40 rq:691013 version:2.3.6

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2018-01-23 
13:52:47.474169627 +0100
+++ /work/SRC/openSUSE:Factory/.clanlib.new.3908/clanlib.changes
2019-04-04 15:29:24.214944151 +0200
@@ -1,0 +2,9 @@
+Tue Mar 26 07:03:44 UTC 2019 - o...@aepfle.de
+
+- Use alsa API properly. Consumers are expected to use
+   instead of .
+  This is in preparation of an change to pkgconfig(alsa) to
+  not pollute CFLAGS with -I/usr/include/alsa anymore (bsc#1130333)
+  clanlib-alsa.patch
+
+---

New:

  clanlib-alsa.patch



Other differences:
--
++ clanlib-doc.spec ++
--- /var/tmp/diff_new_pack.dtTjg3/_old  2019-04-04 15:29:26.750945128 +0200
+++ /var/tmp/diff_new_pack.dtTjg3/_new  2019-04-04 15:29:26.754945129 +0200
@@ -68,6 +68,8 @@
 
 %prep
 %setup -q -n ClanLib-%{version}
+
+%build
 find Examples -name \*.sln -o -name \*.vcproj -o -name \*.vcxproj\* | xargs rm 
-f
 dos2unix Examples/Game/SpritesRTS/resources.xml 
Examples/Database/SQL/Database/create_database.sql \
Examples/3D/Chess3D/Resources/Sponza/readme.txt 
Examples/3D/Chess3D/Resources/skybox_fragment.glsl \
@@ -76,7 +78,6 @@
Examples/3D/Clan3D/Resources/teapot.dae \
Examples/Game/TileMap/Resources/tileset.txt
 
-%build
 %configure --with-pic --disable-static --enable-docs
 make %{?_smp_mflags} html
 

++ clanlib.spec ++
--- /var/tmp/diff_new_pack.dtTjg3/_old  2019-04-04 15:29:26.766945134 +0200
+++ /var/tmp/diff_new_pack.dtTjg3/_new  2019-04-04 15:29:26.766945134 +0200
@@ -32,6 +32,7 @@
 Patch1: clanlib-cpuid.patch
 # Use std=gnu++11 option for ppc64le
 Patch2: stdgnu++11.patch
+Patch3: clanlib-alsa.patch
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
@@ -68,10 +69,7 @@
 ClanLib delivers a platform independent interface to write games with.
 
 %prep
-%setup -q -n ClanLib-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%autosetup -p1 -n ClanLib-%{version}
 
 %build
 %configure --with-pic --disable-static --disable-docs

++ clanlib-alsa.patch ++
--- a/Sources/Sound/Unix/soundoutput_alsa.h
+++ b/Sources/Sound/Unix/soundoutput_alsa.h
@@ -36,9 +36,6 @@
 #ifdef HAVE_ALSA_ASOUNDLIB_H
 #include  
 #endif
-#ifdef HAVE_ASOUNDLIB_H
-#include 
-#endif
 
 class CL_SoundOutput_alsa : public CL_SoundOutput_Impl
 {
--- a/configure.ac
+++ b/configure.ac
@@ -520,7 +520,7 @@ if test "$enable_clanSound" != "no"; the
sound_libs=""
have_alsa=no
AC_CHECK_LIB(ossaudio, _oss_ioctl, sound_libs=-lossaudio)
-   AC_CHECK_HEADERS(asoundlib.h alsa/asoundlib.h, [have_alsa=yes && break])
+   AC_CHECK_HEADERS(alsa/asoundlib.h, [have_alsa=yes && break])
if test "$have_alsa" != "no"; then
sound_libs="$sound_libs -lasound"
fi
--- a/configure
+++ b/configure
@@ -17415,7 +17415,7 @@ if test "x$ac_cv_lib_ossaudio__oss_ioctl
   sound_libs=-lossaudio
 fi
 
-   for ac_header in asoundlib.h alsa/asoundlib.h
+   for ac_header in alsa/asoundlib.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" 
"$ac_includes_default"



commit clanlib for openSUSE:Factory

2018-01-23 Thread root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2018-01-23 13:52:41

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is "clanlib"

Tue Jan 23 13:52:41 2018 rev:39 rq:565781 version:2.3.6

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2015-10-24 
10:30:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes 2018-01-23 
13:52:47.474169627 +0100
@@ -1,0 +2,5 @@
+Wed Jan 10 16:00:16 UTC 2018 - crrodrig...@opensuse.org
+
+- Do not use Mesa-devel package but pkgconfig(gl) 
+
+---



Other differences:
--
++ clanlib-doc.spec ++
--- /var/tmp/diff_new_pack.3Wwp9y/_old  2018-01-23 13:52:48.966099930 +0100
+++ /var/tmp/diff_new_pack.3Wwp9y/_new  2018-01-23 13:52:48.974099556 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib-doc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ clanlib.spec ++
--- /var/tmp/diff_new_pack.3Wwp9y/_old  2018-01-23 13:52:49.018097501 +0100
+++ /var/tmp/diff_new_pack.3Wwp9y/_new  2018-01-23 13:52:49.022097314 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,7 +32,6 @@
 Patch1: clanlib-cpuid.patch
 # Use std=gnu++11 option for ppc64le
 Patch2: stdgnu++11.patch
-BuildRequires:  Mesa-devel
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
@@ -43,12 +42,14 @@
 BuildRequires:  libmikmod-devel
 BuildRequires:  libogg-devel
 BuildRequires:  libpng-devel
-BuildRequires:  libstdc++-devel
 BuildRequires:  libvorbis-devel
 BuildRequires:  libxslt
 BuildRequires:  pcre-devel
+BuildRequires:  pkgconfig
 BuildRequires:  sqlite3-devel
 BuildRequires:  zlib-devel
+BuildRequires:  pkgconfig(gl)
+BuildRequires:  pkgconfig(x11)
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -58,19 +59,10 @@
 Summary:A portable interface for writing games
 Group:  Development/Libraries/X11
 Requires:   %{name} = %{version}
-Requires:   Mesa-devel
-Requires:   alsa-devel
-Requires:   fontconfig-devel
-Requires:   freetype2-devel
-Requires:   libjpeg-devel
-Requires:   libmikmod-devel
-Requires:   libogg-devel
-Requires:   libpng-devel
-Requires:   libstdc++-devel
-Requires:   libvorbis-devel
-Requires:   pcre-devel
-Requires:   sqlite3-devel
-Requires:   zlib-devel
+#wants compiler intrinsics in installed headers
+Requires:   c++_compiler
+Requires:   pkgconfig(gl)
+Requires:   pkgconfig(x11)
 
 %description devel
 ClanLib delivers a platform independent interface to write games with.




commit clanlib for openSUSE:Factory

2015-10-24 Thread h_root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2015-10-24 10:29:21

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is "clanlib"

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2013-11-08 
08:34:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes 2015-10-24 
10:30:08.0 +0200
@@ -1,0 +2,9 @@
+Tue Oct 20 14:54:12 UTC 2015 - eric.fint...@linux.vnet.ibm.com
+
+- Use -std=gnu++11 option for ppc64le.
+  According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241
+  it avoids "cannot convert 'bool' to '__vector(4) __bool int'
+  in return" errors.
+  Patch file: stdgnu++11.patch
+
+---

New:

  stdgnu++11.patch



Other differences:
--
++ clanlib-doc.spec ++
--- /var/tmp/diff_new_pack.CZJKny/_old  2015-10-24 10:30:10.0 +0200
+++ /var/tmp/diff_new_pack.CZJKny/_new  2015-10-24 10:30:10.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib-doc
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ clanlib.spec ++
--- /var/tmp/diff_new_pack.CZJKny/_old  2015-10-24 10:30:10.0 +0200
+++ /var/tmp/diff_new_pack.CZJKny/_new  2015-10-24 10:30:10.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,8 @@
 Patch0: ClanLib-2.3.6-fix-opengl.patch
 # PATCH-FIX-UPSTREAM -- Use cpuid only on x86, sch...@suse.de
 Patch1: clanlib-cpuid.patch
+# Use std=gnu++11 option for ppc64le
+Patch2: stdgnu++11.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
@@ -77,6 +79,7 @@
 %setup -q -n ClanLib-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %configure --with-pic --disable-static --disable-docs

++ stdgnu++11.patch ++
---
 configure|   18 --
 configure.ac |   18 --
 2 files changed, 32 insertions(+), 4 deletions(-)

Index: ClanLib-2.3.6/configure
===
--- ClanLib-2.3.6.orig/configure
+++ ClanLib-2.3.6/configure
@@ -15140,7 +15140,14 @@ case $target in
*)
X11="yes"
WIN32="no"
-   CXXFLAGS="$CXXFLAGS -std=c++0x"
+   case $host in
+   powerpc64le-*)
+   CXXFLAGS="$CXXFLAGS -std=gnu++11"
+   ;;
+   *)
+   CXXFLAGS="$CXXFLAGS -std=c++0x"
+   ;;
+   esac
;;
 esac
 
@@ -15399,7 +15406,14 @@ if test "$use_sse2" != "no"; then
 fi
 
 if test "$WIN32" = "no"; then
-   extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread -std=c++0x"
+case $host in
+   powerpc64le-*)
+   extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread -std=gnu++11"
+   ;;
+   *)
+   extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread -std=c++0x"
+   ;;
+esac
 else
extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -mthreads -std=c++0x"
 fi
Index: ClanLib-2.3.6/configure.ac
===
--- ClanLib-2.3.6.orig/configure.ac
+++ ClanLib-2.3.6/configure.ac
@@ -119,7 +119,14 @@ case $target in
*)
X11="yes"
WIN32="no"
-   CXXFLAGS="$CXXFLAGS -std=c++0x"
+   case $host in
+   powerpc64le-*)
+   CXXFLAGS="$CXXFLAGS -std=gnu++11"
+   ;;
+   *)
+   CXXFLAGS="$CXXFLAGS -std=c++0x"
+   ;;
+esac
;;
 esac
 
@@ -250,7 +257,14 @@ if test "$use_sse2" != "no"; then
 fi
 
 if test "$WIN32" = "no"; then
-   extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread -std=c++0x"
+case $host in
+powerpc64le-*)
+   extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread 
-std=gnu++11"
+;;
+*)
+   extra_CFLAGS_clanCore="$extra_CFLAGS_clanCore -pthread 
-std=c++0x"
+  

commit clanlib for openSUSE:Factory

2013-11-07 Thread h_root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2013-11-08 08:34:26

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is clanlib

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib-doc.changes  2012-08-08 
11:09:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib-doc.changes 2013-11-08 
08:34:28.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov  7 15:25:14 UTC 2013 - sch...@suse.de
+
+- Remove obsolete options
+
+---
--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2013-03-21 
22:02:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes 2013-11-08 
08:34:28.0 +0100
@@ -1,0 +2,7 @@
+Thu Nov  7 15:23:35 UTC 2013 - sch...@suse.de
+
+- clanlib-cpuid.patch: use cpuid only on x86
+- Remove obsolete clanlib-ppc.patch
+- Remove obsolete options
+
+---
@@ -52 +58,0 @@
-

Old:

  clanlib-ppc.patch

New:

  clanlib-cpuid.patch



Other differences:
--
++ clanlib-doc.spec ++
--- /var/tmp/diff_new_pack.b7avE1/_old  2013-11-08 08:34:31.0 +0100
+++ /var/tmp/diff_new_pack.b7avE1/_new  2013-11-08 08:34:31.0 +0100
@@ -77,17 +77,7 @@
Examples/Game/TileMap/Resources/tileset.txt
 
 %build
-export CFLAGS=%{optflags}
-export CXXFLAGS=$CFLAGS
-%ifarch %arm
-export CFLAGS=$CFLAGS -DCL_ARM_PLATFORM
-export CXXFLAGS=$CFLAGS -DCL_ARM_PLATFORM
-%endif
-%ifarch %ix86
-%configure --with-pic --disable-static --enable-asm386 --enable-docs
-%else
-%configure --with-pic --disable-static --disable-asm386 --enable-docs
-%endif
+%configure --with-pic --disable-static --enable-docs
 make %{?_smp_mflags} html
 
 %install

++ clanlib.spec ++
--- /var/tmp/diff_new_pack.b7avE1/_old  2013-11-08 08:34:31.0 +0100
+++ /var/tmp/diff_new_pack.b7avE1/_new  2013-11-08 08:34:31.0 +0100
@@ -28,8 +28,8 @@
 Source: ClanLib-%{version}.tgz
 # PATCH-FIX-UPSTREAM -- fix compilation with new Mesa, co...@suse.de
 Patch0: ClanLib-2.3.6-fix-opengl.patch
-# PATCH-FIX-OPENSUSE -- fix ppc build, dval...@suse.com
-Patch1: clanlib-ppc.patch
+# PATCH-FIX-UPSTREAM -- Use cpuid only on x86, sch...@suse.de
+Patch1: clanlib-cpuid.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
@@ -79,21 +79,7 @@
 %patch1 -p1
 
 %build
-export CFLAGS=%{optflags}
-export CXXFLAGS=$CFLAGS
-%ifarch %arm aarch64
-export CFLAGS=$CFLAGS -DCL_ARM_PLATFORM
-export CXXFLAGS=$CFLAGS -DCL_ARM_PLATFORM
-%endif
-%ifarch ppc ppc64
-export CFLAGS=$CFLAGS -DCL_PPC_PLATFORM
-export CXXFLAGS=$CFLAGS -DCL_PPC_PLATFORM
-%endif
-%ifarch %ix86
-%configure --with-pic --disable-static --enable-asm386 --disable-docs
-%else
-%configure --with-pic --disable-static --disable-asm386 --disable-docs
-%endif
+%configure --with-pic --disable-static --disable-docs
 make %{?_smp_mflags}
 
 %install

++ clanlib-cpuid.patch ++
Index: ClanLib-2.3.6/Sources/Core/System/detect_cpu_ext.cpp
===
--- ClanLib-2.3.6.orig/Sources/Core/System/detect_cpu_ext.cpp
+++ ClanLib-2.3.6/Sources/Core/System/detect_cpu_ext.cpp
@@ -30,18 +30,6 @@
 #include Core/precomp.h
 #include API/Core/System/system.h
 
-#ifdef CL_ARM_PLATFORM
-bool CL_System::detect_cpu_extension(CL_CPU_ExtensionPPC ext)
-{
-   throw (Congratulations, you've just been selected to code this 
feature!);
-}
-
-bool CL_System::detect_cpu_extension(CL_CPU_ExtensionX86 ext)
-{
-return false;
-}
-#else
-
 #if (defined(WIN32) || defined(_WIN32) || defined(_WIN64))  !defined 
__MINGW32__
 #include intrin.h
 #endif
@@ -72,6 +60,7 @@ bool CL_System::detect_cpu_extension(CL_
 
 bool CL_System::detect_cpu_extension(CL_CPU_ExtensionX86 ext)
 {
+#if defined(__amd64__) || defined(__i386__)
unsigned int cpuinfo[4] = {0};
 
if(ext == mmx)
@@ -179,7 +168,6 @@ bool CL_System::detect_cpu_extension(CL_
__cpuid((int*)cpuinfo, 0x8001);
return ((cpuinfo[2]  (1  16)) != 0);
}
+#endif
return false;
 }
-
-#endif
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit clanlib for openSUSE:Factory

2013-03-21 Thread h_root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2013-03-21 22:02:13

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is clanlib, Maintainer is orpha...@suse.de

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2012-12-31 
14:24:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes 2013-03-21 
22:02:15.0 +0100
@@ -1,0 +2,5 @@
+Mon Mar 18 20:07:08 UTC 2013 - sch...@suse.de
+
+- Define CL_ARM_PLATFORM also for aarch64
+
+---



Other differences:
--
++ clanlib-doc.spec ++
--- /var/tmp/diff_new_pack.s4a6Dq/_old  2013-03-21 22:02:17.0 +0100
+++ /var/tmp/diff_new_pack.s4a6Dq/_new  2013-03-21 22:02:17.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib-doc
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ clanlib.spec ++
--- /var/tmp/diff_new_pack.s4a6Dq/_old  2013-03-21 22:02:17.0 +0100
+++ /var/tmp/diff_new_pack.s4a6Dq/_new  2013-03-21 22:02:17.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -81,7 +81,7 @@
 %build
 export CFLAGS=%{optflags}
 export CXXFLAGS=$CFLAGS
-%ifarch %arm
+%ifarch %arm aarch64
 export CFLAGS=$CFLAGS -DCL_ARM_PLATFORM
 export CXXFLAGS=$CFLAGS -DCL_ARM_PLATFORM
 %endif

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit clanlib for openSUSE:Factory

2012-12-31 Thread h_root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2012-12-31 14:24:31

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is clanlib, Maintainer is orpha...@suse.de

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2012-09-25 
09:34:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes 2012-12-31 
14:24:35.0 +0100
@@ -1,0 +2,5 @@
+Sun Dec 30 22:37:49 UTC 2012 - dval...@suse.com
+
+- fix build for powerpc (clanlib-ppc.patch)
+
+---

New:

  clanlib-ppc.patch



Other differences:
--
++ clanlib.spec ++
--- /var/tmp/diff_new_pack.hmJOnn/_old  2012-12-31 14:24:37.0 +0100
+++ /var/tmp/diff_new_pack.hmJOnn/_new  2012-12-31 14:24:37.0 +0100
@@ -28,6 +28,8 @@
 Source: ClanLib-%{version}.tgz
 # PATCH-FIX-UPSTREAM -- fix compilation with new Mesa, co...@suse.de
 Patch0: ClanLib-2.3.6-fix-opengl.patch
+# PATCH-FIX-OPENSUSE -- fix ppc build, dval...@suse.com
+Patch1: clanlib-ppc.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
@@ -74,6 +76,7 @@
 %prep
 %setup -q -n ClanLib-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 export CFLAGS=%{optflags}
@@ -82,6 +85,10 @@
 export CFLAGS=$CFLAGS -DCL_ARM_PLATFORM
 export CXXFLAGS=$CFLAGS -DCL_ARM_PLATFORM
 %endif
+%ifarch ppc ppc64
+export CFLAGS=$CFLAGS -DCL_PPC_PLATFORM
+export CXXFLAGS=$CFLAGS -DCL_PPC_PLATFORM
+%endif
 %ifarch %ix86
 %configure --with-pic --disable-static --enable-asm386 --disable-docs
 %else

++ clanlib-ppc.patch ++
Index: ClanLib-2.3.6/Sources/Core/System/detect_cpu_ext.cpp
===
--- ClanLib-2.3.6.orig/Sources/Core/System/detect_cpu_ext.cpp
+++ ClanLib-2.3.6/Sources/Core/System/detect_cpu_ext.cpp
@@ -30,7 +30,7 @@
 #include Core/precomp.h
 #include API/Core/System/system.h
 
-#ifdef CL_ARM_PLATFORM
+#if defined(CL_ARM_PLATFORM)|| defined(CL_PPC_PLATFORM)
 bool CL_System::detect_cpu_extension(CL_CPU_ExtensionPPC ext)
 {
throw (Congratulations, you've just been selected to code this 
feature!);
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit clanlib for openSUSE:Factory

2012-09-25 Thread h_root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2012-09-25 09:34:09

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is clanlib, Maintainer is prus...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2012-08-08 
11:09:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes 2012-09-25 
09:34:11.0 +0200
@@ -1,0 +2,6 @@
+Fri Sep 21 12:22:21 UTC 2012 - co...@suse.com
+
+- fix compilation with newer Mesa in #undefing a new symbol
+   ClanLib-2.3.6-fix-opengl.patch
+
+---

New:

  ClanLib-2.3.6-fix-opengl.patch



Other differences:
--
++ clanlib.spec ++
--- /var/tmp/diff_new_pack.aZvaJl/_old  2012-09-25 09:34:12.0 +0200
+++ /var/tmp/diff_new_pack.aZvaJl/_new  2012-09-25 09:34:12.0 +0200
@@ -26,6 +26,8 @@
 Group:  System/Libraries
 Url:http://www.clanlib.org/
 Source: ClanLib-%{version}.tgz
+# PATCH-FIX-UPSTREAM -- fix compilation with new Mesa, co...@suse.de
+Patch0: ClanLib-2.3.6-fix-opengl.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
@@ -71,6 +73,7 @@
 
 %prep
 %setup -q -n ClanLib-%{version}
+%patch0 -p1
 
 %build
 export CFLAGS=%{optflags}

++ ClanLib-2.3.6-fix-opengl.patch ++
Index: ClanLib-2.3.6/Sources/API/GL1/opengl1_defines.h
===
--- ClanLib-2.3.6.orig/Sources/API/GL1/opengl1_defines.h
+++ ClanLib-2.3.6/Sources/API/GL1/opengl1_defines.h
@@ -44,6 +44,11 @@
 #ifndef CL_DISPLAYDEFINES_DEFINES
 #define CL_DISPLAYDEFINES_DEFINES
 
+/* newer Mesa defines this and creates a conflict */
+#ifdef GL_TYPE
+#undef GL_TYPE
+#endif
+
 #include cstddef
 
 #ifndef __APPLE__
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit clanlib for openSUSE:Factory

2012-08-08 Thread h_root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2012-08-08 11:09:43

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is clanlib, Maintainer is prus...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib-doc.changes  2012-05-16 
21:06:39.0 +0200
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib-doc.changes 2012-08-08 
11:09:44.0 +0200
@@ -1,0 +2,5 @@
+Thu Jul 12 15:07:19 UTC 2012 - adr...@suse.de
+
+- fix build on arm architecture
+
+---
clanlib.changes: same change



Other differences:
--
++ clanlib-doc.spec ++
--- /var/tmp/diff_new_pack.FRdgtm/_old  2012-08-08 11:09:46.0 +0200
+++ /var/tmp/diff_new_pack.FRdgtm/_new  2012-08-08 11:09:46.0 +0200
@@ -79,6 +79,10 @@
 %build
 export CFLAGS=%{optflags}
 export CXXFLAGS=$CFLAGS
+%ifarch %arm
+export CFLAGS=$CFLAGS -DCL_ARM_PLATFORM
+export CXXFLAGS=$CFLAGS -DCL_ARM_PLATFORM
+%endif
 %ifarch %ix86
 %configure --with-pic --disable-static --enable-asm386 --enable-docs
 %else

++ clanlib.spec ++
--- /var/tmp/diff_new_pack.FRdgtm/_old  2012-08-08 11:09:46.0 +0200
+++ /var/tmp/diff_new_pack.FRdgtm/_new  2012-08-08 11:09:46.0 +0200
@@ -75,6 +75,10 @@
 %build
 export CFLAGS=%{optflags}
 export CXXFLAGS=$CFLAGS
+%ifarch %arm
+export CFLAGS=$CFLAGS -DCL_ARM_PLATFORM
+export CXXFLAGS=$CFLAGS -DCL_ARM_PLATFORM
+%endif
 %ifarch %ix86
 %configure --with-pic --disable-static --enable-asm386 --disable-docs
 %else

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit clanlib for openSUSE:Factory

2012-05-16 Thread h_root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2012-05-16 21:06:16

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is clanlib, Maintainer is prus...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib-doc.changes  2011-12-15 
16:05:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib-doc.changes 2012-05-16 
21:06:39.0 +0200
@@ -1,0 +2,13 @@
+Tue May 15 11:04:30 UTC 2012 - jreidin...@suse.com
+
+- fix license to conform new standards 
+
+---
+Sun May 13 14:42:43 UTC 2012 - jreidin...@suse.com
+
+- Update to version 2.3.6:
+  * No breaking changes from 2.3.5 
+  * complete list of changes is available at
+http://clanlib.org/wiki/ClanLib_2.3.6_Release_Notes
+
+---
--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2012-03-22 
12:31:42.0 +0100
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes 2012-05-16 
21:06:39.0 +0200
@@ -1,0 +2,14 @@
+Tue May 15 10:04:02 UTC 2012 - jreidin...@suse.com
+
+- clean up dependencies and fix dependencies for clanlib-devel 
+
+---
+Sun May 13 14:42:43 UTC 2012 - jreidin...@suse.com
+
+- Update to version 2.3.6:
+  * No breaking changes from 2.3.5 
+  * complete list of changes is available at
+http://clanlib.org/wiki/ClanLib_2.3.6_Release_Notes
+- removed upstream integrated patch for gcc 4.7.
+
+---

Old:

  ClanLib-2.3.5.tgz
  clanlib-gcc47.patch

New:

  ClanLib-2.3.6.tgz



Other differences:
--
++ clanlib-doc.spec ++
--- /var/tmp/diff_new_pack.b9hByU/_old  2012-05-16 21:06:40.0 +0200
+++ /var/tmp/diff_new_pack.b9hByU/_new  2012-05-16 21:06:40.0 +0200
@@ -20,10 +20,10 @@
 
 Name:   clanlib-doc
 Summary:A Portable Interface for Writing Games
-License:Other uncritical OpenSource License
+License:Zlib
 Group:  Documentation/HTML
 BuildArch:  noarch
-Version:2.3.5
+Version:2.3.6
 Release:0
 Url:http://www.clanlib.org/
 Source: ClanLib-%{version}.tgz

++ clanlib.spec ++
--- /var/tmp/diff_new_pack.b9hByU/_old  2012-05-16 21:06:40.0 +0200
+++ /var/tmp/diff_new_pack.b9hByU/_new  2012-05-16 21:06:40.0 +0200
@@ -19,17 +19,14 @@
 %define clan_ver 2.3
 
 Name:   clanlib
-Version:2.3.5
+Version:2.3.6
 Release:0
 Summary:A Portable Interface for Writing Games
 License:Zlib
 Group:  System/Libraries
 Url:http://www.clanlib.org/
 Source: ClanLib-%{version}.tgz
-Patch0: clanlib-gcc47.patch
 BuildRequires:  Mesa-devel
-BuildRequires:  SDL-devel
-BuildRequires:  SDL_gfx-devel
 BuildRequires:  alsa-devel
 BuildRequires:  dos2unix
 BuildRequires:  fdupes
@@ -56,14 +53,24 @@
 Group:  Development/Libraries/X11
 Requires:   %{name} = %{version}
 Requires:   Mesa-devel
+Requires:   alsa-devel
+Requires:   fontconfig-devel
+Requires:   freetype2-devel
+Requires:   libjpeg-devel
+Requires:   libmikmod-devel
+Requires:   libogg-devel
+Requires:   libpng-devel
 Requires:   libstdc++-devel
+Requires:   libvorbis-devel
+Requires:   pcre-devel
+Requires:   sqlite3-devel
+Requires:   zlib-devel
 
 %description devel
 ClanLib delivers a platform independent interface to write games with.
 
 %prep
 %setup -q -n ClanLib-%{version}
-%patch0 -p1
 
 %build
 export CFLAGS=%{optflags}

++ ClanLib-2.3.5.tgz - ClanLib-2.3.6.tgz ++
/work/SRC/openSUSE:Factory/clanlib/ClanLib-2.3.5.tgz 
/work/SRC/openSUSE:Factory/.clanlib.new/ClanLib-2.3.6.tgz differ: char 5, line 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit clanlib for openSUSE:Factory

2012-03-22 Thread h_root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2012-03-22 12:31:30

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is clanlib, Maintainer is prus...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2012-02-01 
09:57:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes 2012-03-22 
12:31:42.0 +0100
@@ -1,0 +2,12 @@
+Thu Mar 15 20:20:15 UTC 2012 - dims...@opensuse.org
+
+- Update to version 2.3.5:
+  * complete list of changes is available at
+http://clanlib.org/wiki/ClanLib_2.3.5_Release_Notes
+
+---
+Thu Mar 15 20:13:20 UTC 2012 - dims...@opensuse.org
+
+- Add clanlib-gcc47.patch: Fix build with gcc 4.7.
+
+---

Old:

  ClanLib-2.3.4.tgz

New:

  ClanLib-2.3.5.tgz
  clanlib-gcc47.patch



Other differences:
--
++ clanlib-doc.spec ++
--- /var/tmp/diff_new_pack.WQizU4/_old  2012-03-22 12:31:46.0 +0100
+++ /var/tmp/diff_new_pack.WQizU4/_new  2012-03-22 12:31:46.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib-doc
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,18 +20,18 @@
 
 Name:   clanlib-doc
 Summary:A Portable Interface for Writing Games
+License:Other uncritical OpenSource License
 Group:  Documentation/HTML
 BuildArch:  noarch
-Version:2.3.4
-Release:1
-License:Other uncritical OpenSource License
+Version:2.3.5
+Release:0
 Url:http://www.clanlib.org/
 Source: ClanLib-%{version}.tgz
-BuildRequires:  clanlib-devel = %{version}
 BuildRequires:  Mesa-devel
 BuildRequires:  SDL-devel
 BuildRequires:  SDL_gfx-devel
 BuildRequires:  alsa-devel
+BuildRequires:  clanlib-devel = %{version}
 BuildRequires:  dos2unix
 BuildRequires:  doxygen
 BuildRequires:  fdupes

++ clanlib.spec ++
--- /var/tmp/diff_new_pack.WQizU4/_old  2012-03-22 12:31:46.0 +0100
+++ /var/tmp/diff_new_pack.WQizU4/_new  2012-03-22 12:31:46.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,14 @@
 %define clan_ver 2.3
 
 Name:   clanlib
-Version:2.3.4
-Release:1
-License:Zlib
+Version:2.3.5
+Release:0
 Summary:A Portable Interface for Writing Games
-Url:http://www.clanlib.org/
+License:Zlib
 Group:  System/Libraries
+Url:http://www.clanlib.org/
 Source: ClanLib-%{version}.tgz
+Patch0: clanlib-gcc47.patch
 BuildRequires:  Mesa-devel
 BuildRequires:  SDL-devel
 BuildRequires:  SDL_gfx-devel
@@ -62,6 +63,7 @@
 
 %prep
 %setup -q -n ClanLib-%{version}
+%patch0 -p1
 
 %build
 export CFLAGS=%{optflags}

++ ClanLib-2.3.4.tgz - ClanLib-2.3.5.tgz ++
/work/SRC/openSUSE:Factory/clanlib/ClanLib-2.3.4.tgz 
/work/SRC/openSUSE:Factory/.clanlib.new/ClanLib-2.3.5.tgz differ: char 5, line 1

++ clanlib-gcc47.patch ++
Index: ClanLib-2.3.4/Sources/Core/precomp.h
===
--- ClanLib-2.3.4.orig/Sources/Core/precomp.h
+++ ClanLib-2.3.4/Sources/Core/precomp.h
@@ -37,6 +37,7 @@
 #include cstdlib
 #endif
 
+#include unistd.h
 #include API/Core/Text/string_types.h
 #include API/Core/System/exception.h
 
Index: ClanLib-2.3.4/Sources/Display/X11/x11_window.cpp
===
--- ClanLib-2.3.4.orig/Sources/Display/X11/x11_window.cpp
+++ ClanLib-2.3.4/Sources/Display/X11/x11_window.cpp
@@ -28,6 +28,7 @@
 **Mark Page
 */
 
+#include unistd.h
 #include Display/precomp.h
 #include API/Core/Math/rect.h
 #include API/Core/Math/point.h
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit clanlib for openSUSE:Factory

2012-02-01 Thread h_root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2012-02-01 09:57:18

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is clanlib, Maintainer is prus...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2011-12-15 
16:05:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib.changes 2012-02-01 
09:57:22.0 +0100
@@ -1,0 +2,6 @@
+Fri Jan 27 13:40:11 UTC 2012 - cfarr...@suse.com
+
+- license update: Zlib
+
+
+---



Other differences:
--
++ clanlib.spec ++
--- /var/tmp/diff_new_pack.1ZnPxC/_old  2012-02-01 09:57:23.0 +0100
+++ /var/tmp/diff_new_pack.1ZnPxC/_new  2012-02-01 09:57:23.0 +0100
@@ -21,7 +21,7 @@
 Name:   clanlib
 Version:2.3.4
 Release:1
-License:Other uncritical OpenSource License
+License:Zlib
 Summary:A Portable Interface for Writing Games
 Url:http://www.clanlib.org/
 Group:  System/Libraries

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit clanlib for openSUSE:Factory

2011-12-15 Thread h_root
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2011-12-15 16:05:28

Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and  /work/SRC/openSUSE:Factory/.clanlib.new (New)


Package is clanlib, Maintainer is prus...@suse.com

Changes:

New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ /work/SRC/openSUSE:Factory/.clanlib.new/clanlib-doc.changes 2011-12-15 
16:05:32.0 +0100
@@ -0,0 +1,475 @@
+---
+Tue Dec 13 16:00:34 UTC 2011 - jreidin...@suse.com
+
+- update to 2.3.4 
+  * complete list of changes is available here:
+  http://clanlib.org/wiki/BreakingChanges and
+  here http://clanlib.org/wiki/ClanLib_2.3.4_Release_Notes
+- create separate doc with useful generated documentation (
+  previous state was useless)
+
+---
+Wed Nov 16 14:06:56 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+
+---
+Wed Nov 16 10:08:00 UTC 2011 - jreidin...@suse.com
+
+- Update to version 2.3.3:
+  * this is major version update (from 2.2.9 to 2.3.3).
+  * complete list of changes is available here:
+  http://clanlib.org/wiki/BreakingChanges and
+  here http://clanlib.org/wiki/ClanLib_2.3.3_Release_Notes
+
+---
+Sat Jul  2 16:36:18 UTC 2011 - jeng...@medozas.de
+
+- Use %_smp_mflags for parallel building
+- Strip %clean section (not needed on BS)
+
+---
+Thu Jun 16 13:32:08 CEST 2011 - p...@suse.de
+
+- Fix file list.
+- Fix copying of Examples.
+- Convert line endings in some text files.
+
+---
+Sat Jun 11 14:33:38 UTC 2011 - vlado.pas...@gmail.com
+
+- Update to version 2.2.9:
+  * this is major version update (from 2.1.1 to 2.2.9).
+  * complete list of changes is available here:
+  http://clanlib.org/wiki/BreakingChanges and
+  here http://clanlib.org/wiki/ClanLib_2.2.9_Release_Notes
+
+---
+Sat Mar 13 13:34:52 UTC 2010 - dims...@opensuse.org
+
+- Update to version 2.1.1:
+  + See UpGRADE.txt for changes.
+
+---
+Tue Feb  9 14:00:34 CET 2010 - prus...@suse.cz
+
+- build -doc and -examples subpackages as noarch
+
+---
+Wed Aug  5 13:43:34 CEST 2009 - prus...@suse.cz
+
+- updated to 2.0.3
+  * new display target: GL1 (works on pre OpenGL 2.0 cards)
+- removed obsoleted patch:
+  * includes.patch (mainline)
+
+---
+Tue Jul  7 11:28:28 CEST 2009 - prus...@suse.cz
+
+- added COPYING.GPLv2 to examples subpackage [bnc#519487]
+
+---
+Tue May 19 12:46:08 CEST 2009 - prus...@suse.cz
+
+- updated to 2.0.2
+  * New (revived) display target: SDL
+  * New example: GUICustomComponent (game-gui)
+  * New example: PostProcessing (using shaders)
+- fixed missing includes (includes.patch)
+- removed obsoleted patches:
+  * used-twice.patch (mainline)
+
+---
+Thu Apr 30 09:30:38 CEST 2009 - prus...@suse.cz
+
+- updated to 2.0.1
+  * changes too numerous to list
+- fixed the same variable used twice in expression (used-twice.patch)
+- removed obsoleted patches
+  * endian.patch (not needed anymore)
+  * delete.patch (mainline)
+  * includes.patch
+
+---
+Sun Mar 29 23:54:45 CEST 2009 - crrodrig...@suse.de
+
+- fix build with GCC 44 
+
+---
+Mon Nov 10 15:37:30 CET 2008 - prus...@suse.cz
+
+- fix wrong delete usage (delete.patch) [bnc#443368]
+
+---
+Wed Mar 19 15:55:00 CET 2008 - prus...@suse.cz
+
+- updated to 0.8.1
+  * GUI: CL_InputBox improved, supports system-wide cut-and-paste
+  * GUI: RichEdit class added, currently only a very basic html style viewer
+  * Global: CL_Clipboard added
+  * ClanDisplay: .bmp loading support added
+  * ClanSound: ALSA support added
+  - Loads of bugs fixed
+- removed obsolete patch:
+  * clvoid.patch (included in update)
+
+---
+Thu Oct 18 11:13:54 CEST 2007 - prus...@suse.cz
+
+- fixed missing includes (includes.patch)
+- changed Xalan-c to libxslt (xsltproc) in BuildRequires to build docs
+

commit clanlib for openSUSE:Factory

2011-08-04 Thread h_root

Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory
checked in at Thu Aug 4 10:31:11 CEST 2011.




--- clanlib/clanlib.changes 2010-03-13 14:44:10.0 +0100
+++ /mounts/work_src_done/STABLE/clanlib/clanlib.changes2011-07-02 
19:21:42.0 +0200
@@ -1,0 +2,22 @@
+Sat Jul  2 16:36:18 UTC 2011 - jeng...@medozas.de
+
+- Use %_smp_mflags for parallel building
+- Strip %clean section (not needed on BS)
+
+---
+Thu Jun 16 13:32:08 CEST 2011 - p...@suse.de
+
+- Fix file list.
+- Fix copying of Examples.
+- Convert line endings in some text files.
+
+---
+Sat Jun 11 14:33:38 UTC 2011 - vlado.pas...@gmail.com
+
+- Update to version 2.2.9:
+  * this is major version update (from 2.1.1 to 2.2.9).
+  * complete list of changes is available here:
+  http://clanlib.org/wiki/BreakingChanges and
+  here http://clanlib.org/wiki/ClanLib_2.2.9_Release_Notes
+
+---

calling whatdependson for head-i586


Old:

  ClanLib-2.1.1.tar.bz2

New:

  ClanLib-2.2.9.tgz



Other differences:
--
++ clanlib.spec ++
--- /var/tmp/diff_new_pack.MwsMcg/_old  2011-08-04 10:30:36.0 +0200
+++ /var/tmp/diff_new_pack.MwsMcg/_new  2011-08-04 10:30:36.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package clanlib (Version 2.1.1)
+# spec file for package clanlib
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,16 @@
 #
 
 
-%define clan_ver 2.1
+%define clan_ver 2.2
 
 Name:   clanlib
-Version:2.1.1
+Version:2.2.9
 Release:1
 License:Other uncritical OpenSource License
 Summary:A Portable Interface for Writing Games
 Url:http://www.clanlib.org/
 Group:  System/Libraries
-Source: ClanLib-%{version}.tar.bz2
+Source: ClanLib-%{version}.tgz
 BuildRequires:  Mesa-devel
 BuildRequires:  SDL-devel
 BuildRequires:  SDL_gfx-devel
@@ -45,6 +45,7 @@
 BuildRequires:  pcre-devel
 BuildRequires:  sqlite3-devel
 BuildRequires:  zlib-devel
+BuildRequires:  dos2unix
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -88,39 +89,40 @@
 
 %prep
 %setup -q -n ClanLib-%{version}
-rm -f Examples/*/*.{sln,vcproj}
+find Examples -name \*.sln -o -name \*.vcproj -o -name \*.vcxproj\* | xargs rm 
-f
+dos2unix Examples/Game/SpritesRTS/resources.xml 
Examples/Database/SQL/Database/create_database.sql \
+   Examples/3D/Chess3D/Resources/Sponza/readme.txt 
Examples/3D/Chess3D/Resources/skybox_fragment.glsl \
+   Examples/Game/Pacman/pacman.xml 
Examples/3D/Chess3D/Resources/skybox_vertex.glsl
 
 %build
-export CFLAGS=%{optflags} -fno-strict-aliasing
+export CFLAGS=%{optflags}
 export CXXFLAGS=$CFLAGS
 %ifarch %ix86
 %configure --with-pic --disable-static --enable-asm386 --enable-docs
 %else
 %configure --with-pic --disable-static --disable-asm386 --enable-docs
 %endif
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
 %makeinstall
 rm -f %{buildroot}%{_libdir}/*.la
+mkdir -p %{buildroot}%{_datadir}/doc/clanlib-%{clan_ver}
 cp -a Examples %{buildroot}%{_datadir}/doc/clanlib-%{clan_ver}
 %fdupes %{buildroot}%{_datadir}/doc
 
-%clean
-rm -rf %{buildroot}
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)
-%doc COPYING CREDITS README UPGRADE.txt
+%doc COPYING CREDITS README
 %{_libdir}/libclan*.so.*
 
 %files devel
 %defattr(-, root, root)
-%doc CODING_STYLE PATCHES README.anjuta README.kdevelop TODO.txt
+%doc CODING_STYLE PATCHES
 %{_includedir}/*
 %{_libdir}/pkgconfig/*
 %{_libdir}/libclan*.so
@@ -132,6 +134,6 @@
 
 %files examples
 %defattr(-, root, root)
-%{_datadir}/doc/clanlib-%{clan_ver}/Examples/
+%{_datadir}/doc/clanlib-%{clan_ver}/Examples
 
 %changelog






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org