|
|
eececc1 |
Name: armadillo
|
|
|
90a3a5e |
Version: 6.700.6
|
|
|
a2b37a3 |
Release: 1%{?dist}
|
|
|
eececc1 |
Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS
|
|
|
eececc1 |
|
|
|
eececc1 |
Group: Development/Libraries
|
|
|
e8a9388 |
License: MPLv2.0
|
|
|
eececc1 |
URL: http://arma.sourceforge.net/
|
|
root |
70f6c71 |
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.gz
|
|
|
eececc1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
f2e3c97 |
BuildRequires: cmake, blas-devel, lapack-devel, atlas-devel, arpack-devel, hdf5-devel
|
|
|
a2b37a3 |
%if 0%{?fedora} > 23
|
|
|
6d482ee |
BuildRequires: SuperLU43-devel
|
|
|
a2b37a3 |
%else
|
|
|
a2b37a3 |
BuildRequires: SuperLU-devel
|
|
|
a2b37a3 |
%endif
|
|
|
eececc1 |
|
|
|
eececc1 |
%description
|
|
|
eececc1 |
Armadillo is a C++ linear algebra library (matrix maths)
|
|
|
eececc1 |
aiming towards a good balance between speed and ease of use.
|
|
|
eececc1 |
Integer, floating point and complex numbers are supported,
|
|
|
eececc1 |
as well as a subset of trigonometric and statistics functions.
|
|
|
eececc1 |
Various matrix decompositions are provided through optional
|
|
|
eececc1 |
integration with LAPACK and ATLAS libraries.
|
|
|
eececc1 |
A delayed evaluation approach is employed (during compile time)
|
|
|
e56099b |
to combine several operations into one and reduce (or eliminate)
|
|
|
eececc1 |
the need for temporaries. This is accomplished through recursive
|
|
|
eececc1 |
templates and template meta-programming.
|
|
|
eececc1 |
This library is useful if C++ has been decided as the language
|
|
|
eececc1 |
of choice (due to speed and/or integration capabilities), rather
|
|
|
eececc1 |
than another language like Matlab or Octave.
|
|
|
eececc1 |
|
|
|
eececc1 |
|
|
|
eececc1 |
%package devel
|
|
|
eececc1 |
Summary: Development headers and documentation for the Armadillo C++ library
|
|
|
eececc1 |
Group: Development/Libraries
|
|
|
eececc1 |
Requires: %{name} = %{version}-%{release}
|
|
|
f2e3c97 |
Requires: blas-devel, lapack-devel, atlas-devel, arpack-devel, hdf5-devel, libstdc++-devel
|
|
|
a2b37a3 |
%if 0%{?fedora} > 23
|
|
|
a2b37a3 |
BuildRequires: SuperLU43-devel
|
|
|
a2b37a3 |
%else
|
|
|
a2b37a3 |
BuildRequires: SuperLU-devel
|
|
|
a2b37a3 |
%endif
|
|
|
a2b37a3 |
|
|
|
eececc1 |
|
|
|
eececc1 |
%description devel
|
|
|
eececc1 |
This package contains files necessary for development using the
|
|
|
eececc1 |
Armadillo C++ library. It contains header files, example programs,
|
|
|
89f2c80 |
and user documentation (API reference guide).
|
|
|
eececc1 |
|
|
|
eececc1 |
|
|
|
eececc1 |
%prep
|
|
|
eececc1 |
%setup -q
|
|
|
eececc1 |
|
|
|
a2b37a3 |
%if 0%{?fedora} > 23
|
|
|
6d482ee |
# fix for building using SuperLU43
|
|
|
6d482ee |
sed -i 's/\/usr\/include\/SuperLU\//\/usr\/include\/SuperLU43\//' cmake_aux/Modules/ARMA_FindSuperLU.cmake
|
|
|
6d482ee |
sed -i 's/NAMES superlu/NAMES superlu43/' cmake_aux/Modules/ARMA_FindSuperLU.cmake
|
|
|
a2b37a3 |
%endif
|
|
|
6d482ee |
|
|
|
eececc1 |
# convert DOS end-of-line to UNIX end-of-line
|
|
|
eececc1 |
|
|
|
eececc1 |
for file in README.txt; do
|
|
|
eececc1 |
sed 's/\r//' $file >$file.new && \
|
|
|
eececc1 |
touch -r $file $file.new && \
|
|
|
eececc1 |
mv $file.new $file
|
|
|
eececc1 |
done
|
|
|
eececc1 |
|
|
|
eececc1 |
%build
|
|
|
eececc1 |
%{cmake}
|
|
|
eececc1 |
%{__make} VERBOSE=1 %{?_smp_mflags}
|
|
|
eececc1 |
|
|
|
eececc1 |
|
|
|
eececc1 |
%install
|
|
|
eececc1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
eececc1 |
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
|
eececc1 |
rm -f examples/Makefile.cmake
|
|
|
89f2c80 |
rm -f examples/example1_win64.sln
|
|
|
89f2c80 |
rm -f examples/example1_win64.vcxproj
|
|
|
89f2c80 |
rm -f examples/example1_win64.README.txt
|
|
|
89f2c80 |
rm -rf examples/lib_win64
|
|
|
68e9627 |
|
|
|
eececc1 |
|
|
|
eececc1 |
%clean
|
|
|
eececc1 |
rm -rf $RPM_BUILD_ROOT
|
|
|
eececc1 |
|
|
|
eececc1 |
|
|
|
eececc1 |
%post -p /sbin/ldconfig
|
|
|
eececc1 |
|
|
|
eececc1 |
%postun -p /sbin/ldconfig
|
|
|
eececc1 |
|
|
|
eececc1 |
|
|
|
eececc1 |
%files
|
|
|
eececc1 |
%{_libdir}/*.so.*
|
|
|
6c824c1 |
%license LICENSE.txt
|
|
|
eececc1 |
|
|
|
eececc1 |
%files devel
|
|
|
eececc1 |
%{_libdir}/*.so
|
|
|
eececc1 |
%{_includedir}/armadillo
|
|
|
eececc1 |
%{_includedir}/armadillo_bits/
|
|
root |
70f6c71 |
%{_datadir}/Armadillo/
|
|
|
68e9627 |
%doc README.txt index.html docs.html
|
|
|
f2e3c97 |
%doc examples armadillo_icon.png
|
|
|
b3cfc4a |
%doc armadillo_nicta_2010.pdf rcpp_armadillo_csda_2014.pdf
|
|
|
f2e3c97 |
%doc mex_interface
|
|
|
eececc1 |
|
|
|
eececc1 |
%changelog
|
|
|
90a3a5e |
* Sat May 7 2016 José Matos <jamatos@fedoraproject.org> - 6.700.6-1
|
|
|
90a3a5e |
- update to 6.700.6
|
|
|
90a3a5e |
|
|
|
a2b37a3 |
* Fri Apr 15 2016 José Matos <jamatos@fedoraproject.org> - 6.700.4-1
|
|
|
a2b37a3 |
- update to 6.700.4
|
|
|
a2b37a3 |
- superlu43 is only required for Fedora >= 24
|
|
|
a2b37a3 |
|
|
|
6d482ee |
* Tue Mar 29 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 6.600.4-3
|
|
|
6d482ee |
- Add SuperLU43 (compat package) as dep
|
|
|
6d482ee |
- Fix cmake files for building against SuperLU43
|
|
|
6d482ee |
|
|
|
48308f4 |
* Sat Mar 26 2016 Mukundan Ragavan <nonamedotc@gmail.com> - 6.600.4-2
|
|
|
48308f4 |
- Rebuild for SuperLU soname bump (libsuperlu.so.5.1)
|
|
|
48308f4 |
|
|
|
ad81ee8 |
* Tue Mar 15 2016 José Matos <jamatos@fedoraproject.org> - 6.600.4-1
|
|
|
ad81ee8 |
- update to 6.600.4
|
|
|
ad81ee8 |
|
|
|
f9c5b2f |
* Fri Feb 12 2016 José Matos <jamatos@fedoraproject.org> - 6.500.5-1
|
|
|
f9c5b2f |
- update to 6.500.5
|
|
|
f9c5b2f |
|
|
|
fc823fe |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.500.4-2
|
|
|
fc823fe |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
fc823fe |
|
|
|
5d9d475 |
* Tue Jan 26 2016 José Matos <jamatos@fedoraproject.org> - 6.500.4-1
|
|
|
5d9d475 |
- update to 6.500.4
|
|
|
5d9d475 |
- cleaned spec file: removed %%defattr not needed in any supported
|
|
|
5d9d475 |
version of fedora or epel
|
|
|
5d9d475 |
|
|
|
5986e27 |
* Mon Sep 14 2015 José Matos <jamatos@fedoraproject.org> - 5.600.2-1
|
|
|
5986e27 |
- update to 5.600.2
|
|
|
5986e27 |
|
|
|
6c824c1 |
* Mon Aug 3 2015 José Matos <jamatos@fedoraproject.org> - 5.300.4-1
|
|
|
6c824c1 |
- update to 5.300.4
|
|
|
6c824c1 |
- add %%license tag
|
|
|
6c824c1 |
|
|
|
e64f838 |
* Fri Jul 3 2015 José Matos <jamatos@fedoraproject.org> - 5.200.2-2
|
|
|
e64f838 |
- add requires:SuperLU-devel to -devel subpackage
|
|
|
e64f838 |
|
|
|
415196b |
* Thu Jul 2 2015 José Matos <jamatos@fedoraproject.org> - 5.200.2-1
|
|
|
415196b |
- update to 5.200.2
|
|
|
415196b |
- add BR SuperLU-devel, required on version 5+
|
|
|
415196b |
|
|
|
a21fc5b |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.650.2-3
|
|
|
a21fc5b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
a21fc5b |
|
|
|
58814d5 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 4.650.2-2
|
|
|
58814d5 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
58814d5 |
|
|
|
ebc9d72 |
* Fri Feb 27 2015 José Matos <jamatos@fedoraproject.org> - 4.650.2-1
|
|
|
ebc9d72 |
- update to 4.650.2
|
|
|
ebc9d72 |
|
|
|
e0ec65d |
* Fri Feb 13 2015 José Matos <jamatos@fedoraproject.org> - 4.600.4-1
|
|
|
e0ec65d |
- update to 4.600.4
|
|
|
e0ec65d |
|
|
Ryan Curtin |
9c05581 |
* Fri Dec 5 2014 Ryan Curtin <ryan@ratml.org> - 4.550.2-1
|
|
Ryan Curtin |
9c05581 |
- update to 4.550.2 for gcc 4.4 bug which is only relevant on EL6
|
|
Ryan Curtin |
9c05581 |
|
|
|
6b9e743 |
* Fri Nov 28 2014 José Matos <jamatos@fedoraproject.org> - 4.550.0-1
|
|
|
6b9e743 |
- update to 4.550.0
|
|
|
6b9e743 |
|
|
|
c482706 |
* Fri Nov 14 2014 José Matos <jamatos@fedoraproject.org> - 4.500.0-1
|
|
|
c482706 |
- update to 4.500.0
|
|
|
c482706 |
|
|
|
b32488e |
* Tue Sep 23 2014 José Matos <jamatos@fedoraproject.org> - 4.450.0-1
|
|
|
b32488e |
- update to 4.450.0
|
|
|
b32488e |
|
|
|
32e0144 |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.320.0-2
|
|
|
32e0144 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
32e0144 |
|
|
|
180fc8f |
* Fri Jul 4 2014 José Matos <jamatos@fedoraproject.org> - 4.320.0-1
|
|
|
180fc8f |
- update to 4.320.0
|
|
|
180fc8f |
|
|
|
eaff3d5 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.300.0-3
|
|
|
eaff3d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
eaff3d5 |
|
|
|
f2e3c97 |
* Sun May 4 2014 José Matos <jamatos@fedoraproject.org> - 4.300.0-2
|
|
|
180fc8f |
- add hdf5-devel as build requirement and also as required for the
|
|
|
180fc8f |
-devel sub-package
|
|
|
f2e3c97 |
|
|
|
5396780 |
* Fri May 2 2014 José Matos <jamatos@fedoraproject.org> - 4.300.0-1
|
|
|
5396780 |
- update to 4.300.0
|
|
|
5396780 |
|
|
|
6e76190 |
* Wed Apr 9 2014 José Matos <jamatos@fedoraproject.org> - 4.200.0-1
|
|
|
6e76190 |
- update to 4.200.0
|
|
|
6e76190 |
|
|
|
880d661 |
* Fri Mar 14 2014 José Matos <jamatos@fedoraproject.org> - 4.100.2-1
|
|
|
880d661 |
- update to 4.100.2
|
|
|
880d661 |
|
|
|
d22d934 |
* Sun Mar 2 2014 José Matos <jamatos@fedoraproject.org> - 4.100.0-1
|
|
|
d22d934 |
- update to 4.100.0
|
|
|
d22d934 |
|
|
|
37f1598 |
* Sat Jan 25 2014 José Matos <jamatos@fedoraproject.org> - 4.000.2-1
|
|
|
37f1598 |
- update to 4.000.2
|
|
|
37f1598 |
|
|
|
3876f6c |
* Fri Jan 10 2014 José Matos <jamatos@fedoraproject.org> - 4.000.0-2
|
|
|
3876f6c |
- add mex_interface to documentation (demonstration of how to connect
|
|
|
3876f6c |
Armadillo with MATLAB/Octave mex functions)
|
|
|
3876f6c |
|
|
|
89f2c80 |
* Thu Jan 9 2014 José Matos <jamatos@fedoraproject.org> - 4.000.0-1
|
|
|
89f2c80 |
- update to 4.000.0
|
|
|
89f2c80 |
- dropped boost dependency and added arpack
|
|
|
89f2c80 |
- remove reference to boost in the comments
|
|
|
89f2c80 |
|
|
|
74de410 |
* Tue Dec 10 2013 José Matos <jamatos@fedoraproject.org> - 3.930.1-1
|
|
|
74de410 |
- update to 3.930.1
|
|
|
b3cfc4a |
- update the name of the documentation paper from 2013 to 2014
|
|
|
74de410 |
|
|
|
72cffb6 |
* Mon Nov 25 2013 José Matos <jamatos@fedoraproject.org> - 3.920.3-1
|
|
|
72cffb6 |
- update to 3.920.3
|
|
|
72cffb6 |
|
|
|
dbf852a |
* Tue Oct 29 2013 José Matos <jamatos@fedoraproject.org> - 3.920.2-1
|
|
|
dbf852a |
- update to 3.920.2
|
|
|
dbf852a |
|
|
|
44ddafb |
* Mon Sep 30 2013 José Matos <jamatos@fedoraproject.org> - 3.920.1-1
|
|
|
44ddafb |
- update to 3.920.1
|
|
|
44ddafb |
|
|
|
2c0621e |
* Mon Sep 30 2013 José Matos <jamatos@fedoraproject.org> - 3.920.0-1
|
|
|
2c0621e |
- update to 3.920.0
|
|
|
2c0621e |
|
|
Orion Poplawski |
0a71bb4 |
* Sun Sep 22 2013 Orion Poplawski - 3.910.0-2
|
|
Orion Poplawski |
0a71bb4 |
- Rebuild for atlas 3.10
|
|
Orion Poplawski |
0a71bb4 |
|
|
|
3583fb7 |
* Fri Aug 16 2013 José Matos <jamatos@fedoraproject.org> - 3.910.0-1
|
|
|
3583fb7 |
- update to 3.910.0
|
|
|
3583fb7 |
|
|
|
eb99828 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.900.4-3
|
|
|
eb99828 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
eb99828 |
|
|
Petr Machata |
ace9f2f |
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 3.900.4-2
|
|
Petr Machata |
ace9f2f |
- Rebuild for boost 1.54.0
|
|
Petr Machata |
ace9f2f |
|
|
|
b6c68db |
* Wed Jun 12 2013 José Matos <jamatos@fedoraproject.org> - 3.900.4-1
|
|
|
b6c68db |
- update to 3.900.4
|
|
|
b6c68db |
|
|
|
2f585f9 |
* Mon May 13 2013 José Matos <jamatos@fedoraproject.org> - 3.820.0-1
|
|
|
2f585f9 |
- update to 3.820.0
|
|
|
2f585f9 |
|
|
|
2f585f9 |
* Tue Apr 30 2013 José Matos <jamatos@fedoraproject.org> - 3.810.2-1
|
|
|
2f585f9 |
- Update to latest stable version
|
|
|
2f585f9 |
|
|
|
b4712e0 |
* Sun Apr 21 2013 José Matos <jamatos@fedoraproject.org> - 3.810.0-1
|
|
|
b4712e0 |
- Update to latest stable version
|
|
|
b4712e0 |
|
|
|
020c40f |
* Sun Apr 14 2013 José Matos <jamatos@fedoraproject.org> - 3.800.2-1
|
|
|
020c40f |
- Update to latest stable version
|
|
|
020c40f |
|
|
|
e8a9388 |
* Sat Mar 2 2013 José Matos <jamatos@fedoraproject.org> - 3.800.0-1
|
|
|
e8a9388 |
- Update to latest stable version
|
|
|
e8a9388 |
- License changed from LGPLv3+ to MPLv2.0
|
|
|
746a11a |
- Added another documentation file (rcpp related)
|
|
|
746a11a |
- Spec changelog trimmed
|
|
|
e8a9388 |
|
|
|
29bf5da |
* Thu Feb 21 2013 José Matos <jamatos@fedoraproject.org> - 3.6.3-1
|
|
|
29bf5da |
- Update to latest stable release
|
|
|
29bf5da |
|
|
|
affc4d4 |
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 3.6.2-3
|
|
|
affc4d4 |
- Rebuild for Boost-1.53.0
|
|
|
affc4d4 |
|
|
|
655a0aa |
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 3.6.2-2
|
|
|
655a0aa |
- Rebuild for Boost-1.53.0
|
|
|
655a0aa |
|
|
|
e5c12ef |
* Fri Feb 8 2013 José Matos <jamatos@fedoraproject.org> - 3.6.2-1
|
|
|
e5c12ef |
- Update to latest stable release
|
|
|
e5c12ef |
|
|
|
e31288c |
* Mon Dec 17 2012 José Matos <jamatos@fedoraproject.org> - 3.6.1-1
|
|
|
e31288c |
- Update to latest stable release
|
|
|
e31288c |
|
|
|
7de783d |
* Sat Dec 8 2012 José Matos <jamatos@fedoraproject.org> - 3.6.0-1
|
|
|
7de783d |
- Update to latest stable release
|
|
|
7de783d |
|
|
|
68e9627 |
* Mon Dec 3 2012 José Matos <jamatos@fedoraproject.org> - 3.4.4-1
|
|
|
68e9627 |
- Update to latest stable release
|
|
|
68e9627 |
- Clean the spec files (documentation has a special treatment with rpm)
|
|
|
68e9627 |
|
|
|
e56099b |
* Wed Jul 25 2012 José Matos <jamatos@fedoraproject.org> - 3.2.4-1
|
|
|
e56099b |
- Update to version 3.2.4
|
|
|
e56099b |
|
|
|
0e74fdd |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-3
|
|
|
0e74fdd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
0e74fdd |
|
|
|
fdf7d24 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-2
|
|
|
fdf7d24 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
fdf7d24 |
|
|
Conrad Sanderson |
9cd52a4 |
* Thu Sep 15 2011 Conrad Sanderson - 2.2.3-1
|
|
Conrad Sanderson |
9cd52a4 |
- spec updated for Armadillo 2.2.3
|
|
Conrad Sanderson |
9cd52a4 |
|
|
root |
70f6c71 |
* Mon Apr 18 2011 Conrad Sanderson - 1.2.0-1
|
|
root |
70f6c71 |
- spec updated for Armadillo 1.2.0
|
|
|
17faacc |
|
|
root |
70f6c71 |
* Mon Nov 15 2010 Conrad Sanderson - 1.0.0-1
|
|
Conrad Sanderson |
0d2ce50 |
- spec updated for Armadillo 1.0.0
|