BuildRequires: libstdc++-devel
BuildRequires: libtiff-devel
BuildRequires: libtool
+%{?with_x11:BuildRequires: pangox-compat-devel}
+ BuildRequires: p7zip-standalone
BuildRequires: pkgconfig
+%{?with_odbc:BuildRequires: unixODBC-devel}
%{?with_x11:BuildRequires: xorg-lib-libXext-devel}
+%{?with_x11:BuildRequires: xorg-lib-libXt-devel}
# these are not supported by wxWidgets
Obsoletes: LDAPExplorerTool <= 0.6-1
Obsoletes: abridge <= 0.4.0-1
obsługą UNICODE.
%prep
- %setup -q
+ %setup -q -c
%patch0 -p1
- # is this still needed?
- #%patch1 -p1
+ %patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
+%patch8 -p1
+
+%{__rm} build/aclocal/bakefile*.m4
+ %undos src/stc/gen_iface.py
+
%build
# if bakefiles rebuild is needed:
#%if "%(rpm -q bakefile --qf '%%{VERSION}')" != "0.2.1"
../%configure \
${args} \
${gui} \
+ --enable-graphics_ctx \
--disable-universal \
${unicode} \
+ --enable-printarch \
+ --with-gtkprint \
%{!?with_gnomeprint:--without-gnomeprint}
%{__make}
+ %{__make} -C contrib/src
cd ..
done