diff --git a/README.md b/README.md index a114086..a050c5b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libeigen2 +Eigen is a C++ template library for linear algebra: vectors, matrices, and related algorithms. + diff --git a/libeigen2.spec b/libeigen2.spec new file mode 100644 index 0000000..f21d554 --- /dev/null +++ b/libeigen2.spec @@ -0,0 +1,64 @@ +Name: libeigen2 +Version: 2.0.17 +Release: 1mamba +Summary: A C++ template library for linear algebra +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://eigen.tuxfamily.org +Source: http://bitbucket.org/eigen/eigen/get/%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: doxygen +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Eigen is a C++ template library for linear algebra: vectors, matrices, and related algorithms. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Provides: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Eigen is a C++ template library for linear algebra: vectors, matrices, and related algorithms. +This package contains static libraries and header files need for development. + +%prep +%setup -q -c +mv eigen-eigen* eigen + +%build +cd eigen +%cmake -d build +%make +cd .. +make doc + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd eigen +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/eigen2 +%{_includedir}/eigen2/* +%{_datadir}/pkgconfig/eigen2.pc +%doc eigen/COPYING.LESSER + +%changelog +* Mon Dec 03 2012 Silvan Calarco 2.0.17-1mamba +- update to 2.0.17 + +* Fri Jul 17 2009 Automatic Build System 2.0.3-1mamba +- update to 2.0.3 + +* Fri May 29 2009 Davide Madrisan 2.0.2-1mamba +- package created by autospec