|
|
|
@ -3,12 +3,15 @@
|
|
|
|
|
|
|
|
|
|
Name: glm
|
|
|
|
|
Version: 0.9.5.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: C++ mathematics library for graphics programming
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://glm.g-truc.net/
|
|
|
|
|
Source0: http://downloads.sourceforge.net/ogl-math/%{name}-%{version}/%{name}-%{version}.zip
|
|
|
|
|
Patch0: glm-0.9.5.2-smallercount.patch
|
|
|
|
|
Patch1: glm-0.9.5.2-aliasfix.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -70,6 +73,9 @@ sed -i 's/\r//' readme.txt
|
|
|
|
|
sed -i 's/\r//' doc/api/doxygen.css
|
|
|
|
|
sed -i 's/\r//' doc/api/tabs.css
|
|
|
|
|
|
|
|
|
|
%patch0 -p1 -b .smallercount
|
|
|
|
|
%patch1 -p1 -b .aliasfix
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
mkdir build
|
|
|
|
|
cd build
|
|
|
|
@ -79,7 +85,9 @@ make %{?_smp_mflags}
|
|
|
|
|
%check
|
|
|
|
|
cd build
|
|
|
|
|
|
|
|
|
|
ctest %{_smp_mflags} --output-on-failure
|
|
|
|
|
# The packing test is disabled because it has never
|
|
|
|
|
# worked on i686.
|
|
|
|
|
ctest --output-on-failure -E test-gtc_packing
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
cd build
|
|
|
|
@ -97,6 +105,11 @@ find $RPM_BUILD_ROOT -name CMakeLists.txt -exec rm -f {} ';'
|
|
|
|
|
%doc doc/api/
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Jun 23 2014 Joonas Sarajärvi <muep@iki.fi> - 0.9.5.2-3
|
|
|
|
|
- Reduce test array size to avoid memory allocation failure in tests
|
|
|
|
|
- Resolve a number of aliasing warnings
|
|
|
|
|
- Disable the packing test
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.5.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|