mirror of
https://git.zap.org.au/git/trader.git
synced 2025-02-02 15:08:13 -05:00
Update the Fedora spec file for Star Traders v7.16
Include the new AppStream metadata file in the final package
This commit is contained in:
parent
0a17f115f3
commit
dc6c8f4523
10
trader.spec
10
trader.spec
@ -12,14 +12,14 @@
|
||||
# the GNU General Public License, version 3 or later.
|
||||
|
||||
Name: trader
|
||||
Version: 7.15
|
||||
Version: 7.16
|
||||
Release: 1%{?dist}
|
||||
Summary: Star Traders, a simple game of interstellar trading
|
||||
License: GPLv3+
|
||||
Url: https://www.zap.org.au/projects/trader/
|
||||
Source0: https://ftp.zap.org.au/pub/trader/unix/trader-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc make gettext pkgconfig(ncurses) desktop-file-utils gperf
|
||||
BuildRequires: gcc make gettext pkgconfig(ncurses) desktop-file-utils libappstream-glib gperf
|
||||
Provides: bundled(gnulib)
|
||||
|
||||
%description
|
||||
@ -40,6 +40,7 @@ order to become the wealthiest player (the winner).
|
||||
%make_install
|
||||
%find_lang %{name}
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc README NEWS
|
||||
@ -48,8 +49,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
%{_mandir}/man6/%{name}.6*
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
||||
%{_metainfodir}/%{name}.appdata.xml
|
||||
|
||||
%changelog
|
||||
* Wed Jan 20 2021 John Zaitseff <J.Zaitseff@zap.org.au> - 7.16-1
|
||||
- Updated the RPM package for a new release of Star Traders: version 7.16.
|
||||
- Added an AppStream-conforming metadata file.
|
||||
|
||||
* Tue Jan 12 2021 John Zaitseff <J.Zaitseff@zap.org.au> - 7.15-1
|
||||
- Updated the RPM package for a new release of Star Traders: version 7.15.
|
||||
- Added a dependency on make, as per current packaging guidelines.
|
||||
|
Loading…
x
Reference in New Issue
Block a user