|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package aalib
|
|
|
|
# spec file for package aalib
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
@@ -102,7 +102,7 @@ cd ..
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{?suse_update_config}
|
|
|
|
%{?suse_update_config}
|
|
|
|
autoreconf -fiv
|
|
|
|
autoreconf -fiv
|
|
|
|
export CFLAGS="%{optflags} -fstrength-reduce -fomit-frame-pointer -fpermissive"
|
|
|
|
export CFLAGS="%{optflags} -fstrength-reduce -fomit-frame-pointer -fpermissive -std=gnu11"
|
|
|
|
%ifarch %ix86
|
|
|
|
%ifarch %ix86
|
|
|
|
export CFLAGS="$CFLAGS -falign-loops=2 -falign-jumps=2 -falign-functions=2"
|
|
|
|
export CFLAGS="$CFLAGS -falign-loops=2 -falign-jumps=2 -falign-functions=2"
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@@ -115,7 +115,7 @@ mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}
|
|
|
|
cp -av ANNOUNCE AUTHORS COPYING INSTALL NEWS README %{buildroot}/%{_defaultdocdir}/%{name}
|
|
|
|
cp -av ANNOUNCE AUTHORS COPYING INSTALL NEWS README %{buildroot}/%{_defaultdocdir}/%{name}
|
|
|
|
cd ../aview-1.3.0
|
|
|
|
cd ../aview-1.3.0
|
|
|
|
PATH=%{buildroot}/%{_bindir}:$PATH \
|
|
|
|
PATH=%{buildroot}/%{_bindir}:$PATH \
|
|
|
|
CFLAGS="%{optflags} -fpermissive -I%{buildroot}/usr/include" \
|
|
|
|
CFLAGS="%{optflags} -std=gnu11 -fpermissive -I%{buildroot}/usr/include" \
|
|
|
|
LDFLAGS="-L%{buildroot}/%{_libdir}" \
|
|
|
|
LDFLAGS="-L%{buildroot}/%{_libdir}" \
|
|
|
|
LD_LIBRARY_PATH="%{buildroot}/%{_libdir}" \
|
|
|
|
LD_LIBRARY_PATH="%{buildroot}/%{_libdir}" \
|
|
|
|
./configure --prefix=/usr --mandir=%{_mandir}
|
|
|
|
./configure --prefix=/usr --mandir=%{_mandir}
|
|
|
@@ -125,7 +125,7 @@ mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}/aview
|
|
|
|
cp -av README* ANNOUNCE COPYING TODO *.lsm %{buildroot}/%{_defaultdocdir}/%{name}/aview
|
|
|
|
cp -av README* ANNOUNCE COPYING TODO *.lsm %{buildroot}/%{_defaultdocdir}/%{name}/aview
|
|
|
|
cd -
|
|
|
|
cd -
|
|
|
|
cd aavga-1.0
|
|
|
|
cd aavga-1.0
|
|
|
|
make CFLAGS="%{optflags} -fpermissive"
|
|
|
|
make CFLAGS="%{optflags} -std=gnu11 -fpermissive"
|
|
|
|
cp -av aavga.so %{buildroot}/%_libdir
|
|
|
|
cp -av aavga.so %{buildroot}/%_libdir
|
|
|
|
mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}/aavga
|
|
|
|
mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}/aavga
|
|
|
|
cp -av aavga.lsm COPYING README %{buildroot}/%{_defaultdocdir}/%{name}/aavga
|
|
|
|
cp -av aavga.lsm COPYING README %{buildroot}/%{_defaultdocdir}/%{name}/aavga
|
|
|
|