diff --git a/.gitignore b/.gitignore index e69de29..56ff18c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/gl-matrix-2.3.2.tar.gz diff --git a/js-gl-matrix.spec b/js-gl-matrix.spec new file mode 100644 index 0000000..97ba524 --- /dev/null +++ b/js-gl-matrix.spec @@ -0,0 +1,56 @@ + + +Name: js-gl-matrix +Version: 2.3.2 +Release: 4%{?dist} +Summary: Javascript module designed to perform vector and matrix operations very fast +BuildArch: noarch +License: MIT +URL: http://glmatrix.net/ +Source0: https://github.com/toji/gl-matrix/archive/v%{version}/gl-matrix-%{version}.tar.gz + +BuildRequires: web-assets-devel + +Requires: web-assets-filesystem + + +%description +glMatrix is designed to perform vector and matrix operations stupidly fast! +By hand-tuning each function for maximum performance and encouraging +efficient usage patterns through API conventions, glMatrix will help you get +the most out of your browsers Javascript engine. + +%prep +%setup -q -n gl-matrix-%{version} + +%build + +%install +%global installdir %{buildroot}%{_jsdir}/gl-matrix +mkdir -p %{installdir}/%{version} + +cp -pr dist/* %{installdir}/%{version} + +%files +%license LICENSE.md +%doc README.md VERSION +%{_jsdir}/gl-matrix + + +%changelog +* Sun Jun 05 2016 John Dulaney - 2.3.2-4 +- change install dir to gl-matrix + +* Sat Jun 04 2016 John Dulaney - 2.3.2-3 +- js-gl-matrix +- Add missing requires + +* Fri May 27 2016 John Dulaney - 2.3.2-2 +- cp -p -> cp -pr +- Better Summary +- Better Source0 + +* Wed May 25 2016 John Dulaney - 2.3.2-1 +- Initial Packaging + + diff --git a/sources b/sources index e69de29..fc00e50 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bea94f904f0a5b5635acd1a7ff33dbef gl-matrix-2.3.2.tar.gz