]> git.pld-linux.org Git - packages/expect.git/blob - expect.spec
- removed unused Patch5.
[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 Icon:           tcl.gif
20 URL:            http://expect.nist.gov/
21 BuildRequires:  tcl-devel >= 8.3.2
22 BuildRequires:  tk-devel >= 8.3.2
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description
26 Expect is a tool for automating interactive applications such as
27 telnet, ftp, passwd, fsck, rlogin, tip, etc. It makes it easy for a
28 script to control another program and interact with it.
29
30 %description -l pl
31 Expect to narzêdzie do automatyzacji interakcji z aplikacjami takimi
32 jak telnet, ftp, passwd, fsck, rlogin, tip itp. Expect pozwala w ³atwy
33 sposób przy pomocy skryptu kontrolowaæ inny program.
34
35 %description -l de
36 Expect ist ein Tool zur Automatisierung interaktiver Applikationen wie
37 telnet, ftp, passwd, fsck, rlogin, tip usw. Mit seiner Hilfe kann ein
38 Skript ein anderes Programm sehr leicht steuern oder damit
39 interagieren.
40
41 %description -l fr
42 expect est un un outil pour automatiser les applications interactives
43 comme telnet, ftp, passwd, fsck, rlogin, tip, etc. Il est alors facile
44 pour un script de contrôler un autre programme et d'interagir avec
45 lui.
46
47 %description -l tr
48 Expect telnet, ftp, passwd, fsck, rlogin, tip gibi etkileþimli
49 uygulamalarý otomatize etmeye yarayan bir araçtýr. Bir uygulamanýn bir
50 diðer uygulamayý denetlemesini kolaylaþtýrýr.
51
52 %package devel
53 Summary:        tcl extension header files and development documentation
54 Summary(pl):    Pliki nag³ówkowe i dokumentacja do rozszerzenia jêzyka TCL
55 Group:          Development/Languages/Tcl
56 Group(de):      Entwicklung/Sprachen/Tcl
57 Group(pl):      Programowanie/Jêzyki/Tcl
58 Requires:       %{name} = %{version}
59 Requires:       tcl-devel
60
61 %description devel
62 Tcl extension language header files and develppment documentation.
63
64 %description -l pl devel
65 Pliki nag³ówkowe i dokumentacja do rozszerzenie jêzyka TCL.
66
67 %package        static
68 Summary:        tcl extension static library
69 Summary(pl):    Biblioteka statyczna rozszerzenia jêzyka TCL
70 Group:          Development/Languages/Tcl
71 Group(de):      Entwicklung/Sprachen/Tcl
72 Group(pl):      Programowanie/Jêzyki/Tcl
73 Requires:       %{name}-devel = %{version}
74
75 %description static
76 Tcl extension language static library.
77
78 %description -l pl static
79 Biblioteka statyczna rozszerzenia jêzyka TCL.
80
81 %prep
82 %setup  -q -n %{name}5.32
83 %patch0 -p1
84 %patch1 -p1
85 %patch2 -p1
86 %patch3 -p1
87 %patch4 -p1
88
89 chmod +w configure
90
91 %build
92 autoconf
93 %configure \
94         --enable-gcc \
95         --enable-shared \
96         --with-tclconfig=%{_libdir} \
97         --with-tkconfig=/%{_libdir} \
98         --with-tclinclude=%{_includedir} \
99         --with-tkinclude=%{_includedir}
100 %{__make} 
101
102 %install
103 rm -rf $RPM_BUILD_ROOT
104
105 LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \
106 %{__make} install \
107         INSTALL_ROOT=$RPM_BUILD_ROOT
108
109 ( cd $RPM_BUILD_ROOT%{_bindir}; mv -f rftp rftp-expect )
110
111 gzip -9nf FAQ README ChangeLog
112
113 %post   -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %files
120 %defattr(644,root,root,755)
121 %attr(755,root,root) %{_bindir}/*
122 %dir %{_libdir}/expect*
123 %attr(755,root,root) %{_libdir}/expect*/pkgIndex.tcl
124 %attr(755,root,root) %{_libdir}/libe*.so
125 %{_mandir}/man1/*
126
127 %files devel
128 %defattr(644,root,root,755)
129 %doc *.gz
130 %{_includedir}/*
131 %{_mandir}/man3/*
132
133 %files static
134 %defattr(644,root,root,755)
135 %{_libdir}/*.a
This page took 0.086335 seconds and 3 git commands to generate.