commit 592f0afd89ec2464d564d85aa58e1612d991f288
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Sun Jan 29 22:00:07 2023 +0100
- Update to 20.3.0
- Add AppStream metadata
- Switch to SPDX license identifiers
.gitignore | 1 +
kodi-pvr-dvblink.spec | 29 ++++++++++++++++++++++-------
sources | 2 +-
3 files changed, 24 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 99ff0ad..ab6cdef 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
/pvr.dvblink-9.0.1.tar.gz
/pvr.dvblink-9.1.0.tar.gz
/pvr.dvblink-9.1.2.tar.gz
+/pvr.dvblink-20.3.0.tar.gz
diff --git a/kodi-pvr-dvblink.spec b/kodi-pvr-dvblink.spec
index 417c932..59f995a 100644
--- a/kodi-pvr-dvblink.spec
+++ b/kodi-pvr-dvblink.spec
@@ -1,28 +1,30 @@
%global kodi_addon pvr.dvblink
-%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: 9.1.2
-Release: 4%{?dist}
+Version: 20.3.0
+Release: 1%{?dist}
Summary: Kodi's DVBLink client addon
-# Addon is GPLv2+. lib/dvblinkremote is MIT
-License: GPLv2+ and MIT
+# Addon is GPL-2.0-or-later. lib/dvblinkremote is MIT
+License: GPL-2.0-or-later AND MIT
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(tinyxml2)
Requires: kodi >= %{kodi_version}
Provides: bundled(dvblinkremote) = 0.2.0
-ExcludeArch: %{power64} ppc64le
+ExcludeArch: %{power64}
%description
%{summary}.
@@ -40,15 +42,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.3.0-1
+- Update to 20.3.0
+- Add AppStream metadata
+- Switch to SPDX license identifiers
+
* Sun Aug 07 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
1:9.1.2-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1
diff --git a/sources b/sources
index 6139038..f5b46ed 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pvr.dvblink-9.1.2.tar.gz) =
c9e5dc24475d3ec358852c213d2f2794fb926cd4fb2edec90c0c90cfba2a0d07f42526bfeb88c12c8c95446fbe7add76b2021f4a7f847a63776044097fc90aba
+SHA512 (pvr.dvblink-20.3.0.tar.gz) =
c1a9a91ed56eb0311a7486f6997d46e291a07aba45b2cf0e20fb6dcc67bdbd1e00e551f59f853e5826858a3bd266d36380c6f290a9447dd45a2e7589a8e5fd0d