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