gnucash-2.6.9/packaging/gnucash.spec.in are not part of the Debian packaging. They are the project's own spec files (the second one is a template) for packaging gnucash in RPM form.
gnucash-2.6.9/configure.ac is also part of upstream. This is an Autoconf file which is used to generate the
autoconf.ac file is used by the Debian packaging, but is not part of it.
All the Debian packaging lives inside the
The actual build script (which is really just a Makefile), is
debian/rules, so that is all you need to concern yourself about here. Most Debian packages use the
debhelper program. This package happens to use the more recent and modern
dh variant, which is part of
Briefly, the way "traditional"
debhelper works is to offer a suite of standard commands that can be used to build the package, rather than having to do everything from scratch.
dh is a newer variant which has defaults for every stahdard
debhelper step, which can be overridden if necessary. Which links up to what A.P. is saying. In this case, the rules file is overriding the default configure step. Hence. you need to modify this
override_dh_auto_configure target to change what the configure step does. Here is the
dh_auto_configure -- \
So, this is overriding the
debhelper target. Check out
man dh_auto_configure for more information about that target.
In this case, the default
dh_auto_configure would just run
configure with no arguments, i.e.
./configure. The override just runs
configure with the given arguments/option. So, you need to remove the
--enable-aqbanking argument/option here.
Here are some slides about dh: Not Your Grandpa's Debhelper. There is other information on the net.