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