]> git.pld-linux.org Git - packages/ckermit.git/blob - ckermit.spec
bf46188029ab2ab9fe1598f36ed168c898fe4061
[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 Group(de):      Applikationen/Kommunikation
8 Group(pl):      Aplikacje/Komunikacja
9 Vendor:         The Kermit Project <kermit@columbia.edu>
10 Source0:        ftp://kermit.columbia.edu/kermit/archives/cku197.tar.gz
11 Source1:        cku-%{name}.local.ini
12 Source2:        cku-%{name}.modem.generic.ini
13 Source3:        cku-%{name}.locale.ini
14 Source4:        cku-%{name}.phone
15 Patch0:         cku-ssl-krb-srp.patch.gz
16 Patch1:         cku-makefile.patch
17 URL:            http://www.columbia.edu/kermit/
18 BuildRequires:  pam-devel
19 BuildRequires:  openssl-devel
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
28 communication tasks. For more information please see:
29
30 http://www.columbia.edu/kermit/
31
32 C-KERMIT 7.0 COPYRIGHT NOTICE:
33
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:
37
38 1. You may download C-Kermit without license or fee for your own use
39 or internal use within your company or institution.
40
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.
45
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.
49
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.
54
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.
59
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.
67
68
69 %prep
70 %setup -q -c
71 %patch0 -p1
72 %patch1 -p1
73
74 %build
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}"
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/kermit}
82
83 perl -pi -e "s|%{_prefix}/local/bin/kermit|%{_bindir}/kermit|g" ckermit.ini
84
85 install krbmit $RPM_BUILD_ROOT%{_bindir}/kermit
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 \
95         security.txt telnet.txt COPYING.TXT
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %files
101 %defattr(644,root,root,755)
102 %doc {ckaaaa.txt,ckc197.txt,ckcbwr.txt,ckccfg.txt,ckcplm.txt}.gz
103 %doc {ckermit2.txt,ckuaaa.txt,ckubwr.txt,ckwart.txt,iksd.txt}.gz
104 %doc {security.txt,telnet.txt,COPYING.TXT}.gz
105 %dir %{_sysconfdir}/kermit
106 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/kermit/*
107 %attr(755, root, root) %{_bindir}/kermit
108 %{_mandir}/man1/kermit.1*
This page took 0.04025 seconds and 2 git commands to generate.