commit a6842fa3d4c8b86fab09e99cc08f381135038aa0
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Sun Jan 29 23:47:16 2023 +0100
- Update to 20.6.1
- Add AppStream metadata
- Switch to SPDX license identifiers
.gitignore | 1 +
kodi-pvr-iptvsimple.metainfo.xml | 11 +++++++++++
kodi-pvr-iptvsimple.spec | 30 ++++++++++++++++++++++++------
sources | 2 +-
4 files changed, 37 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2ecd2df..c54f47f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@
/pvr.iptvsimple-7.0.0.tar.gz
/pvr.iptvsimple-7.3.0.tar.gz
/pvr.iptvsimple-7.6.7.tar.gz
+/pvr.iptvsimple-20.6.1.tar.gz
diff --git a/kodi-pvr-iptvsimple.metainfo.xml b/kodi-pvr-iptvsimple.metainfo.xml
new file mode 100644
index 0000000..7cc1609
--- /dev/null
+++ b/kodi-pvr-iptvsimple.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>Joystick Support</name>
+ <summary>Kodi Joystick Library</summary>
+ <url
type="homepage">https://github.com/xbmc/peripheral.joystick/...
+ <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-iptvsimple.spec b/kodi-pvr-iptvsimple.spec
index 6f3878c..420db5c 100644
--- a/kodi-pvr-iptvsimple.spec
+++ b/kodi-pvr-iptvsimple.spec
@@ -1,27 +1,32 @@
%global kodi_addon pvr.iptvsimple
-%global kodi_version 19.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.6.7
-Release: 4%{?dist}
+Version: 20.6.1
+Release: 1%{?dist}
Summary: Simple IPTV 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(pugixml)
BuildRequires: pkgconfig(zlib)
BuildRequires: xz-devel
Requires: kodi >= %{kodi_version}
-ExcludeArch: %{power64} ppc64le
+Requires: kodi-inputstream-adaptive%{?_isa} >= %{kodi_version}
+Requires: kodi-inputstream-ffmpegdirect%{?_isa} >= %{kodi_version}
+Requires: kodi-inputstream-rtmp%{?_isa} >= %{kodi_version}
+ExcludeArch: %{power64}
%description
%{summary}.
@@ -39,15 +44,28 @@ ExcludeArch: %{power64} ppc64le
%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.6.1-1
+- Update to 20.6.1
+- Add AppStream metadata
+- Switch to SPDX license identifiers
+
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
1:7.6.7-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
diff --git a/sources b/sources
index 268cd7e..f30a108 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pvr.iptvsimple-7.6.7.tar.gz) =
ba9d70da83cb503f30027b2d57941f84a13b335596d085cc59a1dc61ce05e08735c6dd260fc17ac9175035a5928f211d045a8da462e323f6e9d7ed852eeede95
+SHA512 (pvr.iptvsimple-20.6.1.tar.gz) =
0cd1e3a7c08f8fd2d28f75f82db4611f2cf306ed92ccb802dc30d39f8ce6a235e7502797d2a14c719e3eb93146210bc66300815f0c05b3921adfc719b299091e