1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-09-15 17:28:07 -04:00

Update trader.spec to reflect the version distributed by Mageia

This commit is contained in:
John Zaitseff 2017-08-11 09:54:53 +10:00
parent 43a220203a
commit da1289e29a

View File

@ -14,17 +14,15 @@
Name: trader Name: trader
Version: 7.11 Version: 7.11
Release: %mkrel 1 Release: %mkrel 1
Summary: Star Trader, a simple game of interstellar trading Summary: A simple game of interstellar trading
License: GPLv3+ License: GPLv3+
Group: Games/Strategy Group: Games/Strategy
Url: http://www.zap.org.au/software/trader/ Url: http://www.zap.org.au/software/trader/
Source0: ftp://ftp.zap.org.au/pub/trader/unix/%{name}-%{version}.tar.xz Source0: ftp://ftp.zap.org.au/pub/trader/unix/%{name}-%{version}.tar.xz
BuildRequires: gcc
BuildRequires: gettext BuildRequires: gettext
BuildRequires: pkgconfig(ncurses)
BuildRequires: desktop-file-utils
BuildRequires: gperf BuildRequires: gperf
BuildRequires: ncurses-devel
%description %description
Star Traders is a simple game of interstellar trading, where the objective Star Traders is a simple game of interstellar trading, where the objective
@ -36,16 +34,15 @@ order to become the wealthiest player (the winner).
%build %build
%configure2_5x %configure2_5x
%make %make_build
%install %install
%make_install %make_install
%find_lang %{name} %find_lang %{name}
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files -f %{name}.lang %files -f %{name}.lang
%doc README NEWS COPYING %doc NEWS README
%{_bindir}/%{name} %{_bindir}/%{name}
%{_mandir}/man6/%{name}.6*
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.* %{_iconsdir}/hicolor/*/apps/%{name}.*
%{_mandir}/man6/%{name}.6*