]> git.pld-linux.org Git - packages/expect.git/blob - expect.spec
- version 5.38 (can somebody update SOURCES?)
[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
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 %post   -p /sbin/ldconfig
146 %postun -p /sbin/ldconfig
147
148 %clean
149 rm -rf $RPM_BUILD_ROOT
150
151 %files
152 %defattr(644,root,root,755)
153 %attr(755,root,root) %{_bindir}/autoexpect
154 %attr(755,root,root) %{_bindir}/autopasswd
155 %attr(755,root,root) %{_bindir}/cryptdir
156 %attr(755,root,root) %{_bindir}/decryptdir
157 %attr(755,root,root) %{_bindir}/dislocate
158 %attr(755,root,root) %{_bindir}/expect
159 %attr(755,root,root) %{_bindir}/ftp-rfc
160 %attr(755,root,root) %{_bindir}/kibitz
161 %attr(755,root,root) %{_bindir}/lpunlock
162 %attr(755,root,root) %{_bindir}/mkpasswd
163 %attr(755,root,root) %{_bindir}/passmass
164 %attr(755,root,root) %{_bindir}/rftp-expect
165 %attr(755,root,root) %{_bindir}/rlogin-cwd
166 %attr(755,root,root) %{_bindir}/timed-read
167 %attr(755,root,root) %{_bindir}/timed-run
168 %attr(755,root,root) %{_bindir}/unbuffer
169 %attr(755,root,root) %{_bindir}/weather
170 %dir %{_libdir}/expect*
171 %attr(755,root,root) %{_libdir}/expect*/pkgIndex.tcl
172 %attr(755,root,root) %{_libdir}/libe*.so
173 %{_mandir}/man1/autoexpect.*
174 %{_mandir}/man1/cryptdir.*
175 %{_mandir}/man1/decryptdir.*
176 %{_mandir}/man1/dislocate.*
177 %{_mandir}/man1/expect.*
178 %{_mandir}/man1/kibitz.*
179 %{_mandir}/man1/mkpasswd.*
180 %{_mandir}/man1/passmass.*
181 %{_mandir}/man1/unbuffer.*
182
183 %files X11
184 %defattr(644,root,root,755)
185 %attr(755,root,root) %{_bindir}/expectk
186 %attr(755,root,root) %{_bindir}/tknewsbiff
187 %attr(755,root,root) %{_bindir}/tkpasswd
188 %attr(755,root,root) %{_bindir}/xkibitz
189 %attr(755,root,root) %{_bindir}/xpstat
190 %{_mandir}/man1/expectk.*
191 %{_mandir}/man1/tknewsbiff.*
192 %{_mandir}/man1/xkibitz.*
193
194 %files devel
195 %defattr(644,root,root,755)
196 %doc FAQ README ChangeLog
197 %{_includedir}/*
198 %{_mandir}/man3/*
199
200 %files static
201 %defattr(644,root,root,755)
202 %{_libdir}/*.a
This page took 0.085537 seconds and 4 git commands to generate.