eigen/tvmet-1.7.1/tvmet.spec.in
Benoit Jacob 3036eeca0a Starting Eigen 2 development. The current plan is to use the last
release of tvmet (inactive for 2 years and developer unreachable) as the
basis for eigen2, because it provides seemingly good expression template
mechanisms, we want that, and it would take years to reinvent that
wheel. We'll see. So this commit imports the last tvmet release.
2007-05-30 06:24:51 +00:00

50 lines
1.1 KiB
RPMSpec

%define RELEASE 1
%define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
%define lib_name tvmet
Name: @PACKAGE@
Version: @VERSION@
Release: %rel
Summary: Tiny Vector Matrix library using Expression Templates
Copyright: LGPL
Group: Development/Libraries
Vendor: The TVMET Project
Packager: Olaf Petzold
Url: http://tvmet.sourceforge.net/
Source: ftp://download.sourceforge.net/pub/sourceforge/tvmet/%name-%version.tar.gz
Prefix: %_prefix
BuildRoot: %_tmppath/%name-%version-root
%description
Tiny Template Matrix Library is an expression template matrix and vector
library for fast calculations in C++. This make it fast for small (tiny)
linear algebraic systems.
%prep
rm -rf $RPM_BUILD_ROOT
%setup
./configure --prefix=%{prefix} --enable-docs --enable-optimize
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,755)
%doc AUTHORS COPYING LICENSE INSTALL NEWS README THANKS ChangeLog doc/html/*
%attr(755,root,root) %prefix/bin/tvmet-config
%prefix/include/tvmet/*
%prefix/man/*
%prefix/share/aclocal/