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 ÄÌÑ ËÅÒÕ×ÁÎÎÑ ÐÒÏÇÒÁÍÁÍÉ Ú¦ ÓËÒÉÐÔ¦×
13 Group: Development/Languages/Tcl
14 Source0: http://expect.nist.gov/src/%{name}-%{version}.tar.gz
15 # Source0-md5: 38a39787ef888f4fa009a8384d5c7c0a
16 Patch0: %{name}-pty.patch
17 Patch1: %{name}-alpha.patch
18 Patch2: %{name}-bug7869.patch
19 Patch3: %{name}-fixcat.patch
20 Patch4: %{name}-jbj.patch
21 Patch5: %{name}-soname.patch
23 URL: http://expect.nist.gov/
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: tcl-devel >= 8.3.4
27 BuildRequires: tk-devel >= 8.3.4
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Expect is a tool for automating interactive applications such as
32 telnet, ftp, passwd, fsck, rlogin, tip, etc. It makes it easy for a
33 script to control another program and interact with it.
36 Expect to narzêdzie do automatyzacji interakcji z aplikacjami takimi
37 jak telnet, ftp, passwd, fsck, rlogin, tip itp. Expect pozwala w ³atwy
38 sposób przy pomocy skryptu kontrolowaæ inny program.
41 Expect ist ein Tool zur Automatisierung interaktiver Applikationen wie
42 telnet, ftp, passwd, fsck, rlogin, tip usw. Mit seiner Hilfe kann ein
43 Skript ein anderes Programm sehr leicht steuern oder damit
47 expect est un un outil pour automatiser les applications interactives
48 comme telnet, ftp, passwd, fsck, rlogin, tip, etc. Il est alors facile
49 pour un script de contrôler un autre programme et d'interagir avec
53 Expect telnet, ftp, passwd, fsck, rlogin, tip gibi etkileþimli
54 uygulamalarý otomatize etmeye yarayan bir araçtýr. Bir uygulamanýn bir
55 diðer uygulamayý denetlemesini kolaylaþtýrýr.
58 Expect - ÜÔÏ ÉÎÓÔÒÕÍÅÎÔ ÄÌÑ Á×ÔÏÍÁÔÉÚÁÃÉÉ ÉÎÔÅÒÁËÔÉ×ÎÙÈ ÐÒÏÇÒÁÍÍ,
59 ÔÁËÉÈ ËÁË telnet, ftp, passwd, fsck, rlogin, tip, É Ô.Ð. ðÏÚ×ÏÌÑÅÔ
60 ÕÐÒÁ×ÌÑÔØ ÐÒÏÇÒÁÍÍÁÍÉ É ×ÚÁÉÍÏÄÅÊÓÔ×Ï×ÁÔØ Ó ÎÉÍÉ ÉÚ ÓËÒÉÐÔÏ×.
63 Expect - ÃÅ ¦ÎÓÔÒÕÍÅÎÔ ÄÌÑ Á×ÔÏÍÁÔÉÚÁæ§ ¦ÎÔÅÒÁËÔÉ×ÎÉÈ ÐÒÏÇÒÁÍ, ÔÁËÉÈ
64 ÑË telnet, ftp, passwd, fsck, rlogin, tip, ¦ Ô.¦. äÏÚ×ÏÌѤ ËÅÒÕ×ÁÔÉ
65 ÐÒÏÇÒÁÍÁÍÉ ÔÁ ×ÚÁ¤ÍÏĦÑÔÉ Ú ÎÉÍÉ Ú¦ ÓËÒÉÐÔ¦×.
69 Summary(pl): Rozszerzenie Tk
70 Group: Development/Languages/Tcl
71 Requires: %{name} = %{version}
74 This package contains expectk, which is an Tk extension, just as
77 %description X11 -l pl
78 Ten pakiet zawiera expectk, który jest rozszerzeniem dla Tk takim jak
82 Summary: Tcl extension header files and development documentation
83 Summary(pl): Pliki nag³ówkowe i dokumentacja do rozszerzenia jêzyka Tcl
84 Group: Development/Languages/Tcl
85 Requires: %{name} = %{version}
89 Tcl extension language header files and develppment documentation.
91 %description devel -l pl
92 Pliki nag³ówkowe i dokumentacja do rozszerzenie jêzyka Tcl.
95 Summary: Tcl extension static library
96 Summary(pl): Biblioteka statyczna rozszerzenia jêzyka Tcl
97 Group: Development/Languages/Tcl
98 Requires: %{name}-devel = %{version}
101 Tcl extension language static library.
103 %description static -l pl
104 Biblioteka statyczna rozszerzenia jêzyka Tcl.
107 %setup -q -n %{name}-%{major}
115 chmod +w {.,testsuite}/configure
118 install /usr/share/automake/config.* .
122 # aclocal doesn't work
129 --with-tclconfig=%{_libdir} \
130 --with-tkconfig=%{_libdir} \
131 --with-tclinclude=%{_includedir} \
132 --with-tkinclude=%{_includedir}
134 cat expect_cf.h | sed "s|.*SETPGRP_VOID.*|\#define SETPGRP_VOID 1|" > expect_cf.h.new
135 mv -f expect_cf.h{.new,}
140 rm -rf $RPM_BUILD_ROOT
142 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \
144 INSTALL_ROOT=$RPM_BUILD_ROOT
146 mv -f $RPM_BUILD_ROOT%{_bindir}/{rftp,rftp-expect}
148 ln -sf $(cd $RPM_BUILD_ROOT%{_libdir} ; echo libexpect%{major}.so.*.*) \
149 $RPM_BUILD_ROOT%{_libdir}/libexpect%{major}.so
150 ln -sf $(cd $RPM_BUILD_ROOT%{_libdir} ; echo libexpect%{major}.so.*.*) \
151 $RPM_BUILD_ROOT%{_libdir}/libexpect.so
154 rm -rf $RPM_BUILD_ROOT
156 %post -p /sbin/ldconfig
157 %postun -p /sbin/ldconfig
160 %defattr(644,root,root,755)
161 %attr(755,root,root) %{_bindir}/autoexpect
162 %attr(755,root,root) %{_bindir}/autopasswd
163 %attr(755,root,root) %{_bindir}/cryptdir
164 %attr(755,root,root) %{_bindir}/decryptdir
165 %attr(755,root,root) %{_bindir}/dislocate
166 %attr(755,root,root) %{_bindir}/expect
167 %attr(755,root,root) %{_bindir}/ftp-rfc
168 %attr(755,root,root) %{_bindir}/kibitz
169 %attr(755,root,root) %{_bindir}/lpunlock
170 %attr(755,root,root) %{_bindir}/mkpasswd
171 %attr(755,root,root) %{_bindir}/passmass
172 %attr(755,root,root) %{_bindir}/rftp-expect
173 %attr(755,root,root) %{_bindir}/rlogin-cwd
174 %attr(755,root,root) %{_bindir}/timed-read
175 %attr(755,root,root) %{_bindir}/timed-run
176 %attr(755,root,root) %{_bindir}/unbuffer
177 %attr(755,root,root) %{_bindir}/weather
178 %dir %{_libdir}/expect*
179 %attr(755,root,root) %{_libdir}/expect*/pkgIndex.tcl
180 %attr(755,root,root) %{_libdir}/libexpect*.so.*.*
181 %{_mandir}/man1/autoexpect.*
182 %{_mandir}/man1/cryptdir.*
183 %{_mandir}/man1/decryptdir.*
184 %{_mandir}/man1/dislocate.*
185 %{_mandir}/man1/expect.*
186 %{_mandir}/man1/kibitz.*
187 %{_mandir}/man1/mkpasswd.*
188 %{_mandir}/man1/passmass.*
189 %{_mandir}/man1/unbuffer.*
192 %defattr(644,root,root,755)
193 %attr(755,root,root) %{_bindir}/expectk
194 %attr(755,root,root) %{_bindir}/multixterm
195 %attr(755,root,root) %{_bindir}/tknewsbiff
196 %attr(755,root,root) %{_bindir}/tkpasswd
197 %attr(755,root,root) %{_bindir}/xkibitz
198 %attr(755,root,root) %{_bindir}/xpstat
199 %{_mandir}/man1/expectk.*
200 %{_mandir}/man1/multixterm.*
201 %{_mandir}/man1/tknewsbiff.*
202 %{_mandir}/man1/xkibitz.*
205 %defattr(644,root,root,755)
206 %doc ChangeLog FAQ HISTORY NEWS README
207 %attr(755,root,root) %{_libdir}/libexpect*.so
212 %defattr(644,root,root,755)