Patch3: %{name}-fixcat.patch
Patch4: %{name}-jbj.patch
Patch5: %{name}-soname.patch
+Patch6: %{name}-lib64.patch
Icon: tcl.gif
URL: http://expect.nist.gov/
BuildRequires: autoconf
BuildRequires: tk-devel >= 8.4.3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define _ulibdir /usr/lib
+
%description
Expect is a tool for automating interactive applications such as
telnet, ftp, passwd, fsck, rlogin, tip, etc. It makes it easy for a
%patch3 -p1
%patch4 -p1
%patch5 -p1
+%ifarch amd64
+%patch6 -p1
+%endif
chmod +w {.,testsuite}/configure
%configure \
--enable-gcc \
--enable-shared \
- --with-tclconfig=%{_libdir} \
- --with-tkconfig=%{_libdir} \
+ --with-tclconfig=%{_ulibdir} \
+ --with-tkconfig=%{_ulibdir} \
--with-tclinclude=%{_includedir} \
--with-tkinclude=%{_includedir}