Summary: The quintessential all-purpose communications program Name: ckermit Version: 9.0 Release: 0.1.beta2%{?dist} License: BSD with advertising and MIT # Most of the package is under a three-clause BSD license, but the file # ckaut2.h appears to be covered by three licenses: # The blanket license in COPYING.TXT and ckcmai.c, which is BSD three-clause # BSD four-clause (w/ advertising) # MIT Old Style (no advertising without permission) Group: Applications/Communications # Ugly non-versioned URL for beta test source tarball: Source0: http://www.columbia.edu/kermit/ftp/test/tar/x.tar.gz # Once released, there should be a properly versioned URL something like: #Source0: ftp://kermit.columbia.edu/kermit/archives/cku211.tar.gz Source1: ckermit.ini Source2: cku-%{name}.local.ini Source3: cku-%{name}.modem.generic.ini Source4: cku-%{name}.locale.ini Source5: cku-%{name}.phone URL: http://www.columbia.edu/kermit/ck90.html BuildRequires: pam-devel BuildRequires: pkgconfig BuildRequires: openssl-devel >= 0.9.7 BuildRequires: gmp-devel >= 3.1.1 BuildRequires: libtermcap-devel BuildRequires: ncurses-devel BuildRequires: lockdev-devel >= 1.0.1-8 Requires: lockdev >= 1.0.1-8 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # NB There used to be a spurious "Obsoletes: gkermit" line here, but ckermit # does NOT obsolete gkermit. They are independent programs with different # purposes. %description C-Kermit is a combined serial and network communication software package offering a consistent, medium-independent, cross-platform approach to connection establishment, terminal sessions, file transfer and management, character-set translation, and automation of communication tasks. %prep %setup -q -c %build %{__make} linux \ KFLAGS="-O0 $RPM_OPT_FLAGS -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_BAUDBOY -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)='" \ K4LIB= \ K4INC= \ K5LIB=-lutil \ K5INC=-I%{_includedir}/et \ SSLLIB= \ SSLINC= \ %{?_smp_mflags} # convert doc file from ISO-8859-1 to UTF-8 encoding for f in ckc299.txt do iconv -fiso88591 -tutf8 $f >$f.new touch -r $f $f.new mv $f.new $f done %install rm -rf %{buildroot} install -d %{buildroot}{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/kermit} perl -pi -e "s|%{_prefix}/local/bin/kermit|%{_bindir}/kermit|g" ckermit.ini install -m 755 wermit %{buildroot}%{_bindir}/kermit install -m 644 ckuker.nr %{buildroot}%{_mandir}/man1/kermit.1 install -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/kermit/ install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/kermit/ckermit.local.ini install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/kermit/ckermit.modem.ini install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/kermit/ckermit.locale.ini install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/kermit/ckermit.phone %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_bindir}/kermit %dir %{_sysconfdir}/kermit %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/kermit/* %{_mandir}/man1/kermit.1* %doc COPYING.TXT %doc ckc299.txt %changelog * Fri Jun 24 2011 Eric Smith - 9.0-0.1.beta2 - updated to upstream 9.0 beta 2 release * Mon Jul 03 2006 Peter Vrabec - 8.0.211-5 - fix requires (#195573) * Fri Feb 10 2006 Jesse Keating - 8.0.211-4.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 8.0.211-4.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Tue Nov 8 2005 Tomas Mraz 8.0.211-4 - rebuilt with new openssl * Wed Aug 31 2005 Peter Vrabec 8.0.211-3 - use baudboy.h to create per-device lock(s) in /var/lock (#166155) * Fri Jul 29 2005 Peter Vrabec 8.0.211-2 - use openpty library (#156417,#164465) * Wed Mar 15 2005 Nalin Dahyabhai 8.0.211-1 - update to 211 * Mon Feb 28 2005 Nalin Dahyabhai - remove now-unnecessary use of krb5_init_ets() * Thu Feb 08 2005 Peter Vrabec - rebuilt * Tue Nov 02 2004 Peter Vrabec - fix ssh connection (#128349) * Wed Oct 20 2004 Peter Vrabec - add BuildRequires: libtermcap-devel BuildRequires: ncurses-devel - rebuilt * Tue Jun 15 2004 Elliot Lee - rebuilt * Thu Apr 1 2004 Jeff Johnson 8.0.209-7 - remove old copyright from description (#115952). * Fri Feb 13 2004 Elliot Lee - rebuilt * Mon Jan 19 2004 Jeff Johnson 8.0.209-5 - fix: printf arg lists cleaned up, (itsadir && !iswild(*xp)) (#113663) * Tue Jul 22 2003 Nalin Dahyabhai 8.0.209-4 - rebuild * Wed Jun 04 2003 Elliot Lee - rebuilt * Thu May 1 2003 Elliot Lee 8.0.209-2 - Define sdata=s_data to fix ppc64 build * Mon Apr 21 2003 Jeff Johnson 8.0.209-1 - update to 8.0.209. * Wed Feb 26 2003 Jeff Johnson 8.0.206-1.20030226 - build 20030226 snap shot (with errno fix) for raw hide. * Thu Jan 23 2003 Tim Powers 8.0.206-0.6 - rebuild * Tue Jan 21 2003 Jeff Johnson 8.0.26-0.5 - remove "CLICK HERE" from description (#82133). * Tue Jan 7 2003 Nalin Dahyabhai 8.0.206-0.4 - rebuild * Fri Jan 3 2003 Nalin Dahyabhai - Build using predefined redhat80 target - Pass include and library paths for Kerberos and SSL directly to make - Define OPENSSL_097 in KFLAGS to build with OpenSSL 0.9.7 * Thu Dec 12 2002 Elliot Lee 8.0.206-0.3 - Add patch2 to include errno.h - Change cku-makefile to not build KRB4 & KRB524, because kerberosIV/des.h conflicts with openssl/des.h * Fri Nov 29 2002 Jeff Johnson 8.0.206-0.2 - obsolete gkermit * Mon Nov 25 2002 Jeff Johnson 8.0.206-0.1 - create (with thanks to PLD, who packaged C-Kermit before Red Hat did).