commit 0871fc5967025d7ae3b28c485ec5c9549594e326
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Sun Jan 29 21:24:38 2023 +0100
- Update to 20.5.0
- Add AppStream metadata
- Switch to SPDX license identifiers
.gitignore | 1 +
kodi-pvr-argustv.metainfo.xml | 11 +++++++++++
kodi-pvr-argustv.spec | 29 ++++++++++++++++++++++-------
sources | 2 +-
4 files changed, 35 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e85fe2d..d199a06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,4 @@
/pvr.argustv-7.0.0.tar.gz
/pvr.argustv-7.1.0.tar.gz
/pvr.argustv-7.1.2.tar.gz
+/pvr.argustv-20.5.0.tar.gz
diff --git a/kodi-pvr-argustv.metainfo.xml b/kodi-pvr-argustv.metainfo.xml
new file mode 100644
index 0000000..46da41b
--- /dev/null
+++ b/kodi-pvr-argustv.metainfo.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="addon">
+ <id>kodi-peripheral-joystick</id>
+ <extends>kodi.desktop</extends>
+ <name>ARGUS TV client</name>
+ <summary>Kodi frontend for the ARGUS TV PVR
https://www.argus-tv.com/</summary>
+ <url
type="homepage">https://github.com/kodi-pvr/pvr.argustv/<...
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0-or-later</project_license>
+ <update_contact>melmorabity(a)fedoraproject.org</update_contact>
+</component>
diff --git a/kodi-pvr-argustv.spec b/kodi-pvr-argustv.spec
index cb930e3..c593fd2 100644
--- a/kodi-pvr-argustv.spec
+++ b/kodi-pvr-argustv.spec
@@ -1,25 +1,27 @@
%global kodi_addon pvr.argustv
-%global kodi_version 18.0
-%global kodi_codename Matrix
+%global kodi_version 20
+%global kodi_codename Nexus
Name: kodi-%(tr "." "-" <<<%{kodi_addon})
# Use Epoch to manage upgrades from older upstream
# (
https://github.com/opdenkamp/xbmc-pvr-addons/)
Epoch: 1
-Version: 7.1.2
-Release: 4%{?dist}
+Version: 20.5.0
+Release: 1%{?dist}
Summary: ArgusTV PVR for Kodi
-License: GPLv2+
+License: GPL-2.0-or-later
URL:
https://github.com/kodi-pvr/%{kodi_addon}/
Source0:
%{url}/archive/%{version}-%{kodi_codename}/%{kodi_addon}-%{version}.tar.gz
+Source1: %{name}.metainfo.xml
BuildRequires: cmake3
BuildRequires: gcc-c++
BuildRequires: kodi-devel >= %{kodi_version}
+BuildRequires: libappstream-glib
BuildRequires: pkgconfig(jsoncpp)
Requires: kodi >= %{kodi_version}
-ExcludeArch: %{power64} ppc64le
+ExcludeArch: %{power64}
%description
%{summary}.
@@ -31,7 +33,7 @@ ExcludeArch: %{power64} ppc64le
%build
#
https://gitlab.kitware.com/cmake/cmake/issues/17555#note_355574
-export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
+# export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
%cmake3
%cmake3_build
@@ -39,15 +41,28 @@ export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
%install
%cmake3_install
+# Install AppData file
+install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_metainfodir}/%{name}.metainfo.xml
+
+
+%check
+appstream-util validate-relax --nonet
$RPM_BUILD_ROOT%{_metainfodir}/%{name}.metainfo.xml
+
%files
%doc README.md %{kodi_addon}/changelog.txt
%license LICENSE.md
%{_libdir}/kodi/addons/%{kodi_addon}/
%{_datadir}/kodi/addons/%{kodi_addon}/
+%{_metainfodir}/%{name}.metainfo.xml
%changelog
+* Sun Jan 29 2023 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 1:20.5.0-1
+- Update to 20.5.0
+- Add AppStream metadata
+- Switch to SPDX license identifiers
+
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
1:7.1.2-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
diff --git a/sources b/sources
index a4833c6..091b5dc 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pvr.argustv-7.1.2.tar.gz) =
980786c37e1c28e3d8cbe53ef1a9bcdd0dee585bdfe2654154a571d5b9f48b8139f3acc9e3cab06302900ec933f2525875b99ca8ad562ff137a94db875bef59b
+SHA512 (pvr.argustv-20.5.0.tar.gz) =
bcbe6564b7e81431d7862592a2b937113c7fd4e0d09dd3046f17d41c19add4b2f17f8ea566e14c3b5643b5ff6a1b786c6cbb36b3d5fbe3b3be26395a9fca38bb