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