commit f0b063819fe13d800bcff6c125e3ae82dc1d040c
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Mon Oct 2 21:32:21 2017 +0200
Update to 2.4.8
.gitignore | 2 ++
kodi-pvr-demo.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 71 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ca1734f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/kodi-pvr-demo-57a1c56.tar.gz
+/kodi-pvr-demo-07cb805.tar.gz
diff --git a/kodi-pvr-demo.spec b/kodi-pvr-demo.spec
new file mode 100644
index 0000000..5c446d8
--- /dev/null
+++ b/kodi-pvr-demo.spec
@@ -0,0 +1,68 @@
+%global commit 07cb80570600e3e9d01af67ca89c871ae81dea3a
+%global short_commit %(c=%{commit}; echo ${c:0:7})
+%global commit_date 20170704
+
+%global kodi_addon pvr.demo
+%global kodi_version 17.0
+
+Name: kodi-%(tr "." "-" <<<%{kodi_addon})
+# Use Epoch to manage upgrades from older upstream
+# (
https://github.com/opdenkamp/xbmc-pvr-addons/)
+Epoch: 1
+Version: 2.4.8
+Release: 1%{?dist}
+Summary: Demo PVR for Kodi
+
+Group: Applications/Multimedia
+License: GPLv2+
+URL:
https://github.com/kodi-pvr/%{kodi_addon}/
+Source0:
https://github.com/kodi-pvr/%{kodi_addon}/archive/%{short_commit}/%{name}...
+# GPLv2 license file
+Source1:
http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
+
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: kodi-devel >= %{kodi_version}
+BuildRequires: kodi-platform-devel >= %{kodi_version}
+BuildRequires: platform-devel
+Requires: kodi >= %{kodi_version}
+ExclusiveArch: i686 x86_64
+
+%description
+Demo PVR client.
+
+
+%prep
+%autosetup -n %{kodi_addon}-%{commit}
+
+cp -p %{SOURCE1} .
+
+
+%build
+%cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir}/kodi/ .
+%make_build
+
+
+%install
+%make_install
+
+
+%files
+%doc README.md
+%license gpl-2.0.txt
+%{_libdir}/kodi/addons/%{kodi_addon}/
+%{_datadir}/kodi/addons/%{kodi_addon}/
+
+
+%changelog
+* Mon Oct 02 2017 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 1:2.4.8-1
+- Update to 2.4.8
+
+* Sat Apr 29 2017 Mohamed El Morabity <melmorabity(a)fedorapeople.org> - 1:2.4.6-1
+- Update to latest stable release for Kodi 17
+
+* Sun Jul 24 2016 Mohamed El Morabity <melmorabity(a)fedoraproject.org> -
1:1.11.11-1
+- Update to latest stable release for Kodi 16
+
+* Mon Aug 24 2015 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 1:1.10.7-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..d7f7d24 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+19a3010f296f34fb00c65f18bb759a96 kodi-pvr-demo-07cb805.tar.gz