commit 7eead5d09c6bddc6a31d524e8df7c71e07809bd6
Author: Wade Berrier <wberrier(a)gmail.com>
Date: Mon Oct 23 22:31:02 2017 -0600
Minor cleanups from package submission code review
.gitignore | 1 +
kodi-peripheral-joystick.spec | 50 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 52 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2283809 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/peripheral.joystick-1.3.2.tar.gz
diff --git a/kodi-peripheral-joystick.spec b/kodi-peripheral-joystick.spec
new file mode 100644
index 0000000..0971d21
--- /dev/null
+++ b/kodi-peripheral-joystick.spec
@@ -0,0 +1,50 @@
+%global kodi_addon peripheral.joystick
+%global kodi_version 17.4
+%global kodi_platform_version 17.0
+
+Name: kodi-peripheral-joystick
+Version: 1.3.2
+Release: 2%{?dist}
+Summary: Joystick Peripheral addon for Kodi
+
+Group: Applications/Multimedia
+License: GPLv2+
+URL:
https://github.com/xbmc/%{kodi_addon}/
+Source0: %{url}/archive/%{kodi_addon}-%{version}.tar.gz
+
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: kodi-devel >= %{kodi_version}
+BuildRequires: kodi-platform-devel >= %{kodi_platform_version}
+BuildRequires: platform-devel
+Requires: kodi >= %{kodi_version}
+ExclusiveArch: i686 x86_64
+
+%description
+Joystick Peripheral Addon for Kodi
+
+
+%prep
+%autosetup -n %{kodi_addon}-%{version} -p0
+
+
+%build
+%cmake -DCMAKE_INSTALL_LIBDIR=%{_libdir}/kodi/ .
+%make_build
+
+
+%install
+%make_install
+
+
+%files
+%{_libdir}/kodi/addons/%{kodi_addon}/
+%{_datadir}/kodi/addons/%{kodi_addon}/
+
+
+%changelog
+* Sat Sep 16 2017 Wade Berrier <wberrier(a)gmail.com> - 1:1.3.2-2
+- Minor cleanups from package submission code review
+
+* Thu Aug 17 2017 Wade Berrier <wberrier(a)gmail.com> - 1:1.3.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..13455e8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f3c14ccd6fb4204ae701459869e514a2 peripheral.joystick-1.3.2.tar.gz