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