.
OBS-URL: https://build.opensuse.org/package/show/graphics/xfig?expand=0&rev=42
This commit is contained in:
parent
b8f5414b81
commit
b6ed8475f9
17
xfig.spec
17
xfig.spec
@ -132,6 +132,23 @@ cp %{S:1} .
|
|||||||
test ! -e Libraries/Examples/aircraft.fig || { echo forbidden file found 1>&2; exit 1; }
|
test ! -e Libraries/Examples/aircraft.fig || { echo forbidden file found 1>&2; exit 1; }
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{suse_version} <= 1310
|
||||||
|
cat > xaw3d.pc <<-'EOF'
|
||||||
|
prefix=/usr
|
||||||
|
exec_prefix=/usr
|
||||||
|
libdir=/usr/lib
|
||||||
|
includedir=/usr/include
|
||||||
|
Name: Xaw3d
|
||||||
|
Description: X 3D Athena Widgets Library
|
||||||
|
Version: 1.5E
|
||||||
|
Requires: xproto xmu xt
|
||||||
|
Requires.private: x11 xext
|
||||||
|
Cflags: -I${includedir} -DXAW_INTERNATIONALIZATION -DXAW_MULTIPLANE_PIXMAPS -DXAW_GRAY_BLKWHT_STIPPLES -DXAW_ARROW_SCROLLBARS
|
||||||
|
Libs: -L${libdir} -lXaw3d
|
||||||
|
EOF
|
||||||
|
PKG_CONFIG_PATH=/usr/share/pkgconfig:/usr/lib/pkgconfig:${PWD}
|
||||||
|
export PKG_CONFIG_PATH
|
||||||
|
%endif
|
||||||
xmkmf -a -D_DATA='%{_data}' -DStandardDefines=''
|
xmkmf -a -D_DATA='%{_data}' -DStandardDefines=''
|
||||||
CCOPTIONS="$RPM_OPT_FLAGS -fno-strict-aliasing -w -D_GNU_SOURCE -std=gnu99"
|
CCOPTIONS="$RPM_OPT_FLAGS -fno-strict-aliasing -w -D_GNU_SOURCE -std=gnu99"
|
||||||
CCOPTIONS="$CCOPTIONS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
CCOPTIONS="$CCOPTIONS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||||
|
Loading…
Reference in New Issue
Block a user