From 64f33331e8a1019eecad1b00930058e322950d75 Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Wed, 18 Jun 2014 14:57:36 +1000 Subject: [PATCH] Update trader.spec to reflect the version distributed by Mageia This version of trader.spec was downloaded from http://svnweb.mageia.org/packages/cauldron/trader/current/SPECS/trader.spec?revision=541394&view=co --- trader.spec | 67 +++++++++++++---------------------------------------- 1 file changed, 16 insertions(+), 51 deletions(-) diff --git a/trader.spec b/trader.spec index e20fa9c..93f5243 100644 --- a/trader.spec +++ b/trader.spec @@ -1,29 +1,15 @@ -# *********************************************************************** -# * * -# * Star Traders: A Game of Interstellar Trading * -# * Copyright (C) 1990-2012, John Zaitseff * -# * * -# *********************************************************************** - -# Author: John Zaitseff -# $Id: trader.spec 490 2012-10-03 09:14:03Z john $ - -# This file is distributed under the same licence as Star Traders itself: -# the GNU General Public License, version 3 or later. - - -Name: trader -Version: 7.4 -Release: 3%{?dist} -Summary: Star Traders, a simple game of interstellar trading -License: GPLv3+ -Group: Amusements/Games -Url: http://www.zap.org.au/software/trader/ -Source0: ftp://ftp.zap.org.au/pub/trader/unix/trader-%{version}.tar.gz - -BuildRequires: gettext ncurses-devel gperf -Provides: bundled(gnulib) +Name: trader +Version: 7.4 +Release: %mkrel 5 +Summary: A simple game of interstellar trading +License: GPLv3+ +Group: Games/Strategy +Url: http://www.zap.org.au/software/trader/ +Source0: http://www.zap.org.au/software/trader/unix/%{name}-%{version}.tar.gz +BuildRequires: gettext +BuildRequires: gperf +BuildRequires: ncurses-devel %description Star Traders is a simple game of interstellar trading, where the objective @@ -34,36 +20,15 @@ order to become the wealthiest player (the winner). %prep %setup -q - %build %configure -make %{?_smp_mflags} - +%make %install -make DESTDIR=%{buildroot} install +%makeinstall %find_lang %{name} - %files -f %{name}.lang -%doc COPYING NEWS README -%doc %{_mandir}/man6/trader.6* -%{_bindir}/trader - - -%changelog -* Wed Oct 03 2012 John Zaitseff - 7.4-3 -- Added a dependency on gperf: it may be required for gnulib. - -* Thu Sep 20 2012 John Zaitseff - 7.4-2 -- Simplified the RPM spec file to suit Fedora guidelines. - -* Wed May 09 2012 John Zaitseff - 7.4-1 -- Updated the RPM package for a new release of Star Traders: version 7.4. - -* Mon Apr 30 2012 John Zaitseff - 7.3.99.2-2 -- Changed the RPM spec file to remove OpenSUSE-specific sections - -* Mon Apr 16 2012 John Zaitseff - 7.3.99.2-1 -- Initial RPM package of Star Traders. - +%doc NEWS README +%{_bindir}/%{name} +%{_mandir}/man6/%{name}.6*