]> git.pld-linux.org Git - packages/expect.git/blob - expect.spec
- md5
[packages/expect.git] / expect.spec
1 Summary:        tcl extension
2 Summary(de):    tcl-Erweiterung
3 Summary(fr):    Extension tcl
4 Summary(pl):    Rozszerzenie TCL
5 Summary(ru):    òÁÓÛÉÒÅÎÉÅ tcl ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ ÐÒÏÇÒÁÍÍÁÍÉ ÉÚ ÓËÒÉÐÔÏ×
6 Summary(tr):    Programlar arasý etkileþimi mümkün kýlan tcl geniþletmesi
7 Summary(uk):    òÏÚÛÉÒÅÎÎÑ tcl ÄÌÑ ËÅÒÕ×ÁÎÎÑ ÐÒÏÇÒÁÍÁÍÉ Ú¦ ÓËÒÉÐÔ¦×
8 Name:           expect
9 Version:        5.38.0
10 Release:        1
11 License:        BSD
12 Group:          Development/Languages/Tcl
13 Source0:        http://expect.nist.gov/src/%{name}-%{version}.tar.gz
14 # Source0-md5:  441c2466efecb644ac08d7b60916f665
15 Patch0:         %{name}-pty.patch
16 Patch1:         %{name}-alpha.patch
17 Patch2:         %{name}-bug7869.patch
18 Patch3:         %{name}-fixcat.patch
19 Patch4:         %{name}-jbj.patch
20 Icon:           tcl.gif
21 URL:            http://expect.nist.gov/
22 BuildRequires:  glibc-static
23 BuildRequires:  tcl-devel >= 8.3.2
24 BuildRequires:  tk-devel >= 8.3.2
25 BuildRequires:  autoconf
26 BuildRequires:  automake
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Expect is a tool for automating interactive applications such as
31 telnet, ftp, passwd, fsck, rlogin, tip, etc. It makes it easy for a
32 script to control another program and interact with it.
33
34 %description -l pl
35 Expect to narzêdzie do automatyzacji interakcji z aplikacjami takimi
36 jak telnet, ftp, passwd, fsck, rlogin, tip itp. Expect pozwala w ³atwy
37 sposób przy pomocy skryptu kontrolowaæ inny program.
38
39 %description -l de
40 Expect ist ein Tool zur Automatisierung interaktiver Applikationen wie
41 telnet, ftp, passwd, fsck, rlogin, tip usw. Mit seiner Hilfe kann ein
42 Skript ein anderes Programm sehr leicht steuern oder damit
43 interagieren.
44
45 %description -l fr
46 expect est un un outil pour automatiser les applications interactives
47 comme telnet, ftp, passwd, fsck, rlogin, tip, etc. Il est alors facile
48 pour un script de contrôler un autre programme et d'interagir avec
49 lui.
50
51 %description -l tr
52 Expect telnet, ftp, passwd, fsck, rlogin, tip gibi etkileþimli
53 uygulamalarý otomatize etmeye yarayan bir araçtýr. Bir uygulamanýn bir
54 diðer uygulamayý denetlemesini kolaylaþtýrýr.
55
56 %description -l ru
57 Expect - ÜÔÏ ÉÎÓÔÒÕÍÅÎÔ ÄÌÑ Á×ÔÏÍÁÔÉÚÁÃÉÉ ÉÎÔÅÒÁËÔÉ×ÎÙÈ ÐÒÏÇÒÁÍÍ,
58 ÔÁËÉÈ ËÁË telnet, ftp, passwd, fsck, rlogin, tip, É Ô.Ð. ðÏÚ×ÏÌÑÅÔ
59 ÕÐÒÁ×ÌÑÔØ ÐÒÏÇÒÁÍÍÁÍÉ É ×ÚÁÉÍÏÄÅÊÓÔ×Ï×ÁÔØ Ó ÎÉÍÉ ÉÚ ÓËÒÉÐÔÏ×.
60
61 %description -l uk
62 Expect - ÃÅ ¦ÎÓÔÒÕÍÅÎÔ ÄÌÑ Á×ÔÏÍÁÔÉÚÁ槠¦ÎÔÅÒÁËÔÉ×ÎÉÈ ÐÒÏÇÒÁÍ, ÔÁËÉÈ
63 ÑË telnet, ftp, passwd, fsck, rlogin, tip, ¦ Ô.¦. äÏÚ×ÏÌѤ ËÅÒÕ×ÁÔÉ
64 ÐÒÏÇÒÁÍÁÍÉ ÔÁ ×ÚÁ¤ÍÏĦÑÔÉ Ú ÎÉÍÉ Ú¦ ÓËÒÉÐÔ¦×.
65
66 %package X11
67 Summary:        tk extension
68 Summary(pl):    rozszerzenie tk
69 Group:          Development/Languages/Tcl
70 Requires:       %{name} = %{version}
71
72 %description X11
73 This package contains expectk, which is an Tk extension, just as
74 expect Tcl extension.
75
76 %description X11 -l pl
77 Ten pakiet zawiera expectk, który jest rozszerzeniem dla Tk takim jak
78 expect jest dla Tcl.
79
80 %package devel
81 Summary:        tcl extension header files and development documentation
82 Summary(pl):    Pliki nag³ówkowe i dokumentacja do rozszerzenia jêzyka TCL
83 Group:          Development/Languages/Tcl
84 Requires:       %{name} = %{version}
85 Requires:       tcl-devel
86
87 %description devel
88 Tcl extension language header files and develppment documentation.
89
90 %description devel -l pl
91 Pliki nag³ówkowe i dokumentacja do rozszerzenie jêzyka TCL.
92
93 %package        static
94 Summary:        tcl extension static library
95 Summary(pl):    Biblioteka statyczna rozszerzenia jêzyka TCL
96 Group:          Development/Languages/Tcl
97 Requires:       %{name}-devel = %{version}
98
99 %description static
100 Tcl extension language static library.
101
102 %description static -l pl
103 Biblioteka statyczna rozszerzenia jêzyka TCL.
104
105 %prep
106 %setup -q -n %{name}-5.38
107 %patch0 -p1
108 %patch1 -p1
109 %patch2 -p1
110 %patch3 -p1
111 %patch4 -p1
112
113 chmod +w {.,testsuite}/configure
114
115 %build
116 install /usr/share/automake/config.* .
117 %{__aclocal}
118 %{__autoconf}
119 cd testsuite
120 # aclocal doesn't work
121 cp ../aclocal.m4 .
122 %{__autoconf}
123 cd -
124 %configure \
125         --enable-gcc \
126         --enable-shared \
127         --with-tclconfig=%{_libdir} \
128         --with-tkconfig=%{_libdir} \
129         --with-tclinclude=%{_includedir} \
130         --with-tkinclude=%{_includedir}
131
132 cat expect_cf.h | sed "s|.*SETPGRP_VOID.*|\#define SETPGRP_VOID 1|" > expect_cf.h.new
133 mv -f expect_cf.h{.new,}
134
135 %{__make}
136
137 %install
138 rm -rf $RPM_BUILD_ROOT
139
140 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \
141 %{__make} install \
142         INSTALL_ROOT=$RPM_BUILD_ROOT
143
144 ( cd $RPM_BUILD_ROOT%{_bindir}; mv -f rftp rftp-expect )
145
146 %clean
147 rm -rf $RPM_BUILD_ROOT
148
149 %post   -p /sbin/ldconfig
150 %postun -p /sbin/ldconfig
151
152 %files
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_bindir}/autoexpect
155 %attr(755,root,root) %{_bindir}/autopasswd
156 %attr(755,root,root) %{_bindir}/cryptdir
157 %attr(755,root,root) %{_bindir}/decryptdir
158 %attr(755,root,root) %{_bindir}/dislocate
159 %attr(755,root,root) %{_bindir}/expect
160 %attr(755,root,root) %{_bindir}/ftp-rfc
161 %attr(755,root,root) %{_bindir}/kibitz
162 %attr(755,root,root) %{_bindir}/lpunlock
163 %attr(755,root,root) %{_bindir}/mkpasswd
164 %attr(755,root,root) %{_bindir}/passmass
165 %attr(755,root,root) %{_bindir}/rftp-expect
166 %attr(755,root,root) %{_bindir}/rlogin-cwd
167 %attr(755,root,root) %{_bindir}/timed-read
168 %attr(755,root,root) %{_bindir}/timed-run
169 %attr(755,root,root) %{_bindir}/unbuffer
170 %attr(755,root,root) %{_bindir}/weather
171 %dir %{_libdir}/expect*
172 %attr(755,root,root) %{_libdir}/expect*/pkgIndex.tcl
173 %attr(755,root,root) %{_libdir}/libe*.so
174 %{_mandir}/man1/autoexpect.*
175 %{_mandir}/man1/cryptdir.*
176 %{_mandir}/man1/decryptdir.*
177 %{_mandir}/man1/dislocate.*
178 %{_mandir}/man1/expect.*
179 %{_mandir}/man1/kibitz.*
180 %{_mandir}/man1/mkpasswd.*
181 %{_mandir}/man1/passmass.*
182 %{_mandir}/man1/unbuffer.*
183
184 %files X11
185 %defattr(644,root,root,755)
186 %attr(755,root,root) %{_bindir}/expectk
187 %attr(755,root,root) %{_bindir}/multixterm
188 %attr(755,root,root) %{_bindir}/tknewsbiff
189 %attr(755,root,root) %{_bindir}/tkpasswd
190 %attr(755,root,root) %{_bindir}/xkibitz
191 %attr(755,root,root) %{_bindir}/xpstat
192 %{_mandir}/man1/expectk.*
193 %{_mandir}/man1/multixterm.*
194 %{_mandir}/man1/tknewsbiff.*
195 %{_mandir}/man1/xkibitz.*
196
197 %files devel
198 %defattr(644,root,root,755)
199 %doc FAQ README ChangeLog
200 %{_includedir}/*
201 %{_mandir}/man3/*
202
203 %files static
204 %defattr(644,root,root,755)
205 %{_libdir}/*.a
This page took 0.04279 seconds and 4 git commands to generate.