X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=expect.spec;h=c1fd94fb14253e88e9ea8c110c30a85b51e82eff;hb=5bc42eba28003bbb020738572fe1b857c899ce8b;hp=7e4c869d29ed4fb94295fb338ca315bd676bc8da;hpb=8f5f02560fd111e126b5c9cb70dcaa061333b74e;p=packages%2Fexpect.git diff --git a/expect.spec b/expect.spec index 7e4c869..c1fd94f 100644 --- a/expect.spec +++ b/expect.spec @@ -1,17 +1,26 @@ -Summary: tcl extension to allow interaction between programs and scripts -Summary(de): tcl-Erweiterung zur Ermöglichung der Interaktion zwischen Programmen und Skripts -Summary(fr): Extension tcl permettant l'intéraction entre programmes et scripts" -Summary(pl): rozszerzenie tcl pozwalaj±ce na interakcjê miêdzy programami i skryptami -Summary(tr): Programlar arasý etkileþimi mümkün kýlan tcl geniþletmesi -Name: expect -Version: 5.26 -Release: 21 -Copyright: BSD -Group: Development/Languages/Tcl -Source: ftp://ftp.cme.nist.gov/pub/expect/expect.tar.gz -Icon: %{name}.gif -Patch: expect.patch -Buildroot: /tmp/%{name}-%{version}-root +Summary: tcl extension +Summary(de): tcl-Erweiterung +Summary(fr): Extension tcl +Summary(pl): Rozszerzenie TCL +Summary(tr): Programlar arasý etkileþimi mümkün kýlan tcl geniþletmesi +Name: expect +Version: 5.32.2 +Release: 49 +License: BSD +Group: Development/Languages/Tcl +Group(de): Entwicklung/Sprachen/Tcl +Group(pl): Programowanie/Jêzyki/Tcl +Source0: ftp://ftp.scriptics.com/pub/tcl/expect/%{name}.%{version}.tar.gz +Patch0: %{name}-pty.patch +Patch1: %{name}-alpha.patch +Patch2: %{name}-bug7869.patch +Patch3: %{name}-fixcat.patch +Patch4: %{name}-jbj.patch +Icon: tcl.gif +URL: http://expect.nist.gov/ +BuildRequires: tcl-devel >= 8.3.2 +BuildRequires: tk-devel >= 8.3.2 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Expect is a tool for automating interactive applications such as @@ -19,85 +28,87 @@ telnet, ftp, passwd, fsck, rlogin, tip, etc. It makes it easy for a script to control another program and interact with it. %description -l pl -Expect to narzêdzie do automatyzacji interakcji z aplikacjami -takimi jak telnet, ftp, passwd, fsck, rlogin, tip itp. Expect -pozwala w ³atwy sposób przy pomocy skryptu kontrolowaæ inny program. +Expect to narzêdzie do automatyzacji interakcji z aplikacjami takimi +jak telnet, ftp, passwd, fsck, rlogin, tip itp. Expect pozwala w ³atwy +sposób przy pomocy skryptu kontrolowaæ inny program. %description -l de -Expect ist ein Tool zur Automatisierung interaktiver Applikationen -wie telnet, ftp, passwd, fsck, rlogin, tip usw. Mit seiner Hilfe -kann ein Skript ein anderes Programm sehr leicht steuern oder -damit interagieren. +Expect ist ein Tool zur Automatisierung interaktiver Applikationen wie +telnet, ftp, passwd, fsck, rlogin, tip usw. Mit seiner Hilfe kann ein +Skript ein anderes Programm sehr leicht steuern oder damit +interagieren. %description -l fr expect est un un outil pour automatiser les applications interactives comme telnet, ftp, passwd, fsck, rlogin, tip, etc. Il est alors facile -pour un script de contrôler un autre programme et d'interagir avec lui. +pour un script de contrôler un autre programme et d'interagir avec +lui. %description -l tr -Expect telnet, ftp, passwd, fsck, rlogin, tip gibi etkileþimli uygulamalarý -otomatize etmeye yarayan bir araçtýr. Bir uygulamanýn bir diðer uygulamayý -denetlemesini kolaylaþtýrýr. +Expect telnet, ftp, passwd, fsck, rlogin, tip gibi etkileþimli +uygulamalarý otomatize etmeye yarayan bir araçtýr. Bir uygulamanýn bir +diðer uygulamayý denetlemesini kolaylaþtýrýr. %package devel -Summary: tcl extension header files and development documentation -Summary(pl): Pliki nag³ówkowe i dokumentacja developerska do rozszerzenia tcl -Group: Development/Languages/Tcl -Requires: %{name} = %{version} +Summary: tcl extension header files and development documentation +Summary(pl): Pliki nag³ówkowe i dokumentacja do rozszerzenia jêzyka TCL +Group: Development/Languages/Tcl +Group(de): Entwicklung/Sprachen/Tcl +Group(pl): Programowanie/Jêzyki/Tcl +Requires: %{name} = %{version} +Requires: tcl-devel %description devel Tcl extension language header files and develppment documentation. %description -l pl devel -Pliki nag³ówkowe i dokumentacja developersja do rozszerzenie jêzyka tcl. +Pliki nag³ówkowe i dokumentacja do rozszerzenie jêzyka TCL. -%package static -Summary: tcl extension static library -Summary(pl): Statyczna biblioteka rozszerzenia jêzyka tcl -Group: Development/Languages/Tcl -Requires: %{name}-devel = %{version} +%package static +Summary: tcl extension static library +Summary(pl): Biblioteka statyczna rozszerzenia jêzyka TCL +Group: Development/Languages/Tcl +Group(de): Entwicklung/Sprachen/Tcl +Group(pl): Programowanie/Jêzyki/Tcl +Requires: %{name}-devel = %{version} %description static Tcl extension language static library. %description -l pl static -Statyczna biblioteka rozszerzenia jêzyka tcl. +Biblioteka statyczna rozszerzenia jêzyka TCL. %prep -%setup -q -%patch -p1 +%setup -q -n %{name}5.32 +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 + +chmod +w configure %build -# make the libraries reentrant -#RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D_REENTRANT" - -TCL_BIN_DIR=/usr/bin \ -TCL_LIBRARY=/usr/lib \ -CFLAGS="$RPM_OPT_FLAGS" \ -./configure %{_target} \ - --enable-gcc \ - --enable-shared \ - --prefix=/usr \ - --with-tclconfig=/usr/lib -make -cd .. +autoconf +%configure \ + --enable-gcc \ + --enable-shared \ + --with-tclconfig=%{_libdir} \ + --with-tkconfig=/%{_libdir} \ + --with-tclinclude=%{_includedir} \ + --with-tkinclude=%{_includedir} +%{__make} %install rm -rf $RPM_BUILD_ROOT -#install -d $RPM_BUILD_ROOT/usr -LD_LIBRARY_PATH=$RPM_BUILD_ROOT/usr/lib \ -make prefix=$RPM_BUILD_ROOT/usr install +LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir} \ +%{__make} install \ + INSTALL_ROOT=$RPM_BUILD_ROOT -for n in $RPM_BUILD_ROOT/usr/bin/* ; do - if head -1 $n | grep '#!'; then - cp -a $n $n.in - sed "s|$RPM_BUILD_ROOT||" < $n.in > $n - rm -f $n.in - fi -done +( cd $RPM_BUILD_ROOT%{_bindir}; mv -f rftp rftp-expect ) -strip $RPM_BUILD_ROOT/usr/{bin/*,lib/libe*.so} || : +gzip -9nf FAQ README ChangeLog %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -106,67 +117,19 @@ strip $RPM_BUILD_ROOT/usr/{bin/*,lib/libe*.so} || : rm -rf $RPM_BUILD_ROOT %files -%attr(755, root, root) /usr/bin/* -%attr(755, root, root) %dir /usr/lib/expect* -%attr(755, root, root) /usr/lib/expect*/pkgIndex.tcl -%attr(755, root, root) /usr/lib/libe*.so -%attr(644, root, man) /usr/man/man1/* +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%dir %{_libdir}/expect* +%attr(755,root,root) %{_libdir}/expect*/pkgIndex.tcl +%attr(755,root,root) %{_libdir}/libe*.so +%{_mandir}/man1/* %files devel -%attr(644, root, root) /usr/include/* -%attr(644, root, man) /usr/man/man3/* +%defattr(644,root,root,755) +%doc *.gz +%{_includedir}/* +%{_mandir}/man3/* %files static -%attr(644, root, root) /usr/lib/lib*.a - -%changelog -* Sat Sep 26 1998 Arkadiusz Mi¶kiewicz - [5.26-2] -- added pl translation. - -* Thu Sep 8 1998 Tomasz K³oczko - [5.26-1] -- expect is now in separated source package from orher tcl/tk stuff, -- changed Buildroot to /tmp/%%{name}-%%{version}-root, -- added using %%{name} and %%{version} in Source, -- fixed using $RPM_OPT_FLAGS during compile (curren expect configure script - don't accept passing CFLAGS in enviroment variable), -- added stripping shared libraries and othet binary, -- added devel and static subpackage, -- added package icon, -- added %attr and %defattr macros in %files (allows build package from - non-root account). - -* Thu May 07 1998 Prospector System -- translations modified for de, fr, tr - -* Sat May 02 1998 Cristian Gafton -- fixed expect binaries exec permissions - -* Thu Apr 09 1998 Erik Troan -- updated to Tix 4.1.0.006 -- updated version numbers of tcl/tk to relflect includsion of p2 - -* Wed Mar 25 1998 Cristian Gafton -- updated tcl/tk to patch level 2 -- updated tclX to 8.0.2 - -* Thu Oct 30 1997 Otto Hammersmith -- fixed filelist for tix... replacing path to the expect binary in scripts - was leaving junk files around. - -* Wed Oct 22 1997 Otto Hammersmith -- added patch to remove libieee test in configure.in for tcl and tk. - Shoudln't be needed anymore for glibc systems, but this isn't the "proper" - solution for all systems -- fixed src urls - -* Mon Oct 06 1997 Erik Troan -- removed version numbers from descriptions - -* Mon Sep 22 1997 Erik Troan -- updated to tcl/tk 8.0 and related versions of packages - -* Tue Jun 17 1997 Erik Troan -- built against glibc -- fixed dangling tclx/tkx symlinks +%defattr(644,root,root,755) +%{_libdir}/*.a