#
# spec file for package SUNWjpg
#
# includes module(s): jpeg
#
# Copyright (c) 2004 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#
SUNW_BaseDir: %{_prefix}
SUNW_BaseDir: %{_prefix}
%prep
cd jpeg-%{tarball_version}
cd ..
cd jpeg-%{tarball_version}
CPUS=1
fi
export CFLAGS="$RPM_OPT_FLAGS"
cd jpeg-%{tarball_version}
export CFLAGS="%optflags64"
export LDFLAGS="%_ldflags %optflags64"
cd jpeg-%{tarball_version}
make install mandir=$RPM_BUILD_ROOT%{_mandir}/man1 bindir=$RPM_BUILD_ROOT%{_bindir} includedir=$RPM_BUILD_ROOT%{_includedir} libdir=$RPM_BUILD_ROOT%{_libdir}
make install bindir=$RPM_BUILD_ROOT/dummy includedir=$RPM_BUILD_ROOT/dummy mandir=$RPM_BUILD_ROOT/dummy libdir=$RPM_BUILD_ROOT%{_libdir}/%{_arch64}
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%{_bindir}/*
%{_includedir}/*