1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-11-03 17:27:29 -05:00
trader/trader.spec
2017-06-18 07:22:59 +10:00

52 lines
1.5 KiB
RPMSpec

# ***********************************************************************
# * *
# * Star Traders: A Game of Interstellar Trading *
# * Copyright (C) 1990-2017, 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.
Name: trader
Version: 7.11
Release: %mkrel 1
Summary: Star Trader, a simple game of interstellar trading
License: GPLv3+
Group: Games/Strategy
Url: http://www.zap.org.au/software/trader/
Source0: ftp://ftp.zap.org.au/pub/trader/unix/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: pkgconfig(ncurses)
BuildRequires: desktop-file-utils
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
%build
%configure2_5x
%make
%install
%make_install
%find_lang %{name}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files -f %{name}.lang
%doc README NEWS COPYING
%{_bindir}/%{name}
%{_mandir}/man6/%{name}.6*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*