commit khunphan for openSUSE:Factory

2017-02-11 Thread root
Hello community,

here is the log from the commit of package khunphan for openSUSE:Factory 
checked in at 2017-02-12 00:49:25

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


Package is "khunphan"

Changes:

--- /work/SRC/openSUSE:Factory/khunphan/khunphan.changes2013-09-25 
15:19:25.0 +0200
+++ /work/SRC/openSUSE:Factory/.khunphan.new/khunphan.changes   2017-02-12 
00:49:26.309650416 +0100
@@ -1,0 +2,6 @@
+Wed Feb  8 16:56:03 CET 2017 - ku...@suse.de
+
+- Move /usr/games to /usr/bin (as done with rest 4 years ago)
+- Remove user and group games, they are not needed at all
+
+---



Other differences:
--
++ khunphan.spec ++
--- /var/tmp/diff_new_pack.gjFaYP/_old  2017-02-12 00:49:28.849288804 +0100
+++ /var/tmp/diff_new_pack.gjFaYP/_new  2017-02-12 00:49:28.849288804 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package khunphan
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -45,7 +45,6 @@
 Patch4: khunphan-libpng15.patch
 Url:http://geocities.com/khunphangame/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%define _bindir  /usr/games/
 %define _datadir /usr/share/games/
 
 %description
@@ -76,20 +75,13 @@
 %configure
 make %{?_smp_mflags}
 
-%pre
-getent group games >/dev/null || groupadd -r games
-getent passwd games >/dev/null || useradd -r -g games -d /var/games -s 
/sbin/nologin
-
 %install
 %makeinstall
-#install -D -m 755 -o games -g games %name %buildroot/%{binary}
-#install -d -m 755 -o games -g games %buildroot/%{datadir}
-#cp -rp data/.   %buildroot/%{datadir}
 %suse_update_desktop_file -i %name Game LogicGame
 
 %files
 %attr(-,root,root) %doc README
