]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - expect/expect.nm
libnetfilter_queue: Update to 1.0.2.
[people/ms/ipfire-3.x.git] / expect / expect.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = expect
7 version = 5.45
8 release = 2
9 thisapp = %{name}%{version}
10
11 groups = Development/Languages
12 url = http://expect.nist.gov/
13 license = Public Domain
14 summary = A program-script interaction and testing utility.
15
16 description
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.
21 end
22
23 source_dl = http://downloads.sourceforge.net/project/expect/Expect/%{version}/
24
25 build
26 requires
27 autoconf
28 automake
29 chrpath
30 tcl-devel
31 end
32
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} \
45 --enable-shared
46
47 test
48 make test
49 end
50
51 install_cmds
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
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
66 end
67
68 packages
69 package %{name}
70
71 package %{name}-devel
72 template DEVEL
73 end
74
75 package %{name}-debuginfo
76 template DEBUGINFO
77 end
78 end