diff --git a/pcsxr-appdata.patch b/pcsxr-appdata.patch deleted file mode 100644 index b18da23..0000000 --- a/pcsxr-appdata.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/data/pcsxr.appdata.xml -+++ b/data/pcsxr.appdata.xml -@@ -0,0 +1,18 @@ -+ -+ -+ pcsxr.desktop -+ GPLv2+ -+ GPLv2+ -+ PCSXR -+ A plugin based PlayStation (PSX) emulator with high compatibility -+ -+

-+ PCSX-Reloaded is an advanced PlayStation (PSX) emulator, which uses a plugin -+ architecture to provide full support for all components of the PSX. It has full -+ emulation support for game pads, videos, sound, memory cards, and other -+ important PSX components, and is able to play many games without problems. -+

-+
-+ http://pcsxr.codeplex.com/ -+ http://pcsxr.codeplex.com/workitem/list/basic -+
diff --git a/pcsxr.appdata.xml b/pcsxr.appdata.xml new file mode 100644 index 0000000..a9f89dd --- /dev/null +++ b/pcsxr.appdata.xml @@ -0,0 +1,20 @@ + + + + pcsxr.desktop + CC-BY-SA-3.0 + GPL-2.0 + PCSXR + A plugin based PlayStation (PSX) emulator with high compatibility + +

+ PCSX-Reloaded is an advanced PlayStation (PSX) emulator, which uses a plugin + architecture to provide full support for all components of the PSX. It has full + emulation support for game pads, videos, sound, memory cards, and other + important PSX components, and is able to play many games without problems. +

+
+ http://pcsxr.codeplex.com/ + http://pcsxr.codeplex.com/workitem/list/basic + alexjnewt_at_hotmail.com +
diff --git a/pcsxr.spec b/pcsxr.spec index 57186b1..5e5f2fc 100644 --- a/pcsxr.spec +++ b/pcsxr.spec @@ -2,7 +2,7 @@ %undefine _hardened_build Name: pcsxr Version: 1.9.94 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A plugin based PlayStation (PSX) emulator with high compatibility #All is GPLv2+ except: @@ -13,12 +13,12 @@ License: GPLv2+ and BSD and Public Domain Url: http://pcsxr.codeplex.com/ #The source can be downloaded here (1.9.94 is a snapshot of svn 87788): #https://pcsxr.codeplex.com/downloads/get/756488 -Source: https://pcsxr.codeplex.com/downloads/get/756488#/%{name}-%{svnversion}.zip -#Patch for appdata -Patch0: %{name}-appdata.patch +Source0: https://pcsxr.codeplex.com/downloads/get/756488#/%{name}-%{svnversion}.zip +#Appdata: +Source1: %{name}.appdata.xml #Missing include, bug filed upstream: #https://pcsxr.codeplex.com/workitem/12408 -Patch1: %{name}-%{version}-missinginclude.patch +Patch0: %{name}-%{version}-missinginclude.patch BuildRequires: SDL2-devel BuildRequires: gtk3-devel @@ -60,7 +60,7 @@ desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ data/%{name}.desktop #Install appdata.xml and verify -install -p -D -m 0644 data/%{name}.appdata.xml \ +install -p -D -m 0644 %{SOURCE1} \ %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml appstream-util validate-relax --nonet \ %{buildroot}/%{_datadir}/appdata/*.appdata.xml @@ -82,6 +82,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';' %{_datadir}/appdata/*.appdata.xml %changelog +* Thu Dec 22 2016 Jeremy Newton - 1.9.94-8 +- Appdata fixes + * Sun Dec 4 2016 Jeremy Newton - 1.9.94-7 - Added patch for missing include