]> git.pld-linux.org Git - packages/expect.git/blob - expect.spec
- hacked regeneration of configure script
[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.32.2
10 Release:        52.1
11 License:        BSD
12 Group:          Development/Languages/Tcl
13 Source0:        ftp://ftp.scriptics.com/pub/tcl/expect/%{name}.%{version}.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 -n %{name}5.32
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 %{__make}
131
132 %install
133 rm -rf $RPM_BUILD_ROOT
134
135 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \
136 %{__make} install \
137         INSTALL_ROOT=$RPM_BUILD_ROOT
138
139 ( cd $RPM_BUILD_ROOT%{_bindir}; mv -f rftp rftp-expect )
140
141 gzip -9nf FAQ README ChangeLog
142
143 %post   -p /sbin/ldconfig
144 %postun -p /sbin/ldconfig
145
146 %clean
147 rm -rf $RPM_BUILD_ROOT
148
149 %files
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_bindir}/autoexpect
152 %attr(755,root,root) %{_bindir}/autopasswd
153 %attr(755,root,root) %{_bindir}/cryptdir
154 %attr(755,root,root) %{_bindir}/decryptdir
155 %attr(755,root,root) %{_bindir}/dislocate
156 %attr(755,root,root) %{_bindir}/expect
157 %attr(755,root,root) %{_bindir}/ftp-rfc
158 %attr(755,root,root) %{_bindir}/kibitz
159 %attr(755,root,root) %{_bindir}/lpunlock
160 %attr(755,root,root) %{_bindir}/mkpasswd
161 %attr(755,root,root) %{_bindir}/passmass
162 %attr(755,root,root) %{_bindir}/rftp-expect
163 %attr(755,root,root) %{_bindir}/rlogin-cwd
164 %attr(755,root,root) %{_bindir}/timed-read
165 %attr(755,root,root) %{_bindir}/timed-run
166 %attr(755,root,root) %{_bindir}/unbuffer
167 %attr(755,root,root) %{_bindir}/weather
168 %dir %{_libdir}/expect*
169 %attr(755,root,root) %{_libdir}/expect*/pkgIndex.tcl
170 %attr(755,root,root) %{_libdir}/libe*.so
171 %{_mandir}/man1/autoexpect.*
172 %{_mandir}/man1/cryptdir.*
173 %{_mandir}/man1/decryptdir.*
174 %{_mandir}/man1/dislocate.*
175 %{_mandir}/man1/expect.*
176 %{_mandir}/man1/kibitz.*
177 %{_mandir}/man1/mkpasswd.*
178 %{_mandir}/man1/passmass.*
179 %{_mandir}/man1/unbuffer.*
180
181 %files X11
182 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_bindir}/expectk
184 %attr(755,root,root) %{_bindir}/tknewsbiff
185 %attr(755,root,root) %{_bindir}/tkpasswd
186 %attr(755,root,root) %{_bindir}/xkibitz
187 %attr(755,root,root) %{_bindir}/xpstat
188 %{_mandir}/man1/expectk.*
189 %{_mandir}/man1/tknewsbiff.*
190 %{_mandir}/man1/xkibitz.*
191
192 %files devel
193 %defattr(644,root,root,755)
194 %doc *.gz
195 %{_includedir}/*
196 %{_mandir}/man3/*
197
198 %files static
199 %defattr(644,root,root,755)
200 %{_libdir}/*.a
This page took 0.054805 seconds and 3 git commands to generate.