|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: ogdi
|
|
|
|
Name: ogdi
|
|
|
|
Version: 3.2.0
|
|
|
|
Version: 3.2.0
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Summary: Open Geographic Datastore Interface
|
|
|
|
Summary: Open Geographic Datastore Interface
|
|
|
|
Group: Applications/Engineering
|
|
|
|
Group: Applications/Engineering
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
@ -85,18 +85,21 @@ export CFLAGS="$OPT_FLAGS -fPIC -DPIC -DDONT_TD_VOID -DUSE_TERMIO"
|
|
|
|
|
|
|
|
|
|
|
|
# WARNING !!!
|
|
|
|
# WARNING !!!
|
|
|
|
# using %{?_smp_mflags} may break build
|
|
|
|
# using %{?_smp_mflags} may break build
|
|
|
|
make
|
|
|
|
make \
|
|
|
|
|
|
|
|
COMMON_LDFLAGS="%{__global_ldflags}"
|
|
|
|
|
|
|
|
|
|
|
|
# build tcl interface
|
|
|
|
# build tcl interface
|
|
|
|
make -C ogdi/tcl_interface \
|
|
|
|
make -C ogdi/tcl_interface \
|
|
|
|
|
|
|
|
COMMON_LDFLAGS="%{__global_ldflags}" \
|
|
|
|
TCL_LINKLIB="-ltcl"
|
|
|
|
TCL_LINKLIB="-ltcl"
|
|
|
|
|
|
|
|
|
|
|
|
# build contributions
|
|
|
|
# build contributions
|
|
|
|
make -C contrib/gdal
|
|
|
|
make -C contrib/gdal \
|
|
|
|
|
|
|
|
COMMON_LDFLAGS="%{__global_ldflags}"
|
|
|
|
|
|
|
|
|
|
|
|
# build odbc drivers
|
|
|
|
# build odbc drivers
|
|
|
|
ODBC_LINKLIB="-lodbc"
|
|
|
|
|
|
|
|
make -C ogdi/attr_driver/odbc \
|
|
|
|
make -C ogdi/attr_driver/odbc \
|
|
|
|
|
|
|
|
COMMON_LDFLAGS="%{__global_ldflags}" \
|
|
|
|
ODBC_LINKLIB="-lodbc"
|
|
|
|
ODBC_LINKLIB="-lodbc"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -185,6 +188,9 @@ touch -r ogdi-config.in %{buildroot}%{_bindir}/%{name}-config
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Mar 27 2018 Dan Horák <dan[at]danny.cz> - 3.2.0-6
|
|
|
|
|
|
|
|
- fix incomplete compiler/linked flag injection (#1560546)
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Mar 15 2018 Dan Horák <dan[at]danny.cz> - 3.2.0-5
|
|
|
|
* Thu Mar 15 2018 Dan Horák <dan[at]danny.cz> - 3.2.0-5
|
|
|
|
- adapt to https://fedoraproject.org/wiki/Changes/SunRPCRemoval (#1556614)
|
|
|
|
- adapt to https://fedoraproject.org/wiki/Changes/SunRPCRemoval (#1556614)
|
|
|
|
|
|
|
|
|
|
|
|