189 lines
6.0 KiB
RPMSpec
189 lines
6.0 KiB
RPMSpec
Name: armadillo
|
|
Version: 4.000.0
|
|
Release: 2%{?dist}
|
|
Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS
|
|
|
|
Group: Development/Libraries
|
|
License: MPLv2.0
|
|
URL: http://arma.sourceforge.net/
|
|
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
BuildRequires: cmake, blas-devel, lapack-devel, atlas-devel, arpack-devel
|
|
|
|
%description
|
|
Armadillo is a C++ linear algebra library (matrix maths)
|
|
aiming towards a good balance between speed and ease of use.
|
|
Integer, floating point and complex numbers are supported,
|
|
as well as a subset of trigonometric and statistics functions.
|
|
Various matrix decompositions are provided through optional
|
|
integration with LAPACK and ATLAS libraries.
|
|
A delayed evaluation approach is employed (during compile time)
|
|
to combine several operations into one and reduce (or eliminate)
|
|
the need for temporaries. This is accomplished through recursive
|
|
templates and template meta-programming.
|
|
This library is useful if C++ has been decided as the language
|
|
of choice (due to speed and/or integration capabilities), rather
|
|
than another language like Matlab or Octave.
|
|
|
|
|
|
%package devel
|
|
Summary: Development headers and documentation for the Armadillo C++ library
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: blas-devel, lapack-devel, atlas-devel, arpack-devel, libstdc++-devel
|
|
|
|
%description devel
|
|
This package contains files necessary for development using the
|
|
Armadillo C++ library. It contains header files, example programs,
|
|
and user documentation (API reference guide).
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
# convert DOS end-of-line to UNIX end-of-line
|
|
|
|
for file in README.txt; do
|
|
sed 's/\r//' $file >$file.new && \
|
|
touch -r $file $file.new && \
|
|
mv $file.new $file
|
|
done
|
|
|
|
%build
|
|
%{cmake}
|
|
%{__make} VERBOSE=1 %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%{__make} install DESTDIR=$RPM_BUILD_ROOT
|
|
rm -f examples/Makefile.cmake
|
|
rm -f examples/example1_win64.sln
|
|
rm -f examples/example1_win64.vcxproj
|
|
rm -f examples/example1_win64.README.txt
|
|
rm -rf examples/lib_win64
|
|
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/*.so.*
|
|
%doc LICENSE.txt
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%{_libdir}/*.so
|
|
%{_includedir}/armadillo
|
|
%{_includedir}/armadillo_bits/
|
|
%{_datadir}/Armadillo/
|
|
%doc README.txt index.html docs.html
|
|
%doc examples armadillo_icon.png mex_interface
|
|
%doc armadillo_nicta_2010.pdf rcpp_armadillo_csda_2014.pdf
|
|
|
|
%changelog
|
|
* Fri Jan 10 2014 José Matos <jamatos@fedoraproject.org> - 4.000.0-2
|
|
- add mex_interface to documentation (demonstration of how to connect
|
|
Armadillo with MATLAB/Octave mex functions)
|
|
|
|
* Thu Jan 9 2014 José Matos <jamatos@fedoraproject.org> - 4.000.0-1
|
|
- update to 4.000.0
|
|
- dropped boost dependency and added arpack
|
|
- remove reference to boost in the comments
|
|
|
|
* Tue Dec 10 2013 José Matos <jamatos@fedoraproject.org> - 3.930.1-1
|
|
- update to 3.930.1
|
|
- update the name of the documentation paper from 2013 to 2014
|
|
|
|
* Mon Nov 25 2013 José Matos <jamatos@fedoraproject.org> - 3.920.3-1
|
|
- update to 3.920.3
|
|
|
|
* Tue Oct 29 2013 José Matos <jamatos@fedoraproject.org> - 3.920.2-1
|
|
- update to 3.920.2
|
|
|
|
* Mon Sep 30 2013 José Matos <jamatos@fedoraproject.org> - 3.920.1-1
|
|
- update to 3.920.1
|
|
|
|
* Mon Sep 30 2013 José Matos <jamatos@fedoraproject.org> - 3.920.0-1
|
|
- update to 3.920.0
|
|
|
|
* Sun Sep 22 2013 Orion Poplawski - 3.910.0-2
|
|
- Rebuild for atlas 3.10
|
|
|
|
* Fri Aug 16 2013 José Matos <jamatos@fedoraproject.org> - 3.910.0-1
|
|
- update to 3.910.0
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.900.4-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 3.900.4-2
|
|
- Rebuild for boost 1.54.0
|
|
|
|
* Wed Jun 12 2013 José Matos <jamatos@fedoraproject.org> - 3.900.4-1
|
|
- update to 3.900.4
|
|
|
|
* Mon May 13 2013 José Matos <jamatos@fedoraproject.org> - 3.820.0-1
|
|
- update to 3.820.0
|
|
|
|
* Tue Apr 30 2013 José Matos <jamatos@fedoraproject.org> - 3.810.2-1
|
|
- Update to latest stable version
|
|
|
|
* Sun Apr 21 2013 José Matos <jamatos@fedoraproject.org> - 3.810.0-1
|
|
- Update to latest stable version
|
|
|
|
* Sun Apr 14 2013 José Matos <jamatos@fedoraproject.org> - 3.800.2-1
|
|
- Update to latest stable version
|
|
|
|
* Sat Mar 2 2013 José Matos <jamatos@fedoraproject.org> - 3.800.0-1
|
|
- Update to latest stable version
|
|
- License changed from LGPLv3+ to MPLv2.0
|
|
- Added another documentation file (rcpp related)
|
|
- Spec changelog trimmed
|
|
|
|
* Thu Feb 21 2013 José Matos <jamatos@fedoraproject.org> - 3.6.3-1
|
|
- Update to latest stable release
|
|
|
|
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 3.6.2-3
|
|
- Rebuild for Boost-1.53.0
|
|
|
|
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 3.6.2-2
|
|
- Rebuild for Boost-1.53.0
|
|
|
|
* Fri Feb 8 2013 José Matos <jamatos@fedoraproject.org> - 3.6.2-1
|
|
- Update to latest stable release
|
|
|
|
* Mon Dec 17 2012 José Matos <jamatos@fedoraproject.org> - 3.6.1-1
|
|
- Update to latest stable release
|
|
|
|
* Sat Dec 8 2012 José Matos <jamatos@fedoraproject.org> - 3.6.0-1
|
|
- Update to latest stable release
|
|
|
|
* Mon Dec 3 2012 José Matos <jamatos@fedoraproject.org> - 3.4.4-1
|
|
- Update to latest stable release
|
|
- Clean the spec files (documentation has a special treatment with rpm)
|
|
|
|
* Wed Jul 25 2012 José Matos <jamatos@fedoraproject.org> - 3.2.4-1
|
|
- Update to version 3.2.4
|
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Thu Sep 15 2011 Conrad Sanderson - 2.2.3-1
|
|
- spec updated for Armadillo 2.2.3
|
|
|
|
* Mon Apr 18 2011 Conrad Sanderson - 1.2.0-1
|
|
- spec updated for Armadillo 1.2.0
|
|
|
|
* Mon Nov 15 2010 Conrad Sanderson - 1.0.0-1
|
|
- spec updated for Armadillo 1.0.0
|