]> git.pld-linux.org Git - packages/ckermit.git/blob - ckermit.spec
- typo
[packages/ckermit.git] / ckermit.spec
1 Summary:        The quintessential all-purpose communications program
2 Name:           ckermit
3 Version:        7.0.197
4 Release:        2
5 LIcense:        Special (see Copyright Notice)
6 Group:          Applications/Communications
7 Vendor:         The Kermit Project <kermit@columbia.edu>
8 Source0:        ftp://kermit.columbia.edu/kermit/archives/cku197.tar.gz
9 Source1:        cku-ckermit.local.ini
10 Source2:        cku-ckermit.modem.generic.ini
11 Source3:        cku-ckermit.locale.ini
12 Source4:        cku-ckermit.phone
13 Patch0:         cku-ssl-krb-srp.patch.gz
14 Patch1:         cku-makefile.patch
15 URL:            http://www.columbia.edu/kermit/
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
78 mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/kermit}
79
80 perl -pi -e "s|/usr/local/bin/kermit|%{_bindir}/kermit|g" ckermit.ini
81
82 install -s krbmit $RPM_BUILD_ROOT%{_bindir}/kermit
83 install ckuker.nr $RPM_BUILD_ROOT%{_mandir}/man1/kermit.1
84 install ckermit.ini $RPM_BUILD_ROOT%{_sysconfdir}/kermit/
85 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.local.ini
86 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.modem.ini
87 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.locale.ini
88 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.phone
89
90 gzip -9nf ckaaaa.txt ckc197.txt ckcbwr.txt ckccfg.txt ckcplm.txt \
91         ckermit2.txt ckuaaa.txt ckubwr.txt ckwart.txt iksd.txt \
92         security.txt telnet.txt COPYING.TXT \
93         $RPM_BUILD_ROOT%{_mandir}/man1/*
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %files
99 %defattr(644, root, root, 755)
100 %doc {ckaaaa.txt,ckc197.txt,ckcbwr.txt,ckccfg.txt,ckcplm.txt}.gz
101 %doc {ckermit2.txt,ckuaaa.txt,ckubwr.txt,ckwart.txt,iksd.txt}.gz
102 %doc {security.txt,telnet.txt,COPYING.TXT}.gz
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*
This page took 0.068783 seconds and 3 git commands to generate.