]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = expect |
ea015c36 | 7 | version = 5.45 |
802ea3af | 8 | release = 1 |
ea015c36 | 9 | thisapp = %{name}%{version} |
bdbc504d | 10 | |
802ea3af MT |
11 | groups = Development/Languages |
12 | url = http://expect.nist.gov/ | |
13 | license = Public Domain | |
14 | summary = A program-script interaction and testing utility. | |
bdbc504d | 15 | |
802ea3af | 16 | description |
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 |
21 | end |
22 | ||
ea015c36 | 23 | source_dl = http://downloads.sourceforge.net/project/expect/Expect/%{version}/ |
802ea3af MT |
24 | |
25 | build | |
26 | requires | |
27 | autoconf | |
28 | automake | |
ea015c36 | 29 | tcl-devel |
802ea3af MT |
30 | end |
31 | ||
ea015c36 MT |
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} \ | |
802ea3af MT |
44 | --enable-shared |
45 | ||
46 | test | |
47 | make test | |
48 | end | |
49 | ||
ea015c36 | 50 | install_cmds |
802ea3af MT |
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} | |
ea015c36 MT |
60 | |
61 | package %{name}-devel | |
62 | template DEVEL | |
802ea3af | 63 | end |
1f9bc2f0 MT |
64 | |
65 | package %{name}-debuginfo | |
66 | template DEBUGINFO | |
67 | end | |
802ea3af | 68 | end |