eigen3/eigen3.spec

106 lines
3.2 KiB
RPMSpec
Raw Normal View History

Name: eigen3
2013-03-06 00:16:56 +00:00
Version: 3.1.2
Release: 1%{?dist}
Summary: A lightweight C++ template library for vector and matrix math
Group: Development/Libraries
License: LGPLv3+ or GPLv2+
URL: http://eigen.tuxfamily.org/index.php?title=Main_Page
2013-03-06 00:16:56 +00:00
# Source file is at: http://bitbucket.org/eigen/eigen/get/3.1.2.tar.bz2
# Renamed source file so it's not just a version number
Source0: eigen-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: atlas-devel
BuildRequires: fftw-devel
BuildRequires: glew-devel
BuildRequires: gmp-devel
BuildRequires: gsl-devel
BuildRequires: mpfr-devel
BuildRequires: sparsehash-devel
BuildRequires: suitesparse-devel
BuildRequires: cmake
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: tex(latex)
%description
2011-11-15 05:44:54 +00:00
%{summary}
%package devel
Summary: A lightweight C++ template library for vector and matrix math
Group: Development/Libraries
# -devel subpkg only atm, compat with other distros
Provides: %{name} = %{version}-%{release}
# not *strictly* a -static pkg, but the results are the same
Provides: %{name}-static = %{version}-%{release}
%description devel
%{summary}
%prep
2013-03-06 00:16:56 +00:00
%setup -q -n eigen-eigen-5097c01bcdc4
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%cmake .. -DBLAS_LIBRARIES="cblas" -DBLAS_LIBRARIES_DIR=%{_libdir}/atlas
popd
make -C %{_target_platform} %{?_smp_mflags}
make doc -C %{_target_platform} %{?_smp_mflags}
rm -f %{_target_platform}/doc/html/installdox
rm -f %{_target_platform}/doc/html/unsupported/installdox
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} -C %{_target_platform}
%clean
rm -rf %{buildroot}
%files devel
%defattr(-,root,root,-)
%doc COPYING.GPL COPYING.LGPL
%doc %{_target_platform}/doc/html
%{_includedir}/eigen3
%{_datadir}/pkgconfig/*
%changelog
2013-03-06 00:16:56 +00:00
* Sat Dec 01 2012 Rich Mattes <richmattes@gmail.com> - 3.1.2-1
- Update to release 3.1.2
* Sat Jul 28 2012 Tim Niemueller <tim@niemueller.de> - 3.0.6-1
- Update to release 3.0.6 (fixes GCC 4.7 warnings)
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-05-05 16:29:22 +00:00
* Sun Mar 11 2012 Rich Mattes <richmattes@gmail.com> - 3.0.5-1
- Update to release 3.0.5
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-12-19 03:12:03 +00:00
* Sun Dec 18 2011 Rich Mattes <richmattes@gmail.com> - 3.0.4-1
- Update to release 3.0.4
2011-11-15 05:44:54 +00:00
* Tue Nov 15 2011 Rich Mattes <richmattes@gmail.com> - 3.0.3-1
- Update to release 3.0.3
* Sun Apr 17 2011 Rich Mattes <richmattes@gmail.com> - 3.0.0-2
- Patched sources to fix build failure
- Removed fixes made upstream
- Added project name to source tarball filename
* Sat Mar 26 2011 Rich Mattes <richmattes@gmail.com> - 3.0.0-1
- Update to release 3.0.0
* Tue Jan 25 2011 Rich Mattes <richmattes@gmail.com> - 3.0-0.2.beta2
- Change blas-devel buildrequirement to atlas-devel
- Don't make the built-in experimental blas library
* Mon Jan 24 2011 Rich Mattes <richmattes@gmail.com> - 3.0-0.1.beta2
- Initial package