commit megaglest for openSUSE:Factory

2020-08-29 Thread root
Hello community,

here is the log from the commit of package megaglest for openSUSE:Factory 
checked in at 2020-08-29 20:32:31

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


Package is "megaglest"

Sat Aug 29 20:32:31 2020 rev:5 rq:829552 version:3.13.0

Changes:

--- /work/SRC/openSUSE:Factory/megaglest/megaglest.changes  2020-06-19 
17:25:42.336297245 +0200
+++ /work/SRC/openSUSE:Factory/.megaglest.new.3399/megaglest.changes
2020-08-29 20:32:48.741224357 +0200
@@ -1,0 +2,5 @@
+Tue Aug 25 08:45:56 UTC 2020 - Callum Farmer 
+
+- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075)
+
+---



Other differences:
--
++ megaglest.spec ++
--- /var/tmp/diff_new_pack.H12faK/_old  2020-08-29 20:32:51.333225449 +0200
+++ /var/tmp/diff_new_pack.H12faK/_new  2020-08-29 20:32:51.333225449 +0200
@@ -89,7 +89,7 @@
 %cmake \
   -DWANT_SVN_STAMP=OFF
 # unforce link against libcurl.a
-find . -name link.txt -exec sed -ie 's!%{_libexecdir}/libcurl.a!-lcurl!g' {} \;
+find . -name link.txt -exec sed -ie 's!%{_prefix}/lib/libcurl.a!-lcurl!g' {} \;
 find . -name link.txt -exec sed -ie 's!%{_libdir}/libcurl.a!-lcurl!g' {} \;
 %cmake_build
 




commit megaglest for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package megaglest for openSUSE:Factory 
checked in at 2020-06-19 17:24:43

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


Package is "megaglest"

Fri Jun 19 17:24:43 2020 rev:4 rq:815878 version:3.13.0

Changes:

--- /work/SRC/openSUSE:Factory/megaglest/megaglest.changes  2018-07-03 
23:35:56.956271560 +0200
+++ /work/SRC/openSUSE:Factory/.megaglest.new.3606/megaglest.changes
2020-06-19 17:25:42.336297245 +0200
@@ -1,0 +2,6 @@
+Wed Jun 17 14:21:53 UTC 2020 - Martin Pluskal 
+
+- Fix building with gcc10
+- Modernise spec file
+
+---



Other differences:
--
++ megaglest.spec ++
--- /var/tmp/diff_new_pack.fAqHvV/_old  2020-06-19 17:25:45.776307311 +0200
+++ /var/tmp/diff_new_pack.fAqHvV/_new  2020-06-19 17:25:45.776307311 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package megaglest
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -22,7 +22,7 @@
 Summary:Customizable 3D real-time strategy game
 License:GPL-3.0-or-later
 Group:  Amusements/Games/Strategy/Real Time
-Url:http://megaglest.org/
+URL:https://megaglest.org/
 Source: 
https://github.com/MegaGlest/megaglest-source/releases/download/%{version}/%{name}-source-%{version}.tar.xz
 # for grepping a constant build time to recieve reproducible builds
 Source99:   %{name}.changes
@@ -67,18 +67,7 @@
 Requires:   gnu-free-fonts
 Requires:   linux-libertine-fonts
 Requires:   megaglest-data >= %{version}
-# Remove when p7zip-full is in all products
-%if 0%{suse_version} > 1500
 Requires:   p7zip-full
-%else
-Requires:   p7zip
-%endif
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} <= 1320
-  # wxWidgets < 3 needs this, so only Leap since Factory uses wxWidgets 3
-  %define _use_internal_dependency_generator 0
-  %define __find_requires %{wx_requires}
-%endif
 
 %description
 MegaGlest takes place in a context that could be compared to that of
@@ -93,23 +82,16 @@
 
 %prep
 %setup -q
-%if 0%{?suse_version} > 1320
 %patch0 -p1
-%endif
-# no need to add build time to binaries
-modified="$(sed -n '/^/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
-DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
-TIME="\"$(date -d "${modified}" "+%%R")\""
-find . -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i 
"s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
 
 %build
+export CFLAGS="%{optflags} -fcommon"
 %cmake \
--DWANT_SVN_STAMP=OFF \
--DCMAKE_BUILD_TYPE=RelWithDebInfo
+  -DWANT_SVN_STAMP=OFF
 # unforce link against libcurl.a
 find . -name link.txt -exec sed -ie 's!%{_libexecdir}/libcurl.a!-lcurl!g' {} \;
 find . -name link.txt -exec sed -ie 's!%{_libdir}/libcurl.a!-lcurl!g' {} \;
