Olaf Hering 2017-07-12 07:44:40 +00:00 committed by Git OBS Bridge
parent 9edbd27ea1
commit 4b8737fa73

View File

@ -37,13 +37,17 @@ preserves full alpha transparency. Generated images are compatible with all
modern web browsers, and have better fallback in IE6 than 24-bit PNGs.
%prep
%setup -q -n %name-%version
%setup -q
%build
./configure --prefix=%prefix --enable-sse --with-openmp
./configure \
--prefix=%prefix \
%ifarch x86_64 %ix86
--enable-sse \
%endif
--extra-cflags='%{optflags}' \
--with-openmp
CFLAGS="%optflags -msse2 -DUSE_SSE=1" \
CXXFLAGS="%optflags -msse2 -DUSE_SSE=1" \
%__make %{?_smp_mflags}
%install
@ -52,9 +56,6 @@ CXXFLAGS="%optflags -msse2 -DUSE_SSE=1" \
install --mode 0755 --strip %name %buildroot%_bindir
install --mode 0644 CHANGELOG COPYRIGHT INSTALL README.md %buildroot%_docdir/%name
%clean
%__rm -rf %buildroot
%files
%defattr(-, root, root)
%_bindir/*