1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = %{name}%{version}
11 groups = Development/Languages
12 url = http://expect.nist.gov/
13 license = Public Domain
14 summary = A program-script interaction and testing utility.
17 expect is a tcl application for automating and testing
18 interactive applications such as telnet, ftp, passwd, fsck,
19 rlogin, tip, etc. Expect makes it easy for a script to
20 control another program and interact with it.
23 source_dl = http://downloads.sourceforge.net/project/expect/Expect/%{version}/
41 configure_options += \
43 --with-tcl=%{libdir} \
44 --with-tclinclude=%{includedir} \
52 # Install lib to right location.
53 mkdir -pv %{BUILDROOT}%{libdir}
54 mv -v %{BUILDROOT}/%{libdir}/tcl*/expect%{version}/libexpect%{version}.so \
56 ln -svf libexpect%{version}.so %{BUILDROOT}%{libdir}/libexpect.so
59 chrpath --delete %{BUILDROOT}%{libdir}/libexpect%{version}.so
61 # remove cryptdir/decryptdir, as Linux has no crypt command
62 rm -f %{BUILDROOT}/usr/bin/{cryptdir,decryptdir}
63 rm -f %{BUILDROOT}/usr/share/man1/{cryptdir,decryptdir}.1*
64 rm -f %{BUILDROOT}/usr/bin/autopasswd
75 package %{name}-debuginfo