1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-11-03 17:27:29 -05:00

Add initial versions of RPM spec and changes files

This commit is contained in:
John Zaitseff 2012-04-16 10:29:18 +10:00
commit f6cb73affb
2 changed files with 59 additions and 0 deletions

6
trader.changes Normal file
View File

@ -0,0 +1,6 @@
-------------------------------------------------------------------
Mon Apr 16 10:12:00 EST 2012 - J.Zaitseff@zap.org.au
- Initial RPM package of Star Traders, a simple game of interstellar
trading.

53
trader.spec Normal file
View File

@ -0,0 +1,53 @@
# ***********************************************************************
# * *
# * Star Traders: A Game of Interstellar Trading *
# * Copyright (C) 1990-2012, John Zaitseff *
# * *
# ***********************************************************************
# Author: John Zaitseff <J.Zaitseff@zap.org.au>
# $Id$
# 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-pre2
Name: trader
#Version: %{real_version}
Version: 7.3.99.2
Release: 1%{?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/
#Source0: ftp://ftp.zap.org.au/pub/trader/unix/trader-%{real_version}.tar.bz2
Source0: ftp://ftp.zap.org.au/pub/trader/unix/prereleases/trader-%{real_version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ncurses-devel
BuildRequires: gperf
%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).
%prep
%setup -q -n %{name}-%{real_version}
%build
%configure
make %{?_smp_mflags} V=1
%install
rm -fr $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
%files
%doc COPYING NEWS README
%doc %{_mandir}/man6/trader.6*
%{_bindir}/trader
%changelog