-%defattr(-,games,games)
+%defattr(-,root,root)
 %{_bindir}/*
 %{_datadir}/*
 /usr/share/applications/%name.desktop




commit khunphan for openSUSE:Factory

2013-09-25 Thread h_root
Hello community,

here is the log from the commit of package khunphan for openSUSE:Factory 
checked in at 2013-09-25 15:19:24

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


Package is "khunphan"

Changes:

--- /work/SRC/openSUSE:Factory/khunphan/khunphan.changes2012-09-23 
17:06:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.khunphan.new/khunphan.changes   2013-09-25 
15:19:25.0 +0200
@@ -1,0 +2,5 @@
+Mon Sep 23 11:16:04 UTC 2013 - idon...@suse.com
+
+- Add games user/group on demand (fate#314560)
+
+---



Other differences:
--
++ khunphan.spec ++
--- /var/tmp/diff_new_pack.F3vOoP/_old  2013-09-25 15:19:26.0 +0200
+++ /var/tmp/diff_new_pack.F3vOoP/_new  2013-09-25 15:19:26.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package khunphan
 #
-# 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
@@ -28,6 +28,7 @@
 BuildRequires:  update-desktop-files
 BuildRequires:  xorg-x11-Mesa-devel
 BuildRequires:  pkgconfig(glu)
+Requires(pre):  pwdutils
 Summary:Traditional Thai Puzzle Board Game in 3D with Wooden Blocks
 License:GPL-2.0+
 Group:  Amusements/Games/3D/Other
@@ -59,8 +60,6 @@
 sound effects. Ambient and Drum & Bass music from Nifflas
 (www.nifflas.com) gives the game a unique atmosphere.
 
-
-
 %prep
 %setup -q
 %patch
@@ -77,6 +76,10 @@
 %configure
 make %{?_smp_mflags}
 
+%pre
+getent group games >/dev/null || groupadd -r games
+getent passwd games >/dev/null || useradd -r -g games -d /var/games -s 
/sbin/nologin
+
 %install
 %makeinstall
 #install -D -m 755 -o games -g games %name %buildroot/%{binary}

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



commit khunphan for openSUSE:Factory

2012-09-23 Thread h_root
Hello community,

here is the log from the commit of package khunphan for openSUSE:Factory 
checked in at 2012-09-23 17:06:10

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


Package is "khunphan", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/khunphan/khunphan.changes2012-09-06 
08:52:52.0 +0200
+++ /work/SRC/openSUSE:Factory/.khunphan.new/khunphan.changes   2012-09-23 
17:06:11.0 +0200
@@ -1,0 +2,5 @@
+Tue Sep 18 13:45:44 UTC 2012 - idon...@suse.com
+
+- Add explicity glu dependency 
+
+---



Other differences:
--
++ khunphan.spec ++
--- /var/tmp/diff_new_pack.FackpH/_old  2012-09-23 17:06:14.0 +0200
+++ /var/tmp/diff_new_pack.FackpH/_new  2012-09-23 17:06:14.0 +0200
@@ -27,6 +27,7 @@
 BuildRequires:  libxml2-devel
 BuildRequires:  update-desktop-files
 BuildRequires:  xorg-x11-Mesa-devel
+BuildRequires:  pkgconfig(glu)
 Summary:Traditional Thai Puzzle Board Game in 3D with Wooden Blocks
 License:GPL-2.0+
 Group:  Amusements/Games/3D/Other

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



commit khunphan for openSUSE:Factory

2012-09-05 Thread h_root
Hello community,

here is the log from the commit of package khunphan for openSUSE:Factory 
checked in at 2012-09-06 08:52:49

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


Package is "khunphan", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/khunphan/khunphan.changes2012-01-24 
12:19:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.khunphan.new/khunphan.changes   2012-09-06 
08:52:52.0 +0200
@@ -1,0 +2,6 @@
+Thu Aug 30 14:09:33 UTC 2012 - pgaj...@suse.com
+
+- build also with libpng15
+  * libpng15.patch
+
+---

New:

  khunphan-libpng15.patch



Other differences:
--
++ khunphan.spec ++
--- /var/tmp/diff_new_pack.PHMbWy/_old  2012-09-06 08:52:53.0 +0200
+++ /var/tmp/diff_new_pack.PHMbWy/_new  2012-09-06 08:52:53.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package khunphan
 #
-# 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
@@ -16,7 +16,6 @@
 #
 
 
-
 Name:   khunphan
 BuildRequires:  SDL_image-devel
 BuildRequires:  SDL_mixer-devel
@@ -29,6 +28,8 @@
 BuildRequires:  update-desktop-files
 BuildRequires:  xorg-x11-Mesa-devel
 Summary:Traditional Thai Puzzle Board Game in 3D with Wooden Blocks
+License:GPL-2.0+
+Group:  Amusements/Games/3D/Other
 Version:0.55
 Release:0
 Source0:
http://www.ibiblio.org/pub/Linux/games/strategy/khunphan-0.55.tar.bz2
@@ -38,9 +39,9 @@
 Patch1: khunphan-freeglut.diff
 Patch2: khunphan-DESTDIR.diff
 Patch3: khunphan-0.55-png_uint_32.diff
-Group:  Amusements/Games/3D/Other
-License:GPL-2.0+
-URL:http://geocities.com/khunphangame/
+# PATCH-FIX-UPSTREAM khunphan-libpng15.patch pgaj...@suse.com -- Support 
building with libpng15 (not sent upstream, no activity)
+Patch4: khunphan-libpng15.patch
+Url:http://geocities.com/khunphangame/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %define _bindir  /usr/games/
 %define _datadir /usr/share/games/
@@ -65,6 +66,7 @@
 %patch1
 %patch2
 %patch3
+%patch4 -p1
 chmod -x khunphan/{*.cpp,*.h}
 rm -f aclocal.m4 acinclude.m4 configure.files configure.in*
 cp %{S:2} .

++ khunphan-libpng15.patch ++
Index: khunphan-0.55/khunphan/btexture.cpp
===
--- khunphan-0.55.orig/khunphan/btexture.cpp
+++ khunphan-0.55/khunphan/btexture.cpp
@@ -24,6 +24,7 @@
 #include 
 #endif
 #include 
+#include 
 #include "misc1.h"
 #include "btexture.h"
 
@@ -447,7 +448,7 @@ bool BTexture::WriteTextureToPngFile (FI
 return false;
   }
 
-  if (setjmp(png_ptr->jmpbuf)) {
+  if (png_jmpbuf(png_ptr)) {
 png_destroy_write_struct(&png_ptr, &info_ptr);
 return false;
   }
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit khunphan for openSUSE:Factory

2012-01-24 Thread h_root
Hello community,

here is the log from the commit of package khunphan for openSUSE:Factory 
checked in at 2012-01-24 12:18:59

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


Package is "khunphan", Maintainer is "p...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/khunphan/khunphan.changes2011-09-23 
02:06:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.khunphan.new/khunphan.changes   2012-01-24 
12:19:01.0 +0100
@@ -1,0 +2,11 @@
+Sat Dec  3 13:59:29 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+- Use %_smp_mflags for parallel building
+
+---
+Fri Dec  2 15:57:25 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ khunphan.spec ++
--- /var/tmp/diff_new_pack.GTpIAZ/_old  2012-01-24 12:19:12.0 +0100
+++ /var/tmp/diff_new_pack.GTpIAZ/_new  2012-01-24 12:19:12.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package khunphan (Version 0.55)
+# spec file for package khunphan
 #
-# 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
@@ -15,15 +15,22 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:   khunphan
-BuildRequires:  SDL_image-devel SDL_mixer-devel freeglut-devel gcc-c++ 
libdrm-devel
-BuildRequires:  libpng-devel libxml2-devel update-desktop-files 
xorg-x11-Mesa-devel
+BuildRequires:  SDL_image-devel
+BuildRequires:  SDL_mixer-devel
+BuildRequires:  automake
+BuildRequires:  freeglut-devel
+BuildRequires:  gcc-c++
+BuildRequires:  libdrm-devel
+BuildRequires:  libpng-devel
+BuildRequires:  libxml2-devel
+BuildRequires:  update-desktop-files
+BuildRequires:  xorg-x11-Mesa-devel
 Summary:Traditional Thai Puzzle Board Game in 3D with Wooden Blocks
 Version:0.55
-Release:458
+Release:0
 Source0:
http://www.ibiblio.org/pub/Linux/games/strategy/khunphan-0.55.tar.bz2
 Source1:%name.desktop
 Source2:configure.ac
@@ -32,8 +39,8 @@
 Patch2: khunphan-DESTDIR.diff
 Patch3: khunphan-0.55-png_uint_32.diff
 Group:  Amusements/Games/3D/Other
-License:GPLv2+
-Url:http://geocities.com/khunphangame/
+License:GPL-2.0+
+URL:http://geocities.com/khunphangame/
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %define _bindir  /usr/games/
 %define _datadir /usr/share/games/
@@ -65,6 +72,7 @@
 %build
 autoreconf -fi
 %configure
+make %{?_smp_mflags}
 
 %install
 %makeinstall
@@ -80,7 +88,4 @@
 %{_datadir}/*
 /usr/share/applications/%name.desktop
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %changelog

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