]>
Commit | Line | Data |
---|---|---|
022cb3c5 JR |
1 | Summary: The quintessential all-purpose communications program |
2 | Name: ckermit | |
3 | Version: 7.0.197 | |
e552268c | 4 | Release: 3 |
5 | License: Special (see Copyright Notice) | |
6 | Vendor: The Kermit Project <kermit@columbia.edu> | |
022cb3c5 | 7 | Group: Applications/Communications |
8d2629ea | 8 | Group(de): Applikationen/Kommunikation |
7e5c8448 | 9 | Group(pl): Aplikacje/Komunikacja |
022cb3c5 | 10 | Source0: ftp://kermit.columbia.edu/kermit/archives/cku197.tar.gz |
7e5c8448 | 11 | Source1: cku-%{name}.local.ini |
12 | Source2: cku-%{name}.modem.generic.ini | |
13 | Source3: cku-%{name}.locale.ini | |
14 | Source4: cku-%{name}.phone | |
022cb3c5 JR |
15 | Patch0: cku-ssl-krb-srp.patch.gz |
16 | Patch1: cku-makefile.patch | |
a13c919a | 17 | URL: http://www.columbia.edu/kermit/ |
022cb3c5 | 18 | BuildRequires: pam-devel |
e552268c | 19 | BuildRequires: openssl-devel >= 0.9.6a |
022cb3c5 JR |
20 | BuildRequires: gmp-devel |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | C-Kermit is a combined serial and network communication software | |
25 | package offering a consistent, medium-independent, cross-platform | |
26 | approach to connection establishment, terminal sessions, file transfer | |
27 | and management, character-set translation, and automation of | |
7e5c8448 | 28 | communication tasks. For more information please see: |
022cb3c5 | 29 | |
7e5c8448 | 30 | http://www.columbia.edu/kermit/ |
022cb3c5 | 31 | |
7e5c8448 | 32 | C-KERMIT 7.0 COPYRIGHT NOTICE: |
022cb3c5 | 33 | |
7e5c8448 | 34 | The C-Kermit license does not fall into any convenient category. It is |
35 | not commercial, not shareware, not freeware, not GPL. The terms can be | |
36 | summarized as follows: | |
022cb3c5 | 37 | |
7e5c8448 | 38 | 1. You may download C-Kermit without license or fee for your own use |
39 | or internal use within your company or institution. | |
022cb3c5 | 40 | |
7e5c8448 | 41 | 2. You may install C-Kermit without license or fee as a service or |
42 | application on a computer within your company that is accessed by | |
43 | customers or clients. This provision would apply, for example, to an | |
44 | ISP or a medical claims clearinghouse. | |
022cb3c5 | 45 | |
7e5c8448 | 46 | 3. You may include C-Kermit with a "Free UNIX" or other Open Source |
47 | operating-system distribution such as GNU/Linux, FreeBSD, NetBSD, | |
48 | OpenBSD, etc. | |
022cb3c5 | 49 | |
7e5c8448 | 50 | 4. Except as in (3), you may not sell or otherwise furnish C-Kermit as |
51 | a software product, or a component of any product, to actual or | |
52 | potential customers or clients without a commercial license; to see | |
53 | the commercial license terms, CLICK HERE. | |
022cb3c5 | 54 | |
7e5c8448 | 55 | In addition, we request that those who make more than casual use of |
56 | C-Kermit purchase the published manual, Using C-Kermit. This helps | |
57 | them to get the most out of the software, it reduces the load on our | |
58 | help desk, and it helps to fund the Kermit Project. | |
022cb3c5 | 59 | |
7e5c8448 | 60 | The Kermit Project must fund itself entirely out of income, which |
61 | comes from software licenses, book sales, and support contracts. The | |
62 | C-Kermit licensing terms are designed to be as generous and fair as | |
63 | possible within this framework. Simply stated: if you just want to use | |
64 | it, be our guest. If you want us to help you use it, please consult | |
65 | the manual first. If you want to make a product or commodity of it, | |
66 | you have to pay for it. | |
022cb3c5 JR |
67 | |
68 | ||
69 | %prep | |
70 | %setup -q -c | |
71 | %patch0 -p1 | |
72 | %patch1 -p1 | |
73 | ||
74 | %build | |
8d2629ea JB |
75 | %{__make} linux-PLD+ssl+pam OPT="%{rpmcflags}" LNKFLAGS="%{rpmldflags}" |
76 | #make linux-pld-ssl-srp-pam OPT="%{rpmcflags}" LDFLAGS="%{rpmldflags}" | |
77 | #make linux-pld-krb-ssl-srp-pam OPT="%{rpmcflags}" LDFLAGS="%{rpmldflags}" | |
022cb3c5 JR |
78 | |
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
7e5c8448 | 81 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/kermit} |
022cb3c5 | 82 | |
7e5c8448 | 83 | perl -pi -e "s|%{_prefix}/local/bin/kermit|%{_bindir}/kermit|g" ckermit.ini |
7b7d6006 | 84 | |
8d2629ea | 85 | install krbmit $RPM_BUILD_ROOT%{_bindir}/kermit |
022cb3c5 JR |
86 | install ckuker.nr $RPM_BUILD_ROOT%{_mandir}/man1/kermit.1 |
87 | install ckermit.ini $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ | |
88 | install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.local.ini | |
89 | install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.modem.ini | |
90 | install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.locale.ini | |
91 | install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.phone | |
92 | ||
93 | gzip -9nf ckaaaa.txt ckc197.txt ckcbwr.txt ckccfg.txt ckcplm.txt \ | |
94 | ckermit2.txt ckuaaa.txt ckubwr.txt ckwart.txt iksd.txt \ | |
8d2629ea | 95 | security.txt telnet.txt COPYING.TXT |
022cb3c5 JR |
96 | |
97 | %clean | |
98 | rm -rf $RPM_BUILD_ROOT | |
99 | ||
100 | %files | |
7e5c8448 | 101 | %defattr(644,root,root,755) |
e552268c | 102 | %doc *.gz |
022cb3c5 JR |
103 | %dir %{_sysconfdir}/kermit |
104 | %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/kermit/* | |
105 | %attr(755, root, root) %{_bindir}/kermit | |
106 | %{_mandir}/man1/kermit.1* |