Hello community,

here is the log from the commit of package trader for openSUSE:Factory checked 
in at 2017-08-10 14:02:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trader (Old)
 and      /work/SRC/openSUSE:Factory/.trader.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trader"

Thu Aug 10 14:02:25 2017 rev:10 rq:505975 version:7.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/trader/trader.changes    2014-08-20 
17:52:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.trader.new/trader.changes       2017-08-10 
14:11:15.447597777 +0200
@@ -1,0 +2,37 @@
+Sun Jun 18 07:20:00 EST 2017 - j.zaits...@zap.org.au
+- New upstream release of Star Traders: version 7.11.
+
+-------------------------------------------------------------------
+Mon Jun 05 20:49:00 EST 2017 - j.zaits...@zap.org.au
+
+- Changed build dependency from pkgconfig(ncurses) back to ncurses-devel
+  so that the package can build on OpenSUSE 42.x.
+
+-------------------------------------------------------------------
+Mon Jun 05 20:12:00 EST 2017 - j.zaits...@zap.org.au
+
+- New upstream release of Star Traders: version 7.10.
+- Make the lang package unconditional (assume suse_version >= 1100).
+- Changed dependency from ncurses-devel to pkgconfig(ncurses), now that
+  the Autoconf macro uses pkg-config.
+- Added a dependency on gcc.
+- Added a dependency on update-desktop-files for the desktop file.
+- Install the desktop file and icons now shipped with Star Traders.
+- Remove the clean section, as per current OpenSUSE packaging guidelines.
+
+-------------------------------------------------------------------
+Tue Jan 05 12:52:00 EST 2016 - j.zaits...@zap.org.au
+
+- New upstream release of Star Traders: version 7.9.
+
+-------------------------------------------------------------------
+Thu Sep 10 09:35:00 EST 2015 - j.zaits...@zap.org.au
+
+- New upstream release of Star Traders: version 7.8.
+
+-------------------------------------------------------------------
+Tue Aug 18 13:30:00 EST 2015 - j.zaits...@zap.org.au
+
+- New upstream release of Star Traders: version 7.7.
+
+-------------------------------------------------------------------

Old:
----
  trader-7.6.tar.gz

New:
----
  trader-7.11.tar.xz

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

Other differences:
------------------
++++++ trader.spec ++++++
--- /var/tmp/diff_new_pack.RUwDB3/_old  2017-08-10 14:11:16.111504302 +0200
+++ /var/tmp/diff_new_pack.RUwDB3/_new  2017-08-10 14:11:16.115503739 +0200
@@ -1,8 +1,8 @@
 #
 # spec file for package trader
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2012-14 John Zaitseff <j.zaits...@zap.org.au>
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2012-17 John Zaitseff <j.zaits...@zap.org.au>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,27 +20,21 @@
 # ***********************************************************************
 # *                                                                     *
 # *            Star Traders: A Game of Interstellar Trading             *
-# *               Copyright (C) 1990-2014, John Zaitseff                *
+# *               Copyright (C) 1990-2017, John Zaitseff                *
 # *                                                                     *
 # ***********************************************************************
 
 # Author: John Zaitseff <j.zaits...@zap.org.au>
-# $Id: trader.spec 562 2014-08-13 02:52:11Z john $
+# $Id: c8d3c05321aea26745a5ced3158245111b97ca14 $
 
 # This file is distributed under the same licence as Star Traders itself:
 # the GNU General Public License, version 3 or later.
 
-# ***********************************************************************
-# Global definitions
-
-%define upstream_version   7.6
-%define normalised_version 7.6
+%define upstream_version   7.11
+%define normalised_version 7.11
 %define rpm_release_num    1
 %define is_prerelease      0
 
-# ***********************************************************************
-# Overall package information
-
 Name:           trader
 Version:        %{normalised_version}
 Release:        %{rpm_release_num}%{?dist}
@@ -50,89 +44,58 @@
 Url:            http://www.zap.org.au/software/trader/
 
 %if 0%{?is_prerelease}
-Source0:        
ftp://ftp.zap.org.au/pub/trader/unix/prerelease/trader-%{upstream_version}.tar.gz
+Source0:        
ftp://ftp.zap.org.au/pub/trader/unix/prerelease/trader-%{upstream_version}.tar.xz
 %else
-Source0:        
ftp://ftp.zap.org.au/pub/trader/unix/trader-%{upstream_version}.tar.gz
-%endif
-
-%if 0%{?suse_version} >= 1100
-%define use_suggests_lang 1
-%else
-%define use_suggests_lang 0
+Source0:        
ftp://ftp.zap.org.au/pub/trader/unix/trader-%{upstream_version}.tar.xz
 %endif
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  gcc
 BuildRequires:  gettext
 BuildRequires:  gperf
 BuildRequires:  ncurses-devel
+BuildRequires:  update-desktop-files
 
-%if 0%{?use_suggests_lang}
-Suggests:       %{name}-lang = %{version}
-%endif
+Requires(post):   hicolor-icon-theme
+Requires(postun): hicolor-icon-theme
+Recommends:     %{name}-lang = %{version}
 
 %description
 Star Traders is a simple game of interstellar trading, where the objective
 is to create companies, buy and sell shares, borrow and repay money, in
 order to become the wealthiest player (the winner).
 
-# ***********************************************************************
-# Separate package for locale-specific information
-
-%if 0%{?use_suggests_lang}
 %lang_package
-%endif
-
-# ***********************************************************************
-# Package preparation
 
 %prep
 %setup -q -n %{name}-%{upstream_version}
 
-# ***********************************************************************
-# Build the package
-
 %build
 %configure
 make %{?_smp_mflags}
 
-# ***********************************************************************
-# Install the package
-
 %install
-make DESTDIR=%{buildroot} install
+%make_install
 %find_lang %{name}
-
-# ***********************************************************************
-# Clean up from package building
-
-%clean
-rm -rf %{buildroot}
-
-# ***********************************************************************
-# Create the RPM archive
-
-%if 0%{?use_suggests_lang}
+%suse_update_desktop_file %{name}
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING NEWS README
-%doc %{_mandir}/man6/trader.6*
-%{_bindir}/trader
+%doc README NEWS COPYING
+%{_bindir}/%{name}
+%{_mandir}/man6/trader.6*
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/hicolor/*/apps/%{name}.*
 
 %files lang -f %{name}.lang
 %defattr(-,root,root,-)
 
-%else
-
-%files -f %{name}.lang
-%defattr(-,root,root,-)
-%doc COPYING NEWS README
-%doc %{_mandir}/man6/trader.6*
-%{_bindir}/trader
-
-%endif
-
-# ***********************************************************************
-# Package spec file information
+%post
+%desktop_database_post
+%icon_theme_cache_post
+
+%postun
+%desktop_database_postun
+%icon_theme_cache_postun
 
 %changelog


Reply via email to