Package libflame: 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 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 | %{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects} # REMOVE ME (I was set for NMU) and uncomment real Release tags: Release: alt2.git20140417.2 %define mpiimpl openmpi %define mpidir %_libexecdir/%mpiimpl %define somver 0 %define sover %somver.112.26 Name: libflame Epoch: 1 Version: 5.1.0 #Release: alt1.git20140417 Summary: Formal Linear Algebra Method Environment License: LGPL v2.1 Group: System/Libraries Url: http://www.cs.utexas.edu/users/flame/ Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org> # https://github.com/flame/libflame.git Source: %name-%version.tar #Source1: http://www.cs.utexas.edu/users/flame/book/Downloads/FLAMEC/example.tar.gz #Source2: elemental.tar.gz BuildPreReq: gcc-fortran liblapack-devel BuildPreReq: doxygen /usr/bin/dvips tex(draftcopy.sty) %description The objective of the FLAME project is to transform the development of dense linear algebra libraries from an art reserved for experts to a science that can be understood by novice and expert alike. Rather than being only a library, the project encompasses a new notation for expressing algorithms, a methodology for systematic derivation of algorithms, Application Program Interfaces (APIs) for representing the algorithms in code, and tools for mechanical derivation, implementation and analysis of algorithms and implementations. %package devel Summary: Development files of Formal Linear Algebra Method Environment Group: Development/Other Requires: %name = %EVR Requires: liblapack-devel %description devel The objective of the FLAME project is to transform the development of dense linear algebra libraries from an art reserved for experts to a science that can be understood by novice and expert alike. Rather than being only a library, the project encompasses a new notation for expressing algorithms, a methodology for systematic derivation of algorithms, Application Program Interfaces (APIs) for representing the algorithms in code, and tools for mechanical derivation, implementation and analysis of algorithms and implementations. This package contains development files dof libflame. %package doc Summary: Documentation for Formal Linear Algebra Method Environment Group: Development/Documentation BuildArch: noarch %description doc The objective of the FLAME project is to transform the development of dense linear algebra libraries from an art reserved for experts to a science that can be understood by novice and expert alike. Rather than being only a library, the project encompasses a new notation for expressing algorithms, a methodology for systematic derivation of algorithms, Application Program Interfaces (APIs) for representing the algorithms in code, and tools for mechanical derivation, implementation and analysis of algorithms and implementations. This package contains development documentation for FLAME. %package example Summary: Example of using Formal Linear Algebra Method Environment Group: Development/Other BuildArch: noarch %description example The objective of the FLAME project is to transform the development of dense linear algebra libraries from an art reserved for experts to a science that can be understood by novice and expert alike. Rather than being only a library, the project encompasses a new notation for expressing algorithms, a methodology for systematic derivation of algorithms, Application Program Interfaces (APIs) for representing the algorithms in code, and tools for mechanical derivation, implementation and analysis of algorithms and implementations. This package contains example of using FLAME. %prep %setup #tar -xzf %SOURCE1 #tar -xzf %SOURCE2 sed -i "s|@fla_host_cpu@|%_arch|" build/config.mk.in sed -i 's|libgoto\.a|libopenblas.so|g' $(find ./ -name makefile) sed -i 's|libgoto_core2\.a|libopenblas.so|g' $(find ./ -name makefile) sed -i 's|liblapack\.a|liblapack.so|g' $(find ./ -name makefile) %build %add_optflags %optflags_shared -std=gnu99 #autoreconf ./bootstrap %configure \ --enable-debug \ --enable-static-build \ --enable-dynamic-build \ --enable-external-lapack-for-subproblems \ --enable-lapack2flame=no \ --enable-external-lapack-interfaces \ --enable-blas3-front-end-cntl-trees \ --enable-cblas-interfaces \ --disable-goto-interfaces \ --disable-gpu \ --enable-verbose-make-output \ --enable-multithreading=pthreads \ --enable-memory-leak-counter \ --enable-supermatrix \ --enable-supermatrix-visualization %make_build HOST=%_host SOMVER=%somver SOVER=%sover doxygen pushd docs/libflame %make_build popd %install %makeinstall_std HOST=%_host INSTALL_PREFIX=%buildroot%prefix \ SOMVER=%somver SOVER=%sover rm -f %buildroot%_includedir mv %buildroot%prefix/include-%_arch-%version %buildroot%_includedir %if "%_libexecdir" != "%_libdir" mv %buildroot%_libexecdir %buildroot%_libdir %endif install -d %buildroot%_docdir/%name install -m644 $(find ./ -name '*.pdf') %buildroot%_docdir/%name mv doxygen/html %buildroot%_docdir/%name/ %files %doc AUTHORS CHANGELOG CONTRIBUTORS LICENSE KNOWN-ISSUES README %_libdir/*.so.* %files devel %_libdir/*.so %_includedir/* %files doc %_docdir/%name %files example %doc examples %changelog * Thu Sep 23 2021 Igor Vlasenko <viy@altlinux.org> 1:5.1.0-alt2.git20140417.2 - NMU: fixed build with LTO * Mon Mar 05 2018 Igor Vlasenko <viy@altlinux.ru> 1:5.1.0-alt1.git20140417.2 - NMU: rebuild with new tex(...) requires * Thu Jun 16 2016 Ivan Zakharyaschev <imz@altlinux.org> 1:5.1.0-alt1.git20140417.1 - (AUTO) subst_x86_64. * Fri May 30 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1:5.1.0-alt1.git20140417 - Version 5.1.0 * Tue Jun 25 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r11226-alt1 - Version r11226 * Tue Feb 05 2013 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r9999-alt1 - Version r9999 * Thu Sep 13 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r9239-alt1 - Version r9239 * Sat Aug 11 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r6025-alt2 - Rebuilt with OpenBLAS instead of GotoBLAS2 * Wed Apr 27 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r6025-alt1 - Version r6025 * Thu Apr 14 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r4818-alt4 - Fixed requirements for devel package * Tue Apr 12 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r4818-alt3 - Built with GotoBLAS2 instead of ATLAS - Disabled devel-static package * Thu Feb 10 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r4818-alt2 - Rebuilt for debuginfo * Mon Nov 15 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r4818-alt1 - Version r4818 * Tue Oct 26 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r4073-alt4 - Rebuilt for soname set-versions * Mon Oct 11 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r4073-alt3 - Fixed underlinking of libraries * Tue Jun 29 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r4073-alt2 - Fixed Makefile instead of sed's changing * Mon Jun 28 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r4073-alt1 - Version r4073 - Changed multithreading model: pthreads -> openmp - Added shared library * Mon Jul 06 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r3119-alt3 - Added texmf(latex/draftcopy) buildreq (fix build of documentation) * Tue Jun 23 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r3119-alt2 - Added example * Tue Jun 23 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r3119-alt1 - Initial build for Sisyphus |