]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - expect/expect.nm
Merge remote-tracking branch 'stevee/nss-reworked'
[people/amarx/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 = 1
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 tcl-devel
30 end
31
32 prepare_cmds
33 aclocal
34 autoconf
35
36 cd testsuite
37 autoconf -I..
38 end
39
40 configure_options += \
41 --mandir=%{mandir} \
42 --with-tcl=%{libdir} \
43 --with-tclinclude=%{includedir} \
44 --enable-shared
45
46 test
47 make test
48 end
49
50 install_cmds
51 # remove cryptdir/decryptdir, as Linux has no crypt command
52 rm -f %{BUILDROOT}/usr/bin/{cryptdir,decryptdir}
53 rm -f %{BUILDROOT}/usr/share/man1/{cryptdir,decryptdir}.1*
54 rm -f %{BUILDROOT}/usr/bin/autopasswd
55 end
56 end
57
58 packages
59 package %{name}
60
61 package %{name}-devel
62 template DEVEL
63 end
64
65 package %{name}-debuginfo
66 template DEBUGINFO
67 end
68 end