[vmmlib] New version
Jaroslav Škarvada
jskarvad at fedoraproject.org
Tue Dec 20 13:46:40 UTC 2011
commit c006e1fef1e8f9b9512938d4c15f22bd2926bc6e
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date: Tue Dec 20 14:46:24 2011 +0100
New version
.gitignore | 1 +
sources | 2 +-
vmmlib-test-fix.patch | 15 +++------------
vmmlib.spec | 20 +++++++-------------
4 files changed, 12 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bd7d757..d4121b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
vmmlib-*.tar.xz
+vmmlib_*.tgz
diff --git a/sources b/sources
index 04f8197..54c0a69 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-456a035f59699921fefb0083e655e13c vmmlib-20111214svn558.tar.xz
+486e7a9003d41e7de79c6d599f2fb6d1 vmmlib_1.0_rc1.tgz
diff --git a/vmmlib-test-fix.patch b/vmmlib-test-fix.patch
index 8914c18..38a626c 100644
--- a/vmmlib-test-fix.patch
+++ b/vmmlib-test-fix.patch
@@ -5,8 +5,8 @@ diff -up vmmlib-20111122svn540/Makefile.orig vmmlib-20111122svn540/Makefile
VMMLIB_UNIT_TESTS_OBJECTS = ${VMMLIB_UNIT_TESTS:%.cpp=%.o}
--CXXFLAGS += -I. -Iinclude
-+CXXFLAGS += -I. -Iinclude -Itests -include f2c.h -include f2c_fix.h -include stdint.h
+-CXXFLAGS += -I. -Iinclude -Itests -include stdint.h
++CXXFLAGS += -I. -Iinclude -Itests -include stdint.h -include f2c.h -include f2c_fix.h
+
+LBITS := $(shell getconf LONG_BIT)
+ifeq ($(LBITS),64)
@@ -16,17 +16,8 @@ diff -up vmmlib-20111122svn540/Makefile.orig vmmlib-20111122svn540/Makefile
+endif
+LDFLAGS += -L$(LIBDIR)/atlas -u MAIN__
+ # Mac OS X specific stuff
# on mac we want to use the frameworks, not the unix style libs
- ARCH = $(shell uname)
-@@ -38,7 +46,7 @@ LDFLAGS += -framework Accelerate
- LDFLAGS +=
-
- # adjust libs depending on your LAPACK and BLAS distribution
--LIBS += -lclapack -lf2c -lcblas
-+LIBS += -lclapack -lf2c -lcblas -llapack
- # LIBS += -llapack -lblas
-
-
diff --git a/tests/f2c_fix.h b/tests/f2c_fix.h
index 0e25758..6356519 100644
--- a/tests/f2c_fix.h
diff --git a/vmmlib.spec b/vmmlib.spec
index dfc2a82..edb5d9c 100644
--- a/vmmlib.spec
+++ b/vmmlib.spec
@@ -1,20 +1,11 @@
-%global snap_date 20111214
-%global svn_revision 558
-%global alphatag %{snap_date}svn%{svn_revision}
-
-# The source for this package was pulled from upstream's subversion (svn).
-# Use the following commands to generate the tarball (expand the macros):
-# svn export -r %%{svn_revision} http://vmmlib.svn.sourceforge.net/svnroot/vmmlib/trunk vmmlib-%%{alphatag}
-# tar -cJvf vmmlib-%%{alphatag}.tar.xz vmmlib-%%{alphatag}
-
Name: vmmlib
-Version: 0
-Release: 0.4.%{alphatag}%{?dist}
+Version: 1.0
+Release: 0.1.rc1
Summary: A vector and matrix math library implemented using C++ templates
Group: Development/Libraries
License: BSD
URL: http://vmmlib.sourceforge.net/
-Source0: %{name}-%{alphatag}.tar.xz
+Source0: %{name}_%{version}_rc1.tgz
# Fix for broken test-suite, tests that still fail have been disabled until
# there will be better fix
Patch0: vmmlib-test-fix.patch
@@ -40,7 +31,7 @@ More advanced functionality include solvers, frustum computations and frustum
culling classes, and spatial data structures.
%prep
-%setup -q -n %{name}-%{alphatag}
+%setup -c
%patch0 -p1 -b .test-fix
%build
@@ -60,6 +51,9 @@ mv include/vmmlib/{LICENSE,ACKNOWLEDGEMENTS} _tmpdoc/
%{_includedir}/vmmlib
%changelog
+* Tue Dec 20 2011 Jaroslav Škarvada <jskarvad at redhat.com> - 1.0-0.1.rc1
+- New version
+
* Tue Dec 13 2011 Jaroslav Škarvada <jskarvad at redhat.com> - 0-0.4.20111214svn558
- New svn snapshot that fixes cp3_tensor test
More information about the scm-commits
mailing list