Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
DISCONTINUED:openSUSE:11.1:Update
expect
expect.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File expect.spec of Package expect
# # spec file for package expect (Version 5.44.1.11) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Url: http://expect.nist.gov Name: expect BuildRequires: tcl-devel Version: 5.44.1.11 Release: 1.<RELEASE61> BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Languages/Tcl License: Public Domain, Freeware Summary: A Tool for Automating Interactive Programs AutoReqProv: on Source: %{name}-%{version}.tar.bz2 Source1: expect-rpmlintrc Patch1: expect.patch Patch2: expect-fixes.patch Patch3: expect-stty.patch %description Expect is a tool primarily for automating interactive applications, such as telnet, ftp, passwd, fsck, rlogin, tip, and more. Expect really makes this stuff trivial. Expect is also useful for testing these applications. It is described in many books, articles, papers, and FAQs. There is an entire book on it available from O'Reilly. Authors: -------- libes@nist.gov %package devel License: Public Domain, Freeware Group: Development/Libraries/Tcl Summary: Header Files and C API Documentation for expect %description devel This package contains header files and documentation needed for linking to expect from programs written in compiled languages like C, C++, etc. This package is not needed for developing scripts that run under the /usr/bin/expect interpreter, or any other Tcl interpreter with the expect package loaded. Authors: -------- libes@nist.gov %prep %setup -q %patch1 %patch2 %patch3 %build autoreconf CFLAGS="%optflags" \ ./configure \ --prefix=%_prefix \ --libdir=%_libdir \ --with-tcl=%_libdir \ --with-tk=no_tk \ --mandir=%_mandir \ --with-tclinclude=/usr/include \ --enable-shared make all pkglibdir=%_libdir/tcl/%name%version %check make test %install # set the right path to the expect binary... sed -i \ -e '1s,^#![^ ]*expectk,#!/usr/bin/wish\npackage require Expect,' \ -e '1s,^#![^ ]*expect,#!/usr/bin/expect,' \ example/* make install DESTDIR=$RPM_BUILD_ROOT pkglibdir=%_libdir/tcl/%name%version # Remove some executables and manpages we don't want to ship rm $RPM_BUILD_ROOT%_prefix/bin/*passwd rm $RPM_BUILD_ROOT%_mandir/*/*passwd* %clean rm -rf %buildroot %files %defattr(-,root,root) %_prefix/bin/* %_libdir/tcl/* %_libdir/lib*so %doc %_mandir/man1/* %doc ChangeLog HISTORY INSTALL FAQ NEWS README %files devel %defattr(-,root,root) %_includedir/* %doc %_mandir/man3/* %changelog * Thu May 28 2009 max@suse.de - Add expect-stty.patch to fix a buffer overflow in the "stty" command (bnc#501291). * Tue Oct 14 2008 max@suse.de - Update to version 5.44.1.11 from CVS. The changes mainly consist of our former expect-fixes.patch and expect-warnings.patch, plus some more bug fixes, e.g. for the [expect -exact] crash reported at bnc#427270 . * Tue Oct 14 2008 meissner@suse.de - fixed fortify implicits. * Tue May 06 2008 aj@suse.de - Add missing return values. * Thu Apr 03 2008 max@suse.de - Fixed swapped arguments in prototype of exp_cmd_init() - Adjusted installation to the new Tcl file system layout * Thu Mar 20 2008 max@suse.de - Update to version 5.44.1.5 from CVS: * Improved internal buffer management * Ported script-level commands to the newer Tcl object API * Optimized regular expression matching - Split off a -devel subpackage - Don't package the example subdir anymore. - Fix all critical and part of the non-critical warnings that show up with gcc 4.3. To be continued... * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Dec 13 2005 max@suse.de - Fixed a typo in tcl.m4 that broke configure with bash 3.1. - Updated expect-CVS.patch.bz2 . * Fri Sep 23 2005 ro@suse.de - fix some missing declarations * Tue Jun 14 2005 max@suse.de - New version: 5.43 plus patch to current CVS head. - Disabled building of the static library. - Moved script library to /usr/share/tcl . * Tue Jul 13 2004 max@suse.de - New version: 5.41. * Mon Mar 01 2004 max@suse.de - Re-enabled the test suite and added expect-send_tty.patch to prevent it from crashing. * Fri Feb 27 2004 max@suse.de - New version: 5.40 - Fixed warnings that broke build (expect-warnings.patch). - Temporarily disabled "make test" to prevent crashes in autobuild on some architectures (ppc, s390). * Fri Oct 31 2003 max@suse.de - New version: 5.39 - Buliding as non-root user * Wed May 28 2003 ro@suse.de - package include files and static lib as well * Tue Jan 28 2003 max@suse.de - Fixed path to /usr/bin/write in kibitz. * Fri Jan 10 2003 max@suse.de - Fixed a segfault case during application shutdown, and sent the patch to the author. * Tue Nov 26 2002 max@suse.de - New version: 5.38 - Don't build the expectk binary anymore to remove the buildtime dependency on Tk and X. Scripts that needed to run in expectk before can be fixed by running them in expect and adding a line that says "package require Tk" before the first tk command is executed. * Mon Aug 19 2002 aj@suse.de - Read all input from invoked program. * Wed Apr 03 2002 max@suse.de - Replaced autoreconf by autoconf because it breaks on autoconf-2.53 and was overkill anyways. * Wed Feb 20 2002 max@suse.de - Fixed for lib64-s390x. * Thu Jan 24 2002 max@suse.de - Removed the mkpasswd manpage due to a file name conflict and because the respective program is also not included. * Fri Jan 18 2002 max@suse.de - added tk to neededforbuild to prevent linking to static libtk which is included in tcl-devel * Fri Jan 18 2002 ro@suse.de - fixed neededforbuild * Thu Jan 17 2002 max@suse.de - New version 5.34. - Separated this package from the tcl source RPM, because it doesn not any longer need the Tcl and Tk sources at hand.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor