Lines 214-231
options_double='%{subst_enable sse2} %{s
Link Here
|
214 |
|
214 |
|
215 |
for m in single double long-double %{?_enable_quad:quad-precision}; do |
215 |
for m in single double long-double %{?_enable_quad:quad-precision}; do |
216 |
d=${m%%-*} |
216 |
d=${m%%-*} |
217 |
mkdir $d |
217 |
mkdir -p $d |
218 |
pushd $d |
218 |
pushd $d |
219 |
eval extraoptions="\"\$options_$d\"" |
219 |
eval extraoptions="\"\$options_$d\"" |
220 |
%configure $options $extraoptions --enable-$m |
220 |
%configure $options $extraoptions --enable-$m |
221 |
%make_build |
221 |
%make_build |
222 |
popd |
222 |
popd |
223 |
done |
223 |
done |
|
|
224 |
%cmake |
224 |
|
225 |
|
225 |
%install |
226 |
%install |
226 |
for d in single double long %{?_enable_quad:quad}; do |
227 |
for d in single double long %{?_enable_quad:quad}; do |
227 |
%makeinstall_std -C $d |
228 |
%makeinstall_std -C $d |
228 |
done |
229 |
done |
|
|
230 |
install -m 0644 %_cmake__builddir/FFTW3LibraryDepends.cmake %buildroot/%_libdir/cmake/fftw3/ |
229 |
|
231 |
|
230 |
# remove non-packaged files |
232 |
# remove non-packaged files |
231 |
rm %buildroot%_libdir/*.la |
233 |
rm %buildroot%_libdir/*.la |