#
# This file is auto-generated. DO NOT EDIT
# Generated by: autospec.py
#
Name     : c-helloworld-32
Version  : 32
Release  : 1
URL      : file://{}/tests/testfiles/c-helloworld-32.tar.gz
Source0  : file://{}/tests/testfiles/c-helloworld-32.tar.gz
Summary  : No detailed summary available
Group    : Development/Tools
License  : GPL-3.0
BuildRequires : gcc-dev32
BuildRequires : gcc-libgcc32
BuildRequires : gcc-libstdc++32
BuildRequires : glibc-dev32
BuildRequires : glibc-libc32
BuildRequires : xz

%description
No detailed description available

%prep
%setup -q -n c-helloworld-32
pushd ..
cp -a c-helloworld-32 build32
popd

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export SOURCE_DATE_EPOCH=1
make V=1  %{?_smp_mflags}

%install
export SOURCE_DATE_EPOCH=1
rm -rf %{buildroot}
pushd ../build32/
%make_install32
if [ -d  %{buildroot}/usr/lib32/pkgconfig ]
then
pushd %{buildroot}/usr/lib32/pkgconfig
for i in *.pc ; do ln -s $i 32$i ; done
popd
fi
popd
%make_install

%files
%defattr(-,root,root,-)
/usr/local/bin/helloworld
