]> git.pld-linux.org Git - packages/expect.git/blob - expect.spec
- updated to 5.32.2 (Release 49 for allow upgrade from RH vversion),
[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(tr):    Programlar arasý etkileþimi mümkün kýlan tcl geniþletmesi
6 Name:           expect
7 Version:        5.32.2
8 Release:        49
9 License:        BSD
10 Group:          Development/Languages/Tcl
11 Group(de):      Entwicklung/Sprachen/Tcl
12 Group(pl):      Programowanie/Jêzyki/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 Patch5:         %{name}-DESTDIR.patch
20 Icon:           tcl.gif
21 URL:            http://expect.nist.gov/
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 %package devel
54 Summary:        tcl extension header files and development documentation
55 Summary(pl):    Pliki nag³ówkowe i dokumentacja do rozszerzenia jêzyka TCL
56 Group:          Development/Languages/Tcl
57 Group(de):      Entwicklung/Sprachen/Tcl
58 Group(pl):      Programowanie/Jêzyki/Tcl
59 Requires:       %{name} = %{version}
60 Requires:       tcl-devel
61
62 %description devel
63 Tcl extension language header files and develppment documentation.
64
65 %description -l pl devel
66 Pliki nag³ówkowe i dokumentacja do rozszerzenie jêzyka TCL.
67
68 %package        static
69 Summary:        tcl extension static library
70 Summary(pl):    Biblioteka statyczna rozszerzenia jêzyka TCL
71 Group:          Development/Languages/Tcl
72 Group(de):      Entwicklung/Sprachen/Tcl
73 Group(pl):      Programowanie/Jêzyki/Tcl
74 Requires:       %{name}-devel = %{version}
75
76 %description static
77 Tcl extension language static library.
78
79 %description -l pl static
80 Biblioteka statyczna rozszerzenia jêzyka TCL.
81
82 %prep
83 %setup  -q -n %{name}5.32
84 %patch0 -p1
85 %patch1 -p1
86 %patch2 -p1
87 %patch3 -p1
88 %patch4 -p1
89
90 chmod +w configure
91
92 %build
93 autoconf
94 %configure \
95         --enable-gcc \
96         --enable-shared \
97         --with-tclconfig=%{_libdir} \
98         --with-tkconfig=/%{_libdir} \
99         --with-tclinclude=%{_includedir} \
100         --with-tkinclude=%{_includedir}
101 %{__make} 
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105
106 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \
107 %{__make} install \
108         INSTALL_ROOT=$RPM_BUILD_ROOT
109
110 ( cd $RPM_BUILD_ROOT%{_bindir}; mv -f rftp rftp-expect )
111
112 gzip -9nf FAQ README ChangeLog
113
114 %post   -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %files
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_bindir}/*
123 %dir %{_libdir}/expect*
124 %attr(755,root,root) %{_libdir}/expect*/pkgIndex.tcl
125 %attr(755,root,root) %{_libdir}/libe*.so
126 %{_mandir}/man1/*
127
128 %files devel
129 %defattr(644,root,root,755)
130 %doc *.gz
131 %{_includedir}/*
132 %{_mandir}/man3/*
133
134 %files static
135 %defattr(644,root,root,755)
136 %{_libdir}/*.a
This page took 0.070694 seconds and 4 git commands to generate.