Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit wyrmsun for openSUSE:Factory
Hello community,

here is the log from the commit of package wyrmsun for openSUSE:Factory checked
in at 2019-04-23 14:34:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wyrmsun (Old)
and /work/SRC/openSUSE:Factory/.wyrmsun.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wyrmsun"

Tue Apr 23 14:34:24 2019 rev:4 rq:685473 version:3.5.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/wyrmsun/wyrmsun.changes 2017-09-13
22:34:39.367110268 +0200
+++ /work/SRC/openSUSE:Factory/.wyrmsun.new.5536/wyrmsun.changes
2019-04-23 14:34:35.253409287 +0200
@@ -1,0 +2,12 @@
+Sun Mar 3 15:01:45 UTC 2019 - Martin Hauke <mardnh@xxxxxx>
+
+- Update to version 3.5.4
+ * lots of new features and improvements
+ see /usr/share/doc/packages/wyrmsun/readme.txt for the full
+ changelog
+- Run spec-cleaner
+- Use cmake to install the game
+- Add patch:
+ * wyrmsun-dont-search-for-a-compiler.patch
+
+-------------------------------------------------------------------

Old:
----
Wyrmsun-2.8.1.tar.gz

New:
----
Wyrmsun-3.5.4.tar.gz
wyrmsun-dont-search-for-a-compiler.patch

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

Other differences:
------------------
++++++ wyrmsun.spec ++++++
--- /var/tmp/diff_new_pack.5uQc0q/_old 2019-04-23 14:34:40.981413659 +0200
+++ /var/tmp/diff_new_pack.5uQc0q/_new 2019-04-23 14:34:40.985413662 +0200
@@ -1,7 +1,7 @@
#
# spec file for package wyrmsun
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,24 +12,27 @@
# 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/
#


Name: wyrmsun
-Version: 2.8.1
+Version: 3.5.4
Release: 0
Summary: Strategy game based on history, mythology and fiction
-License: GPL-2.0 and CC-BY-SA-3.0
+License: GPL-2.0-only AND CC-BY-SA-3.0
Group: Amusements/Games/Strategy/Real Time
-Url: https://andrettin.github.io/
+URL: https://andrettin.github.io/
Source:
https://github.com/Andrettin/Wyrmsun/archive/v%{version}/Wyrmsun-%{version}.tar.gz
+Patch0: wyrmsun-dont-search-for-a-compiler.patch
+BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: hicolor-icon-theme
+%if 0%{?suse_version} < 1330
BuildRequires: update-desktop-files
-BuildArch: noarch
+%endif
Requires: wyrmgus = %{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildArch: noarch

%description
In the Wyrmsun universe a myriad of inhabited planets exist. Humans dwell on
Earth,
@@ -39,21 +42,17 @@

%prep
%setup -q -n Wyrmsun-%{version}
+%patch0 -p1

%build
+%cmake

%install
-mkdir -p %{buildroot}%{_datadir}/wyrmsun
-cp -r * %{buildroot}%{_datadir}/wyrmsun
-
-install -Dm644 graphics/ui/icons/wyrmsun_icon_32.png
%{buildroot}%{_datadir}/icons/hicolor/32x32/apps/wyrmsun.png
-install -Dm644 graphics/ui/icons/wyrmsun_icon_128.png
%{buildroot}%{_datadir}/icons/hicolor/128x128/apps/wyrmsun.png
-
-install -Dm644 linux/wyrmsun.desktop
%{buildroot}%{_datadir}/applications/wyrmsun.desktop
-install -Dm644 linux/wyrmsun.appdata.xml
%{buildroot}%{_datadir}/appdata/wyrmsun.appdata.xml
-
-%fdupes -s %{buildroot}%{_prefix}
+%cmake_install
+rm -Rf %{buildroot}%{_datadir}/doc/wyrmsun/
+%fdupes -s %{buildroot}%{_datadir}

+%if 0%{?suse_version} < 1330
%post
%desktop_database_post
%icon_theme_cache_post
@@ -61,14 +60,17 @@
%postun
%desktop_database_postun
%icon_theme_cache_postun
+%endif

%files
-%defattr(-,root,root)
-%doc license.txt readme.txt
+%license license.txt
+%doc readme.txt
+%doc "documents/Wyrmsun - Visual Guide.pdf"
+%{_bindir}/wyrmsun
%{_datadir}/wyrmsun
-%{_datadir}/icons/hicolor/*/apps/wyrmsun.png
-%{_datadir}/applications/wyrmsun.desktop
-%dir %{_datadir}/appdata/
-%{_datadir}/appdata/wyrmsun.appdata.xml
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/applications/%{name}.desktop
+%dir %{_datadir}/appdata
+%{_datadir}/appdata/%{name}.appdata.xml

%changelog

++++++ Wyrmsun-2.8.1.tar.gz -> Wyrmsun-3.5.4.tar.gz ++++++
/work/SRC/openSUSE:Factory/wyrmsun/Wyrmsun-2.8.1.tar.gz
/work/SRC/openSUSE:Factory/.wyrmsun.new.5536/Wyrmsun-3.5.4.tar.gz differ: char
12, line 1

++++++ wyrmsun-dont-search-for-a-compiler.patch ++++++
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 91ef748..080ff3e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,4 @@
-project(wyrmsun)
+project(wyrmsun NONE)
cmake_minimum_required(VERSION 3.0)

set(DATADIR share/wyrmsun CACHE STRING "Where to install Wyrmsun data files")

< Previous Next >
This Thread
  • No further messages