Install appdata file (#1018385)
This commit is contained in:
parent
3b32dda747
commit
f53dcefdd8
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<application>
|
||||
<id type="desktop">0ad.desktop</id>
|
||||
<licence>CC-BY-SA</licence>
|
||||
<description>
|
||||
<p>
|
||||
0 A.D. is a real-time strategy (RTS) game of ancient warfare.
|
||||
It's a historically-based war/economy game that allows players to relive
|
||||
or rewrite the history of twelve ancient civilizations, each depicted at
|
||||
their peak of economic growth and military prowess.
|
||||
</p>
|
||||
<p>
|
||||
The twelve factions are: Three of the Hellenic States (Athens, Sparta and
|
||||
Macedonia), two of the kingdoms of Alexander the Great's successors
|
||||
(Seleucids and Ptolemaic Egyptians), two Celtic tribes (Britons and
|
||||
Gauls), the Romans, the Persians, the Iberians, the Carthaginians, and the
|
||||
Mauryans.
|
||||
Each civilization is complete with substantially unique artwork,
|
||||
technologies and civilization bonuses.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">http://play0ad.com/</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">http://play0ad.com/wp-content/gallery/screenshots/screenshot0072.jpg</screenshot>
|
||||
<screenshot>http://play0ad.com/wp-content/gallery/screenshots/water-specular.jpg</screenshot>
|
||||
<screenshot>http://play0ad.com/wp-content/gallery/screenshots/screenshot0050.jpg</screenshot>
|
||||
<screenshot>http://play0ad.com/wp-content/gallery/screenshots/athenian_gymnasion.jpg</screenshot>
|
||||
</screenshots>
|
||||
<updatecontact>webmaster@wildfiregames.com</updatecontact>
|
||||
</application>
|
13
0ad.spec
13
0ad.spec
|
@ -25,7 +25,7 @@
|
|||
|
||||
Name: 0ad
|
||||
Version: 0.0.14
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
# BSD License:
|
||||
# build/premake/*
|
||||
# libraries/valgrind/* (not built/used)
|
||||
|
@ -69,6 +69,10 @@ Source1: %{name}-licensecheck.txt
|
|||
# version field and check for extra options. Note that windows specific,
|
||||
# and disabled options were not added to the manual page.
|
||||
Source2: %{name}.6
|
||||
|
||||
# http://trac.wildfiregames.com/ticket/2202
|
||||
Source3: http://trac.wildfiregames.com/browser/ps/trunk/build/resources/0ad.appdata.xml
|
||||
|
||||
Requires: %{name}-data = %{version}
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
|
@ -192,6 +196,9 @@ for name in nvcore nvimage nvmath nvtt; do
|
|||
done
|
||||
%endif
|
||||
|
||||
install -d -m 755 %{buildroot}%{_datadir}/appdata
|
||||
install -p -m 644 %{SOURCE3} %{buildroot}%{_datadir}/appdata
|
||||
|
||||
install -d -m 755 %{buildroot}%{_datadir}/applications
|
||||
install -p -m 644 build/resources/0ad.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
|
@ -227,11 +234,15 @@ export STRIP=/bin/true
|
|||
%{_bindir}/pyrogenesis%{dbg}
|
||||
%{_libdir}/%{name}
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%{_datadir}/appdata/0ad.appdata.xml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/%{name}
|
||||
%{_mandir}/man6/*.6*
|
||||
|
||||
%changelog
|
||||
* Sat Oct 12 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.0.14-2
|
||||
- Install appdata file (#1018385)
|
||||
|
||||
* Thu Sep 5 2013 pcpa <paulo.cesar.pereira.de.andrade@gmail.com> - 0.0.14-1
|
||||
- Update to latest upstream release
|
||||
|
||||
|
|
Loading…
Reference in New Issue