]> git.pld-linux.org Git - packages/expect.git/blob - expect.spec
- proper BR for RA
[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 %define major   5.39
10 Version:        %{major}.0
11 Release:        1
12 License:        BSD
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
22 Icon:           tcl.gif
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)
29
30 %description
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.
34
35 %description -l pl
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.
39
40 %description -l de
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
44 interagieren.
45
46 %description -l fr
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
50 lui.
51
52 %description -l tr
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.
56
57 %description -l ru
58 Expect - ÜÔÏ ÉÎÓÔÒÕÍÅÎÔ ÄÌÑ Á×ÔÏÍÁÔÉÚÁÃÉÉ ÉÎÔÅÒÁËÔÉ×ÎÙÈ ÐÒÏÇÒÁÍÍ,
59 ÔÁËÉÈ ËÁË telnet, ftp, passwd, fsck, rlogin, tip, É Ô.Ð. ðÏÚ×ÏÌÑÅÔ
60 ÕÐÒÁ×ÌÑÔØ ÐÒÏÇÒÁÍÍÁÍÉ É ×ÚÁÉÍÏÄÅÊÓÔ×Ï×ÁÔØ Ó ÎÉÍÉ ÉÚ ÓËÒÉÐÔÏ×.
61
62 %description -l uk
63 Expect - ÃÅ ¦ÎÓÔÒÕÍÅÎÔ ÄÌÑ Á×ÔÏÍÁÔÉÚÁ槠¦ÎÔÅÒÁËÔÉ×ÎÉÈ ÐÒÏÇÒÁÍ, ÔÁËÉÈ
64 ÑË telnet, ftp, passwd, fsck, rlogin, tip, ¦ Ô.¦. äÏÚ×ÏÌѤ ËÅÒÕ×ÁÔÉ
65 ÐÒÏÇÒÁÍÁÍÉ ÔÁ ×ÚÁ¤ÍÏĦÑÔÉ Ú ÎÉÍÉ Ú¦ ÓËÒÉÐÔ¦×.
66
67 %package X11
68 Summary:        Tk extension
69 Summary(pl):    Rozszerzenie Tk
70 Group:          Development/Languages/Tcl
71 Requires:       %{name} = %{version}
72
73 %description X11
74 This package contains expectk, which is an Tk extension, just as
75 expect Tcl extension.
76
77 %description X11 -l pl
78 Ten pakiet zawiera expectk, który jest rozszerzeniem dla Tk takim jak
79 expect jest dla Tcl.
80
81 %package devel
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}
86 Requires:       tcl-devel
87
88 %description devel
89 Tcl extension language header files and develppment documentation.
90
91 %description devel -l pl
92 Pliki nag³ówkowe i dokumentacja do rozszerzenie jêzyka Tcl.
93
94 %package        static
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}
99
100 %description static
101 Tcl extension language static library.
102
103 %description static -l pl
104 Biblioteka statyczna rozszerzenia jêzyka Tcl.
105
106 %prep
107 %setup -q -n %{name}-%{major}
108 %patch0 -p1
109 %patch1 -p1
110 %patch2 -p1
111 %patch3 -p1
112 %patch4 -p1
113 %patch5 -p1
114
115 chmod +w {.,testsuite}/configure
116
117 %build
118 install /usr/share/automake/config.* .
119 %{__aclocal}
120 %{__autoconf}
121 cd testsuite
122 # aclocal doesn't work
123 cp ../aclocal.m4 .
124 %{__autoconf}
125 cd -
126 %configure \
127         --enable-gcc \
128         --enable-shared \
129         --with-tclconfig=%{_libdir} \
130         --with-tkconfig=%{_libdir} \
131         --with-tclinclude=%{_includedir} \
132         --with-tkinclude=%{_includedir}
133
134 cat expect_cf.h | sed "s|.*SETPGRP_VOID.*|\#define SETPGRP_VOID 1|" > expect_cf.h.new
135 mv -f expect_cf.h{.new,}
136
137 %{__make}
138
139 %install
140 rm -rf $RPM_BUILD_ROOT
141
142 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \
143 %{__make} install \
144         INSTALL_ROOT=$RPM_BUILD_ROOT
145
146 mv -f $RPM_BUILD_ROOT%{_bindir}/{rftp,rftp-expect}
147
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
152
153 %clean
154 rm -rf $RPM_BUILD_ROOT
155
156 %post   -p /sbin/ldconfig
157 %postun -p /sbin/ldconfig
158
159 %files
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.*
190
191 %files X11
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.*
203
204 %files devel
205 %defattr(644,root,root,755)
206 %doc ChangeLog FAQ HISTORY NEWS README
207 %attr(755,root,root) %{_libdir}/libexpect*.so
208 %{_includedir}/*
209 %{_mandir}/man3/*
210
211 %files static
212 %defattr(644,root,root,755)
213 %{_libdir}/*.a
This page took 0.075679 seconds and 3 git commands to generate.