Пакет armadillo: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | Name: armadillo Version: 0.6.6 Release: alt1.svn20090409 Summary: Fast C++ matrix library with interfaces to LAPACK and ATLAS Group: Sciences/Mathematics License: LGPLv3+ URL: http://arma.sourceforge.net/ # fragment from .git/config : #[svn-remote "svn"] # url = https://arma.svn.sourceforge.net/svnroot/arma # fetch = trunk:refs/remotes/trunk # branches = branches/*:refs/remotes/* # tags = tags/*:refs/remotes/tags/* Source: %name-%version.tar.gz Source1: Makefile Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> Requires: lib%name = %version-%release BuildRequires(pre): rpm-build-compat BuildRequires: cmake gcc-c++ libatlas-devel-static liblapack-devel-static BuildRequires: boost-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 (TM) or Octave. The library is distributed under a license that is useful in both open-source and commercial contexts. %package -n lib%name Summary: Shared library for the Armadillo C++ library Group: System/Libraries %description -n lib%name 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 (TM) or Octave. The library is distributed under a license that is useful in both open-source and commercial contexts. This package contains shared library for the Armadillo C++ library. %package -n lib%name-devel Summary: Development files for the Armadillo C++ library Group: Development/C++ Requires: lib%name = %version-%release %description -n lib%name-devel 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 (TM) or Octave. The library is distributed under a license that is useful in both open-source and commercial contexts. This package contains files necessary for development using the Armadillo C++ library. %package -n lib%name-devel-doc Summary: Documentation for the Armadillo C++ library Group: Development/Documentation BuildArch: noarch %description -n lib%name-devel-doc 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 (TM) or Octave. The library is distributed under a license that is useful in both open-source and commercial contexts. This package contains documentation for development using the Armadillo C++ library. %prep %setup %build %configure %make_build pushd examples install -m644 %SOURCE1 . %make_build mv example1 %name-example1 mv example2 %name-example2 popd %install %make_install_std pushd examples install -d %buildroot%_bindir install -m755 %name-example? %buildroot%_bindir popd install -d %buildroot%_docdir/%name/html install -p -m644 docs_user/* %buildroot%_docdir/%name/html %files %doc CREDITS.txt LICENSE* %_bindir/* %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_libdir/*.so %_includedir/* %files -n lib%name-devel-doc %_docdir/%name %changelog * Sun May 17 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.6.6-alt1.svn20090409 - Initial build for Sisyphus * Wed Apr 02 2009 Conrad Sanderson <conradsand at ieee dot org> - Updated description * Wed Mar 24 2009 Conrad Sanderson <conradsand at ieee dot org> - Added explicit dependence on libstdc++-devel * Wed Mar 17 2009 Conrad Sanderson <conradsand at ieee dot org> - Simplified specification of directories - Removed library packages specified by "Requires", as library dependencies are detected automatically * Wed Mar 12 2009 Conrad Sanderson <conradsand at ieee dot org> - 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 * Wed Feb 4 2009 Conrad Sanderson <conradsand at ieee dot org> - Modified to generate separate doc package * Thu Jan 28 2009 Conrad Sanderson <conradsand at ieee dot org> - Added argument to cmake: -DCMAKE_INSTALL_PREFIX=/usr * Thu Jan 22 2009 Conrad Sanderson <conradsand at ieee dot org> - Initial spec file prepared |