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