commit d3be9f49462347113e849afa90ce9dad4c31dd1f
Author: Mohamed El Morabity <melmorabity(a)fedoraproject.org>
Date: Thu Aug 20 16:39:28 2020 +0200
Update to 3.2.0 (switch to Matrix branch)
.gitignore | 1 +
kodi-visualization-spectrum.spec | 28 ++++++++++++++++++----------
sources | 2 +-
3 files changed, 20 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3c9c40b..e63b7dc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/visualization.spectrum-2.0.2.tar.gz
/visualization.spectrum-2.0.3.tar.gz
+/visualization.spectrum-3.2.0.tar.gz
diff --git a/kodi-visualization-spectrum.spec b/kodi-visualization-spectrum.spec
index 44564d7..acb1c34 100644
--- a/kodi-visualization-spectrum.spec
+++ b/kodi-visualization-spectrum.spec
@@ -1,22 +1,24 @@
%global aname visualization.spectrum
-%global kodi_version 18.0
-
-%undefine __cmake_in_source_build
+%global kodi_version 19.0
+%global kodi_codename Matrix
Name: kodi-visualization-spectrum
-Version: 2.0.3
-Release: 4%{?dist}
+Version: 3.2.0
+Release: 1%{?dist}
Summary: Spectrum visualizer for Kodi
License: GPLv2+
URL:
https://github.com/xbmc/visualization.spectrum
-Source0: %{url}/archive/v%{version}/%{aname}-%{version}.tar.gz
+Source0: %{url}/archive/%{version}-%{kodi_codename}/%{aname}-%{version}.tar.gz
BuildRequires: cmake3
BuildRequires: gcc-c++
-BuildRequires: mesa-libGL-devel
-BuildRequires: mesa-libGLES-devel
-BuildRequires: mesa-libEGL-devel
BuildRequires: kodi-devel >= %{kodi_version}
+BuildRequires: pkgconfig(glm)
+%ifarch %{arm}
+BuildRequires: pkgconfig(opengles)
+%else
+BuildRequires: pkgconfig(opengl)
+%endif
Requires: kodi >= %{kodi_version}
@@ -25,8 +27,9 @@ ExcludeArch: %{power64}
%description
%{summary}.
+
%prep
-%setup -q -n %{aname}-%{version}
+%setup -q -n %{aname}-%{version}-%{kodi_codename}
# Fix spurious-executable-perm on debug package
find . -name '*.h' -or -name '*.cpp' | xargs chmod a-x
@@ -43,12 +46,17 @@ find . -name '*.h' -or -name '*.cpp' | xargs chmod
a-x
# Fix permissions at installation
find $RPM_BUILD_ROOT%{_datadir}/kodi/addons/ -type f -exec chmod 0644 {} \;
+
%files
%license COPYING
%{_libdir}/kodi/addons/%{aname}/
%{_datadir}/kodi/addons/%{aname}/
+
%changelog
+* Thu Aug 20 2020 Mohamed El Morabity <melmorabity(a)fedoraproject.org> - 3.2.0-1
+- Update to 3.2.0 (switch to Matrix branch)
+
* Tue Aug 18 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
2.0.3-4
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
diff --git a/sources b/sources
index c58c6b9..44d5247 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c7aace7b4c544d952ddc49ab4b2e6aad visualization.spectrum-2.0.3.tar.gz
+SHA512 (visualization.spectrum-3.2.0.tar.gz) =
1378a8f082bdb255c0c48875c87cec27c549525fa1a1f94f2d31c91bc3f70c2c50afb1063ba03fcc71d1948337ef85168f29c0edb8102e6be1eba82dfbc7377f