SPECS: eigen.spec (NEW) - initial
rotom
rotom at pld-linux.org
Sun Nov 2 12:32:21 CET 2008
Author: rotom Date: Sun Nov 2 11:32:21 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
eigen.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/eigen.spec
diff -u /dev/null SPECS/eigen.spec:1.1
--- /dev/null Sun Nov 2 12:32:21 2008
+++ SPECS/eigen.spec Sun Nov 2 12:32:15 2008
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+Summary: template library for linear algebra
+Name: eigen
+Version: 1.0.5
+Release: 0.1
+License: GPL v2
+Group: Libraries
+Source0: http://download.tuxfamily.org/eigen/%{name}-%{version}.tar.gz
+# Source0-md5: 960d7e5fb6542270eae4d53ca99b607c
+URL: http://eigen.tuxfamily.org/index.php?title=Main_Page
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Eigen is a lightweight C++ template library for vector and matrix
+math, a.k.a. linear algebra.
+
+%prep
+%setup -q -n %{name}
+
+%build
+mkdir build
+cd build
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+ ../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE TODO README
+%dir %{_includedir}/eigen
+%{_includedir}/eigen/*.h
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008/11/02 11:32:15 rotom
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list