File ckermit.spec of Package ckermit
#
# spec file for package ckermit (Version 8.0.211)
#
# 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
Name: ckermit
BuildRequires: ncurses-devel openssl-devel termcap
%define archiv_name cku211
License: Artistic License
Group: Hardware/Modem
Summary: A Combined Serial and Network Communication Software Package
Provides: kermit
AutoReqProv: on
Version: 8.0.211
Release: 159.2
Url: http://www.columbia.edu/kermit/
Source: %{archiv_name}.tar.bz2
Source1: skel.kermrc
Patch0: %{archiv_name}-fmt.diff
Patch1: %{archiv_name}-prototypes.diff
Patch2: %{archiv_name}-paths.diff
Patch3: %{archiv_name}-return.diff
Patch4: %{archiv_name}-EMrename.diff
Patch5: %{archiv_name}-debug.diff
Patch6: %{archiv_name}-uninitialized.diff
Patch7: %{archiv_name}-string_comparison.diff
Patch8: %{archiv_name}-strncat.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
C-Kermit is a combined serial and network communication software
package offering a consistent, medium-independent, and cross-platform
approach to connection establishment, terminal sessions, file transfer,
character-set translation, and automation of communication tasks.
%prep
%setup -q -c -n %{archiv_name}
%patch0
%patch1
%patch2
%patch3
%patch4
#%patch5
%patch6
%patch7
%patch8
%build
make linux+openssl+shadow KFLAGS="$RPM_OPT_FLAGS" \
SSLLIB="-L%{_libdir}" SSLINC="-I/usr/share/ssl/misc"\
TERMCAPLIB="-L%{_libdir}/termcap"
%install
install -d -m 755 $RPM_BUILD_ROOT/usr/bin
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 755 wermit $RPM_BUILD_ROOT/usr/bin/kermit
install -m 644 ckuker.nr $RPM_BUILD_ROOT%{_mandir}/man1/kermit.1
install -D -m 644 %{S:1} $RPM_BUILD_ROOT/etc/skel/.kermrc
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING.TXT *.txt *.ini
%doc %{_mandir}/man1/*
%config(noreplace) /etc/skel/.kermrc
/usr/bin/*
%changelog
* Wed Dec 5 2007 ro@suse.de
- move /etc/skel/.kermrc to this package
* Fri Mar 30 2007 rguenther@suse.de
- add ncurses-devel BuildRequires
* Thu Dec 14 2006 prusnak@suse.cz
- fixed 3rd argument in strncat functions
* Thu Nov 30 2006 prusnak@suse.cz
- fixed comparison with string literal (string_comparison.diff) [#224842]
* Mon Feb 27 2006 anicka@suse.cz
- fix uninitialized variable (#152938)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 mjancar@suse.cz
- add format attribute to custom ckermit printf prototype (#138978)
* Fri Jan 20 2006 mjancar@suse.cz
- fix short argument list for format (#138978)
* Fri Oct 14 2005 ro@suse.de
- rename EM to _EM (seems unused anyway)
* Fri Aug 6 2004 mjancar@suse.cz
- update to 8.0.211
* Tue Apr 20 2004 mjancar@suse.cz
- add return to nonvoid functions
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Wed Apr 23 2003 vbobek@suse.cz
- updated to new version 8.0.209
* built-in ftp client
* built-in http 1.1 client
* includes interface for external SSH program
* many new modem types added
* automatic text/binary mode switching
* proxy support
* scripting improvements
* bug fixes
- compiled with openssl+shadow passwords support
- fixed paths for termcap
- removed obsolete fix for 64bit-architectures (use %%_libdir in specfile
instead)
- fixed problematic cast warning on x86_64 (missing_includes.patch)
* Fri Feb 14 2003 vbobek@suse.cz
- used $RPM_OPT_FLAGS
- removed obsolete -mminimal-toc which is already included in $RPM_OPT_FLAGS
for ppc64 now [#23266]
* Tue Dec 3 2002 jderfina@suse.cz
- upgrade to version 8.0.206
- single patch splited to two more readable patches.
* Sun Dec 1 2002 ro@suse.de
- include errno.h where needed
* Mon Jul 1 2002 olh@suse.de
- hack to build with -mminimal-toc on ppc64
* Tue May 28 2002 ro@suse.de
- fixed for lib64 platforms
* Wed Feb 6 2002 pmladek@suse.cz
- updated to version 8.0.200:
* a new built-in FTP client
* a new HTTP 1.1 client
* telnet Com Port Option for dialing from Telnet modem servers
* file scanning for automatic text/binary determination
* learned scripts
* LISP-like S-Expressions and natural floating-point arithmetic
* lots of script programming improvements
* performance improvements and bug fixes
- fixed warnings on ia64
- disabled HAVE_PTMX test because makefile don't detect this correctly
* Wed May 16 2001 pmladek@suse.cz
- fixed cast warnings on ia64
* Mon Apr 23 2001 pmladek@suse.cz
- fixed conversions int <-> pointer on ia64
* Thu Feb 8 2001 cihlar@suse.cz
- fixed to compile
* Mon Oct 30 2000 cihlar@suse.cz
- bzipped sources
- fixed file list
* Mon Mar 13 2000 grimmer@suse.de
- now uses BUILD_ROOT for package building
* Fri Mar 10 2000 grimmer@suse.de
- initial version (7.0.197)
- added patch to correct location of docs (/usr/doc -> /usr/doc/packages)