Hello community,

here is the log from the commit of package trader for openSUSE:Factory checked 
in at 2012-04-23 16:13:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/trader (Old)
 and      /work/SRC/openSUSE:Factory/.trader.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "trader", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/trader/trader.changes    2012-04-02 
10:32:01.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.trader.new/trader.changes       2012-04-23 
16:13:56.000000000 +0200
@@ -1,0 +2,5 @@
+Sat Apr 14 16:26:00 EST 2012 - [email protected]
+
+- New upstream release of Star Traders: 7.4-pre2
+
+-------------------------------------------------------------------

Old:
----
  trader-7.4-pre1.de.po
  trader-7.4-pre1.tar.gz
  trader-enable_de.patch

New:
----
  trader-7.4-pre2.tar.gz

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

Other differences:
------------------
++++++ trader.spec ++++++
--- /var/tmp/diff_new_pack.1OGwww/_old  2012-04-23 16:13:57.000000000 +0200
+++ /var/tmp/diff_new_pack.1OGwww/_new  2012-04-23 16:13:57.000000000 +0200
@@ -1,69 +1,123 @@
-#
-# spec file for package trader
-#
-# 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
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
+# Star Traders: A Game of Interstellar Trading
+# Copyright (c) 2012 John Zaitseff
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
+# Author: John Zaitseff <[email protected]>
+# $Id: trader.spec 462+mod2 2012-04-16 06:26:06Z john $
 
+# This file is distributed under the same licence as Star Traders itself:
+# the GNU General Public License, version 3 or later.
 
-%define real_version 7.4-pre1
+# ***********************************************************************
+# Global definitions
+
+%define upstream_version   7.4-pre2
+%define normalised_version 7.3.99.2
+%define rpm_release_num    1
+%define is_prerelease      1
+
+
+# ***********************************************************************
+# Overall package information
 
 Name:           trader
-Version:        7.3.99
-Release:        0
-Summary:        Star Traders
+Version:        %{normalised_version}
+Release:        %{rpm_release_num}%{?dist}
+Summary:        Star Traders, a simple game of interstellar trading
 License:        GPL-3.0+
-Group:          Amusements/Games/Other
-Url:            http://www.zap.org.au/software/trader/
-Source:         %{name}-%{real_version}.tar.gz
-Source1:        %{name}-%{real_version}.de.po
-Recommends:     %{name}-lang = %version
-Patch0:         trader-enable_de.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  autoconf
-BuildRequires:  automake
-BuildRequires:  gperf
+Group:          Amusements/Games
+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
+%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
+%endif
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-build
 BuildRequires:  ncurses-devel
+BuildRequires:  gperf
+BuildRequires:  gettext
+
+%if 0%{?use_suggests_lang}
+Suggests:       %{name}-lang = %{version}
+%endif
 
 %description
-This package at the moment only contains rogue. The ancestor of
-nethack.
+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}-%{real_version}
-%patch0
+%setup -q -n %{name}-%{upstream_version}
+
 
-cp %{S:1} po/de.po
+# ***********************************************************************
+# Build the package
 
 %build
-autoreconf -fi
 %configure
-make %{?_smp_mflags} V=1
+make %{?_smp_mflags}
+
+
+# ***********************************************************************
+# Install the package
 
 %install
-%makeinstall
-%find_lang %name
+make DESTDIR=%{buildroot} install
+%find_lang %{name}
+
+
+# ***********************************************************************
+# Clean up from package building
 
 %clean
+rm -rf %{buildroot}
+
+
+# ***********************************************************************
+# Create the RPM archive
+
+%if 0%{?use_suggests_lang}
 
 %files 
-%defattr(-,root,root)
+%defattr(-,root,root,-)
+%doc COPYING NEWS README
+%doc %{_mandir}/man6/trader.6*
+%{_bindir}/trader
+
+%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
 
-%files lang -f %name.lang
-%defattr(-,root,root)
+%endif
+
+
+# ***********************************************************************
+# Package spec file information
 
 %changelog

++++++ trader-7.4-pre1.tar.gz -> trader-7.4-pre2.tar.gz ++++++
++++ 15120 lines of diff (skipped)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to