armadillo/armadillo.spec

259 lines
8.2 KiB
RPMSpec
Raw Normal View History

2009-07-10 04:02:40 +00:00
Name: armadillo
Version: 3.800.0
2013-02-21 17:23:15 +00:00
Release: 1%{?dist}
2009-07-10 04:02:40 +00:00
Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS
Group: Development/Libraries
License: MPLv2.0
2009-07-10 04:02:40 +00:00
URL: http://arma.sourceforge.net/
2011-04-19 05:23:06 +00:00
Source: http://sourceforge.net/projects/arma/files/%{name}-%{version}.tar.gz
2009-07-10 04:02:40 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2010-03-02 06:51:52 +00:00
BuildRequires: cmake, boost-devel, blas-devel, lapack-devel, atlas-devel
2009-07-10 04:02:40 +00:00
%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)
2012-07-25 17:01:40 +00:00
to combine several operations into one and reduce (or eliminate)
2009-07-10 04:02:40 +00:00
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}
2010-03-02 06:51:52 +00:00
Requires: boost-devel, blas-devel, lapack-devel, atlas-devel, libstdc++-devel
2009-07-10 04:02:40 +00:00
# The header files of Armadillo include some Boost and ATLAS header files,
# delivered within the boost-devel and atlas-devel sub-packages, respectively.
# However, since there is no explicit dependency on Boost or ATLAS libraries
2012-07-25 17:01:40 +00:00
# (most of Boost is delivered as header files only), the RPM building process
# does not detect these dependencies. These dependencies must therefore be
2009-07-10 04:02:40 +00:00
# added manually.
%description devel
This package contains files necessary for development using the
Armadillo C++ library. It contains header files, example programs,
2010-11-25 03:30:01 +00:00
and user documentation (reference guide).
2009-07-10 04:02:40 +00:00
%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
2010-07-14 05:51:21 +00:00
rm -rf examples/example1_win32
rm -rf examples/example2_win32
rm -rf examples/lib_win32
2009-07-10 04:02:40 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%{_libdir}/*.so.*
%doc LICENSE.txt
%doc licenses
2009-07-10 04:02:40 +00:00
%files devel
%defattr(-,root,root,-)
%{_libdir}/*.so
%{_includedir}/armadillo
%{_includedir}/armadillo_bits/
2011-04-19 05:23:06 +00:00
%{_datadir}/Armadillo/
%doc README.txt index.html docs.html
%doc examples armadillo_icon.png armadillo_nicta_2010.pdf
2009-07-10 04:02:40 +00:00
%changelog
* 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
2013-02-21 17:23:15 +00:00
* Thu Feb 21 2013 José Matos <jamatos@fedoraproject.org> - 3.6.3-1
- Update to latest stable release
2013-02-10 01:31:05 +00:00
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 3.6.2-3
- Rebuild for Boost-1.53.0
2013-02-09 21:47:56 +00:00
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 3.6.2-2
- Rebuild for Boost-1.53.0
2013-02-08 15:13:25 +00:00
* Fri Feb 8 2013 José Matos <jamatos@fedoraproject.org> - 3.6.2-1
- Update to latest stable release
2012-12-17 13:47:38 +00:00
* Mon Dec 17 2012 José Matos <jamatos@fedoraproject.org> - 3.6.1-1
- Update to latest stable release
2012-12-08 17:08:49 +00:00
* 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)
2012-07-25 17:01:40 +00:00
* 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
2011-09-15 02:50:22 +00:00
* Thu Sep 15 2011 Conrad Sanderson - 2.2.3-1
- spec updated for Armadillo 2.2.3
2011-04-19 05:23:06 +00:00
* Mon Apr 18 2011 Conrad Sanderson - 1.2.0-1
- spec updated for Armadillo 1.2.0
2011-04-19 05:23:06 +00:00
* Mon Nov 15 2010 Conrad Sanderson - 1.0.0-1
2010-11-25 03:30:01 +00:00
- spec updated for Armadillo 1.0.0
* Thu Oct 14 2010 Conrad Sanderson - 0.9.90-1
- spec updated for Armadillo 0.9.90
* Tue Sep 21 2010 Conrad Sanderson - 0.9.80-1
- spec updated for Armadillo 0.9.80
* Wed Sep 01 2010 Conrad Sanderson - 0.9.70-1
- spec updated for Armadillo 0.9.70
* Wed Aug 04 2010 Conrad Sanderson - 0.9.60-1
- spec updated for Armadillo 0.9.60
* Wed Jul 14 2010 Conrad Sanderson - 0.9.52-1
2010-07-14 05:51:21 +00:00
- spec updated for Armadillo 0.9.52
2010-11-25 03:30:01 +00:00
* Wed Jul 07 2010 Conrad Sanderson - 0.9.50-1
2010-07-14 05:51:21 +00:00
- spec updated for Armadillo 0.9.50
2010-11-25 03:30:01 +00:00
* Wed Jun 02 2010 Conrad Sanderson - 0.9.10-1
2010-07-14 05:51:21 +00:00
- spec updated for Armadillo 0.9.10
2010-11-25 03:30:01 +00:00
* Fri May 14 2010 Conrad Sanderson - 0.9.8-1
2010-07-14 05:51:21 +00:00
- spec updated for Armadillo 0.9.8
2010-11-25 03:30:01 +00:00
* Tue Apr 28 2010 Conrad Sanderson - 0.9.6-1
2010-07-14 05:51:21 +00:00
- spec updated for Armadillo 0.9.6
2010-11-25 03:30:01 +00:00
* Tue Mar 16 2010 Conrad Sanderson - 0.9.4-1
2010-07-14 05:51:21 +00:00
- spec updated for Armadillo 0.9.4
2010-11-25 03:30:01 +00:00
* Tue Mar 02 2010 Conrad Sanderson - 0.9.2-2
2010-03-02 06:51:52 +00:00
- added explicit dependencies to the devel package
2010-11-25 03:30:01 +00:00
* Tue Mar 02 2010 Conrad Sanderson - 0.9.2-1
2010-03-02 06:51:52 +00:00
- spec updated for Armadillo 0.9.2
2010-11-25 03:30:01 +00:00
* Fri Feb 05 2010 Conrad Sanderson - 0.9.0-1
2010-03-02 06:51:52 +00:00
- spec updated for Armadillo 0.9.0
2010-11-25 03:30:01 +00:00
* Mon Jan 27 2010 Conrad Sanderson - 0.8.2-1
2010-03-02 06:51:52 +00:00
- spec updated for Armadillo 0.8.2
2010-11-25 03:30:01 +00:00
* Mon Dec 14 2009 Conrad Sanderson - 0.8.0-1
2010-03-02 06:51:52 +00:00
- spec updated for Armadillo 0.8.0
2010-11-25 03:30:01 +00:00
* Fri Oct 23 2009 Conrad Sanderson - 0.7.2-1
2010-03-02 06:51:52 +00:00
- spec updated for Armadillo 0.7.2
2010-11-25 03:30:01 +00:00
* Mon Oct 05 2009 Conrad Sanderson - 0.7.0-1
2010-03-02 06:51:52 +00:00
- spec updated for Armadillo 0.7.0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2010-11-25 03:30:01 +00:00
* Wed Jul 06 2009 Conrad Sanderson - 0.6.12-2
2009-07-10 04:02:40 +00:00
- added conversion of DOS end-of-line to UNIX end-of-line for README.txt
2010-11-25 03:30:01 +00:00
* Wed Jun 22 2009 Conrad Sanderson - 0.6.12-1
2009-07-10 04:02:40 +00:00
- spec updated for Armadillo 0.6.12
2010-11-25 03:30:01 +00:00
* Wed Jun 15 2009 Conrad Sanderson - 0.6.11-8
2009-07-10 04:02:40 +00:00
- cleanup of dependencies
- explanation as to why boost-devel and atlas-devel are required by armadillo-devel
2010-11-25 03:30:01 +00:00
* Wed Jun 09 2009 Conrad Sanderson - 0.6.11-7
2009-07-10 04:02:40 +00:00
- explicit declaration of doc directory in the main package
- explicitly marked doc files in both packages
2010-11-25 03:30:01 +00:00
* Wed Jun 09 2009 Conrad Sanderson - 0.6.11-6
2009-07-10 04:02:40 +00:00
- removed symlinks
- placed all documentation and license files into one directory that is shared by both packages
2010-11-25 03:30:01 +00:00
* Wed Jun 09 2009 Conrad Sanderson - 0.6.11-5
2009-07-10 04:02:40 +00:00
- added symlinks to LICENSE.txt and licenses in the devel package
2010-11-25 03:30:01 +00:00
* Wed Jun 08 2009 Conrad Sanderson - 0.6.11-4
2009-07-10 04:02:40 +00:00
- added LICENSE.txt to the main package
2010-11-25 03:30:01 +00:00
* Wed May 22 2009 Conrad Sanderson - 0.6.11-3
2009-07-10 04:02:40 +00:00
- using cmake macro instead of directly calling cmake
2010-11-25 03:30:01 +00:00
* Wed May 21 2009 Conrad Sanderson - 0.6.11-2
2009-07-10 04:02:40 +00:00
- moved all text files to devel package to retain consistency with the layout in the original .tar.gz
2010-11-25 03:30:01 +00:00
* Wed May 08 2009 Conrad Sanderson - 0.6.10-2
2009-07-10 04:02:40 +00:00
- Removed several explicit build dependencies that are provided by default in Fedora
- Simplified handling of doc files
2010-11-25 03:30:01 +00:00
* Wed May 02 2009 Conrad Sanderson - 0.6.10-1
2009-07-10 04:02:40 +00:00
- Updated spec file for Armadillo 0.6.10
2010-11-25 03:30:01 +00:00
* Wed Apr 02 2009 Conrad Sanderson
2009-07-10 04:02:40 +00:00
- Updated list of files in 0.6.7 release
2010-11-25 03:30:01 +00:00
* Wed Apr 02 2009 Conrad Sanderson
2009-07-10 04:02:40 +00:00
- Updated description
2010-11-25 03:30:01 +00:00
* Wed Mar 24 2009 Conrad Sanderson
2009-07-10 04:02:40 +00:00
- Added explicit dependence on libstdc++-devel
2010-11-25 03:30:01 +00:00
* Wed Mar 17 2009 Conrad Sanderson
2009-07-10 04:02:40 +00:00
- Simplified specification of directories
- Removed library packages specified by "Requires", as library dependencies are detected automatically
2010-11-25 03:30:01 +00:00
* Wed Mar 12 2009 Conrad Sanderson
2009-07-10 04:02:40 +00:00
- Modified to generate separate devel package (subsumes previous doc package)
- Removed redundant packages specified by "BuildRequires"
- Added CMake installation prefixes to allow for x86_64
2010-11-25 03:30:01 +00:00
* Wed Feb 4 2009 Conrad Sanderson
2009-07-10 04:02:40 +00:00
- Modified to generate separate doc package
2010-11-25 03:30:01 +00:00
* Thu Jan 28 2009 Conrad Sanderson
2012-07-25 17:01:40 +00:00
- Added argument to cmake: -DCMAKE_INSTALL_PREFIX=/usr
2009-07-10 04:02:40 +00:00
2010-11-25 03:30:01 +00:00
* Thu Jan 22 2009 Conrad Sanderson
2009-07-10 04:02:40 +00:00
- Initial spec file prepared