]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - expect/expect.nm
glibc: Disable multilib support on X86_64
[people/stevee/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.4
8 release = 1.1
9 thisapp = %{name}%{version}
10
11 groups = Development/Languages
12 url = https://core.tcl-lang.org/expect/index
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 = https://downloads.sourceforge.net/project/expect/Expect/%{version}/
24
25 build
26 requires
27 autoconf
28 automake
29 tcl-devel
30 gettext-devel
31 end
32
33 configure_options += \
34 --with-tcl=%{libdir} \
35 --with-tclinclude=%{includedir} \
36 --enable-shared
37
38 prepare_cmds
39 autoreconf -vfi
40 end
41
42 test
43 make test
44 end
45
46 install_cmds
47 # Remove cryptdir/decryptdir, as Linux has no crypt command
48 rm -vf %{BUILDROOT}/usr/bin/{cryptdir,decryptdir}
49 rm -vf %{BUILDROOT}/usr/share/man1/{cryptdir,decryptdir}.1*
50 rm -vf %{BUILDROOT}/usr/bin/autopasswd
51 end
52 end
53
54 packages
55 package %{name}
56
57 package %{name}-devel
58 template DEVEL
59 end
60
61 package %{name}-debuginfo
62 template DEBUGINFO
63 end
64 end