-make %{?_smp_mflags}
+%cmake_build
 
 %install
 %cmake_install
@@ -126,7 +108,6 @@
 %suse_update_desktop_file -c g3dviewerg3dviewer  "Glest 3D 
Graphics Viewer" megaglest_g3dviewer megaglest_g3dviewer Graphics Viewer
 
 %files
-%defattr(-, root, root)
 %{_bindir}/*
 %{_datadir}/%{name}/
 %{_datadir}/icons/hicolor/*/apps/megaglest_*.png




commit megaglest for openSUSE:Factory

2018-07-03 Thread root
Hello community,

here is the log from the commit of package megaglest for openSUSE:Factory 
checked in at 2018-07-03 23:34:52

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


Package is "megaglest"

Tue Jul  3 23:34:52 2018 rev:3 rq:620404 version:3.13.0

Changes:

--- /work/SRC/openSUSE:Factory/megaglest/megaglest.changes  2017-05-20 
10:13:27.897564389 +0200
+++ /work/SRC/openSUSE:Factory/.megaglest.new/megaglest.changes 2018-07-03 
23:35:56.956271560 +0200
@@ -1,0 +2,7 @@
+Fri Jun 29 13:23:58 UTC 2018 - kstreit...@suse.com
+
+- require p7zip-full for TW as 7z/7za binaries needed by megaglest
+  were moved to this package (see bsc#899627 for more details
+  about this change) 
+
+---



Other differences:
--
++ megaglest.spec ++
--- /var/tmp/diff_new_pack.qqtusB/_old  2018-07-03 23:35:57.608270628 +0200
+++ /var/tmp/diff_new_pack.qqtusB/_new  2018-07-03 23:35:57.628270600 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package megaglest
 #
-# Copyright (c) 2017 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
@@ -20,7 +20,7 @@
 Version:3.13.0
 Release:0
 Summary:Customizable 3D real-time strategy game
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  Amusements/Games/Strategy/Real Time
 Url:http://megaglest.org/
 Source: 
https://github.com/MegaGlest/megaglest-source/releases/download/%{version}/%{name}-source-%{version}.tar.xz
@@ -67,7 +67,12 @@
 Requires:   gnu-free-fonts
 Requires:   linux-libertine-fonts
 Requires:   megaglest-data >= %{version}
+# Remove when p7zip-full is in all products
+%if 0%{suse_version} > 1500
+Requires:   p7zip-full
+%else
 Requires:   p7zip
+%endif
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} <= 1320
   # wxWidgets < 3 needs this, so only Leap since Factory uses wxWidgets 3




commit megaglest for openSUSE:Factory

2017-05-20 Thread root
Hello community,

here is the log from the commit of package megaglest for openSUSE:Factory 
checked in at 2017-05-20 10:13:25

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


Package is "megaglest"

Sat May 20 10:13:25 2017 rev:2 rq:495006 version:3.13.0

Changes:

--- /work/SRC/openSUSE:Factory/megaglest/megaglest.changes  2017-05-08 
19:02:48.425898317 +0200
+++ /work/SRC/openSUSE:Factory/.megaglest.new/megaglest.changes 2017-05-20 
10:13:27.897564389 +0200
@@ -1,0 +2,5 @@
+Fri Apr  7 09:50:44 UTC 2017 - jeng...@inai.de
+
+- Expand description and trim redundant words from summary.
+
+---



Other differences:
--
++ megaglest.spec ++
--- /var/tmp/diff_new_pack.7rMMn6/_old  2017-05-20 10:13:28.397493754 +0200
+++ /var/tmp/diff_new_pack.7rMMn6/_new  2017-05-20 10:13:28.401493189 +0200
@@ -19,7 +19,7 @@
 Name:   megaglest
 Version:3.13.0
 Release:0
-Summary:Free 3D Real-Time Customizable Strategy Game
+Summary:Customizable 3D real-time strategy game
 License:GPL-3.0+
 Group:  Amusements/Games/Strategy/Real Time
 Url:http://megaglest.org/
@@ -77,9 +77,15 @@
 
 %description
 MegaGlest takes place in a context that could be compared to that of
-pre-Renaissance Europe with the license that magic forces exist in the
+pre-Renaissance Europe with the twist that magic forces exist in the
 environment and can be controlled.
 
+A game takes place on a map of varying size, such as large plains and
+fields, with terrain features like rivers, mountains, seas, or
+cliffs. Players must establish settlements to gain resources, defend
+against other players, and train units to explore the map and attack
+enemies.
+
 %prep
 %setup -q
 %if 0%{?suse_version} > 1320