diff --git a/.gitignore b/.gitignore index 58b3440..9f77c41 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ /glm-0.9.8.3.zip /glm-0.9.8.4.zip /glm-0.9.8.5.zip +/glm-0.9.9.0.zip +/glm-0.9.9.2.zip diff --git a/glm.spec b/glm.spec index 3f92210..a6a2a01 100644 --- a/glm.spec +++ b/glm.spec @@ -2,17 +2,13 @@ %global debug_package %{nil} Name: glm -Version: 0.9.8.5 -Release: 3%{?dist} +Version: 0.9.9.2 +Release: 1%{?dist} Summary: C++ mathematics library for graphics programming License: MIT URL: http://glm.g-truc.net/ Source0: https://github.com/g-truc/glm/releases/download/%{version}/%{name}-%{version}.zip -Patch0: glm-0.9.6.1-ulp.patch - -# https://github.com/g-truc/glm/commit/dd48b56e44d699a022c69155c8672caacafd9e8a -Patch1: glm-0.9.8.5-compiler-list.patch BuildRequires: gcc BuildRequires: gcc-c++ @@ -65,7 +61,7 @@ a programming manual for the %{name}-devel package. # Also it looks like some versions get shipped with a common # directory in archive root, but with an unusual name for the # directory. In this case, use the -n option of the setup macro. -%setup -q -n glm +%setup -q # A couple of files had CRLF line-ends in them. # Check with rpmlint after updating the package that we are not @@ -73,7 +69,6 @@ a programming manual for the %{name}-devel package. # # This release of glm seems to have shipped with no CRLF file # endings at all, so these are commented out. -sed -i 's/\r//' copying.txt sed -i 's/\r//' readme.md sed -i 's/\r//' doc/api/doxygen.css sed -i 's/\r//' doc/api/dynsections.js @@ -87,10 +82,6 @@ sed -i 's/\r//' glm/simd/platform.h sed -i 's/\r//' test/core/core_setup_message.cpp - -%patch0 -p1 -b .ulp -%patch1 -p1 -b .compiler-list - %build mkdir build cd build @@ -123,17 +114,19 @@ rmdir $RPM_BUILD_ROOT%{_libdir} # as an alternative to having glm-devel depending on cmake and pkg-config # https://fedoraproject.org/wiki/Packaging:Guidelines#The_directory_is_owned_by_a_package_which_is_not_required_for_your_package_to_function %files devel -%doc copying.txt readme.md +%doc readme.md %{_includedir}/%{name} %{_datadir}/cmake %{_datadir}/pkgconfig/ %files doc -%doc copying.txt -%doc doc/%{name}.pdf +%doc doc/manual.pdf %doc doc/api/ %changelog +* Thu Oct 11 2018 Joonas Sarajärvi - 0.9.9.2-1 +- Update to upstream GLM version 0.9.9.2 + * Fri Jul 13 2018 Fedora Release Engineering - 0.9.8.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 3dbf2cc..124ba28 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (glm-0.9.8.5.zip) = 8a0213c08722641f4ff419e7d704478f23f901f0332596bdb55282d7f7746258e227bfef5a6a3ee70c0db82f7f089dceeb5131d2ad0dc56d360453c71b46467f +SHA512 (glm-0.9.9.2.zip) = b63c95dab1f19b39e1f5cc938d73b1a199a287007c63445377bba558c4a09b3b804a9a654553471e2acecbf8b73f44c0fe8ec4d6cd9a5880390ff8f7128e3879