diff --git a/_service b/_service
new file mode 100644
index 0000000..dbf3c92
--- /dev/null
+++ b/_service
@@ -0,0 +1,16 @@
+
+
+ https://github.com/raysan5/raylib.git
+ 3.7.0
+ @PARENT_TAG@
+ git
+ examples
+
+
+
+
+
+ *.tar
+ xz
+
+
diff --git a/raylib-3.0.0-noexamples.patch b/raylib-3.0.0-noexamples.patch
deleted file mode 100644
index cd23246..0000000
--- a/raylib-3.0.0-noexamples.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -urEbw raylib-3.5.0/CMakeLists.txt raylib-3.5.0.new/CMakeLists.txt
---- raylib-3.5.0/CMakeLists.txt 2020-12-25 02:07:24.000000000 +0100
-+++ raylib-3.5.0.new/CMakeLists.txt 2021-01-04 15:42:23.762568448 +0100
-@@ -53,9 +53,4 @@
-
- add_subdirectory(src)
-
--if (${BUILD_EXAMPLES})
-- MESSAGE(STATUS "Building examples is enabled")
-- add_subdirectory(examples)
--endif()
--
- enable_testing()
diff --git a/raylib-3.7.0.obscpio b/raylib-3.7.0.obscpio
new file mode 100644
index 0000000..1eae98c
--- /dev/null
+++ b/raylib-3.7.0.obscpio
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ea9a87f8c482005a33125b794441a880f67689cf0ffcfa8559d101305f5dfaaa
+size 64661518
diff --git a/raylib-noexamples-3.5.0.tar.gz b/raylib-noexamples-3.5.0.tar.gz
deleted file mode 100644
index fd29ef9..0000000
--- a/raylib-noexamples-3.5.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e93a883071b9a027d6aa4174aebd5fd17afe16b67236712d6c17c1a9ecff7863
-size 4321069
diff --git a/raylib.changes b/raylib.changes
index eb1d14f..1742d75 100644
--- a/raylib.changes
+++ b/raylib.changes
@@ -1,3 +1,27 @@
+-------------------------------------------------------------------
+Wed May 19 09:27:56 UTC 2021 - Ferdinand Thiessen
+
+- Update to 3.7.0
+ * rlgl module for greater abstraction level. Now rlgl functionality
+ is self-contained in the module and used by higher-level layers,
+ * Multiple rlgl functions have been renamed for consistency
+ * A new API has been added, more comprehensive and better integrated
+ with raylib, the new stereo rendering can be combined with
+ RenderTexture and Shader API allowing the user to manage fbo and
+ distortion shader directly.
+ * New file access callbacks system.
+ * glTF animations support.
+ * raylib supports music streamming from memory data for all
+ supported file formats: WAV, OGG, MP3, FLAC, XM and MOD.
+ * Most raylib enums names and values names have been renamed for
+ consistency, now all value names start with the type of data
+ they represent.
+ * See: https://github.com/raysan5/raylib/blob/3.7.0/CHANGELOG
+- Drop raylib-3.0.0-noexamples.patch
+- Edit _service:
+ * Exclude examples as they are licensed under unsupported licenses
+ (Upstream does not provid the -noexamples package anymore)
+
-------------------------------------------------------------------
Mon Jan 4 14:46:21 UTC 2021 - Michael Vetter
diff --git a/raylib.obsinfo b/raylib.obsinfo
new file mode 100644
index 0000000..2175ab7
--- /dev/null
+++ b/raylib.obsinfo
@@ -0,0 +1,5 @@
+name: raylib
+version: 3.7.0
+mtime: 1619452833
+commit: b6c8d343dca2ef19c23c50975328a028124cf3cb
+
diff --git a/raylib.spec b/raylib.spec
index 067040f..60fc194 100644
--- a/raylib.spec
+++ b/raylib.spec
@@ -17,14 +17,13 @@
Name: raylib
-Version: 3.5.0
+Version: 3.7.0
Release: 0
Summary: C library for learning video game programming
License: Zlib
Group: Development/Libraries/C and C++
URL: http://www.raylib.com
-Source: https://github.com/raysan5/raylib/releases/download/%{version}/raylib-noexamples-%{version}.tar.gz
-Patch0: raylib-3.0.0-noexamples.patch
+Source: raylib-%{version}.tar.xz
BuildRequires: Mesa-libGL-devel
BuildRequires: cmake
BuildRequires: gcc-c++
@@ -54,28 +53,25 @@ Group: System/Libraries
A C library for learning video game programming.
%prep
-%setup -q -n raylib-3.5.0
-%patch0 -p1
+%setup -q
%build
%cmake \
- -DPLATFORM=Desktop \
- -DSHARED=ON
+ -DBUILD_EXAMPLES=OFF \
+ -DPLATFORM=Desktop \
+ -DSHARED=ON
%install
%cmake_install
-for f in build/src/*.h; do
- install -Dm 644 "$f" "$RPM_BUILD_ROOT/usr/include/$(basename $f)"
-done
%post -n libraylib351 -p /sbin/ldconfig
%postun -n libraylib351 -p /sbin/ldconfig
%files -n libraylib351
+%license LICENSE
%{_libdir}/libraylib.so.*
%files -n raylib-devel
-%license LICENSE
%doc CHANGELOG README.md
%{_includedir}/raylib.h
%{_includedir}/raudio.h