]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - expect/expect.nm
libnetfilter_queue: Update to 1.0.2.
[people/ms/ipfire-3.x.git] / expect / expect.nm
CommitLineData
bdbc504d 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
bdbc504d
SS
4###############################################################################
5
802ea3af 6name = expect
ea015c36 7version = 5.45
a3f7adb7 8release = 2
ea015c36 9thisapp = %{name}%{version}
bdbc504d 10
802ea3af
MT
11groups = Development/Languages
12url = http://expect.nist.gov/
13license = Public Domain
14summary = A program-script interaction and testing utility.
bdbc504d 15
802ea3af 16description
ea015c36
MT
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
bdbc504d 20 control another program and interact with it.
802ea3af
MT
21end
22
ea015c36 23source_dl = http://downloads.sourceforge.net/project/expect/Expect/%{version}/
802ea3af
MT
24
25build
26 requires
27 autoconf
28 automake
a3f7adb7 29 chrpath
ea015c36 30 tcl-devel
802ea3af
MT
31 end
32
ea015c36
MT
33 prepare_cmds
34 aclocal
35 autoconf
36
37 cd testsuite
38 autoconf -I..
39 end
40
41 configure_options += \
42 --mandir=%{mandir} \
43 --with-tcl=%{libdir} \
44 --with-tclinclude=%{includedir} \
802ea3af
MT
45 --enable-shared
46
47 test
48 make test
49 end
50
ea015c36 51 install_cmds
a3f7adb7
MT
52 # Install lib to right location.
53 mkdir -pv %{BUILDROOT}%{libdir}
54 mv -v %{BUILDROOT}/%{libdir}/tcl*/expect%{version}/libexpect%{version}.so \
55 %{BUILDROOT}%{libdir}
56 ln -svf libexpect%{version}.so %{BUILDROOT}%{libdir}/libexpect.so
57
58 # Remove rpath.
59 chrpath --delete %{BUILDROOT}%{libdir}/libexpect%{version}.so
60
802ea3af
MT
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
65 end
66end
67
68packages
69 package %{name}
ea015c36
MT
70
71 package %{name}-devel
72 template DEVEL
802ea3af 73 end
1f9bc2f0
MT
74
75 package %{name}-debuginfo
76 template DEBUGINFO
77 end
802ea3af 78end