Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package clanlib for openSUSE:Factory checked 
in at 2021-04-27 21:35:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clanlib (Old)
 and      /work/SRC/openSUSE:Factory/.clanlib.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clanlib"

Tue Apr 27 21:35:29 2021 rev:41 rq:888861 version:4.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/clanlib/clanlib.changes  2019-04-04 
15:29:24.214944151 +0200
+++ /work/SRC/openSUSE:Factory/.clanlib.new.12324/clanlib.changes       
2021-04-27 21:36:01.816118908 +0200
@@ -1,0 +2,28 @@
+Tue Apr  6 17:14:46 UTC 2021 - Ferdinand Thiessen <r...@fthiessen.de>
+
+- Update to version 4.1
+  * Removed all the obsolete elements of ClanLib that were either
+    abandoned, replaced by newer methodologies,
+    moved to separate projects.
+  * Removed base modules: Compute, CSSLayout, Database, GameIDE,
+    GUI, Physics2D, Physics3D, Sqlite and SWRender
+  * Introduced clanUI, that replaced clanGUI.
+    This took the best ideas of clanGUI, to provide a faster, easier
+    and more flexible UI framework.
+  * New Prerequisite, a C++11 compiler is now required to compile
+    ClanLib.
+  * Performance increase of clanUI
+  * Support of OpenGL ES3.2
+  * Fixed clan::GameTime::get_time_elapsed_ms() accuracy
+  * Enhanced clanUI to reflect the UICore fork.
+  * Updated clanSound to use ALSA
+  * Various API enhancements
+  * Various bug fixes
+- Integrated doc and examples package
+- Dropped upstream fixed
+  * ClanLib-2.3.6-fix-opengl.patch
+  * clanlib-cpuid.patch
+  * stdgnu++11.patch
+  * clanlib-alsa.patch
+
+-------------------------------------------------------------------

Old:
----
  ClanLib-2.3.6-fix-opengl.patch
  ClanLib-2.3.6.tgz
  clanlib-alsa.patch
  clanlib-cpuid.patch
  clanlib-doc.changes
  clanlib-doc.spec
  stdgnu++11.patch

New:
----
  ClanLib-4.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ clanlib.spec ++++++
--- /var/tmp/diff_new_pack.9GUVpd/_old  2021-04-27 21:36:02.408119882 +0200
+++ /var/tmp/diff_new_pack.9GUVpd/_new  2021-04-27 21:36:02.412119888 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package clanlib
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,37 +12,34 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define clan_ver 2.3
-
+%define clan_ver 4.1
 Name:           clanlib
-Version:        2.3.6
+Version:        4.1.0
 Release:        0
 Summary:        A Portable Interface for Writing Games
 License:        Zlib
 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
-# 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
-Patch3:         clanlib-alsa.patch
+URL:            https://github.com/sphair/ClanLib
+Source:         
%{URL}/archive/refs/tags/v%{version}.tar.gz#/ClanLib-%{version}.tar.gz
 BuildRequires:  alsa-devel
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  dos2unix
+BuildRequires:  doxygen
 BuildRequires:  fdupes
 BuildRequires:  fontconfig-devel
 BuildRequires:  freetype2-devel
 BuildRequires:  gcc-c++
+BuildRequires:  graphviz-gnome
 BuildRequires:  libjpeg-devel
 BuildRequires:  libmikmod-devel
 BuildRequires:  libogg-devel
 BuildRequires:  libpng-devel
+BuildRequires:  libtool
 BuildRequires:  libvorbis-devel
 BuildRequires:  libxslt
 BuildRequires:  pcre-devel
@@ -51,7 +48,6 @@
 BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig(gl)
 BuildRequires:  pkgconfig(x11)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 ClanLib delivers a platform-independent interface for writing games.
@@ -62,37 +58,76 @@
 Requires:       %{name} = %{version}
 #wants compiler intrinsics in installed headers
 Requires:       c++_compiler
+Requires:       pkgconfig(alsa)
+Requires:       pkgconfig(fontconfig)
 Requires:       pkgconfig(gl)
 Requires:       pkgconfig(x11)
 
 %description     devel
 ClanLib delivers a platform independent interface to write games with.
 
+%package        doc
+Summary:        A Portable Interface for Writing Games
+Group:          Documentation/HTML
+Suggests:       clanlib-devel = %{version}
+BuildArch:      noarch
+
+%description doc
+ClanLib delivers a platform-independent interface for writing games.
+
+%package      examples
+Summary:        A Portable Interface for Writing Games
+Group:          Documentation/Other
+Requires:       clanlib = %{version}
+Requires:       clanlib-devel = %{version}
+BuildArch:      noarch
+
+%description examples
+ClanLib delivers a platform-independent interface for writing games.
+
 %prep
-%autosetup -p1 -n ClanLib-%{version}
+%autosetup -n ClanLib-%{version}
 
 %build
-%configure --with-pic --disable-static --disable-docs
-make %{?_smp_mflags}
+# Remove IDE files
+find Examples -name \*.sln -o -name \*.vcproj -o -name \*.vcxproj\* | xargs rm 
-vf
+# Fix line ending
+find Examples -name \*.props -exec dos2unix \{\} +
+# Configure
+sh ./autogen.sh
+%configure --with-pic --disable-static --enable-docs
+%make_build
+%make_build html
 
 %install
-%makeinstall
-rm -f %{buildroot}%{_libdir}/*.la
+%make_install
+make DESTDIR=%{buildroot} install-html
+# Install examples
+mkdir -p %{buildroot}%{_datadir}/doc/clanlib-%{clan_ver}
+cp -a Examples %{buildroot}%{_datadir}/doc/clanlib-%{clan_ver}
+%fdupes %{buildroot}%{_datadir}/doc
 
-%post -p /sbin/ldconfig
+find %{buildroot} -type f -name "*.la" -delete -print
 
+%post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-, root, root)
-%doc COPYING CREDITS README
+%license COPYING
+%doc CREDITS README
 %{_libdir}/libclan*.so.*
 
 %files devel
-%defattr(-, root, root)
-%doc CODING_STYLE PATCHES
+%doc CODING_STYLE
 %{_includedir}/*
 %{_libdir}/pkgconfig/*
 %{_libdir}/libclan*.so
 
+%files doc
+%{_datadir}/doc/clanlib-%{clan_ver}/
+%exclude %{_datadir}/doc/clanlib-%{clan_ver}/Examples
+
+%files examples
+%{_datadir}/doc/clanlib-%{clan_ver}/Examples
+
 %changelog

Reply via email to