]> git.pld-linux.org Git - packages/ckermit.git/blame - ckermit.spec
- typo
[packages/ckermit.git] / ckermit.spec
CommitLineData
022cb3c5
JR
1Summary: The quintessential all-purpose communications program
2Name: ckermit
3Version: 7.0.197
4Release: 1
5Copyright: Special (see Copyright Notice)
6Group: Applications/Communications
7Vendor: The Kermit Project <kermit@columbia.edu>
8URL: http://www.columbia.edu/kermit/
9Source0: ftp://kermit.columbia.edu/kermit/archives/cku197.tar.gz
10Source1: cku-ckermit.local.ini
11Source2: cku-ckermit.modem.generic.ini
12Source3: cku-ckermit.locale.ini
13Source4: cku-ckermit.phone
14Patch0: cku-ssl-krb-srp.patch.gz
15Patch1: cku-makefile.patch
16BuildRequires: pam-devel
17BuildRequires: openssl-devel
18BuildRequires: gmp-devel
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22C-Kermit is a combined serial and network communication software
23package offering a consistent, medium-independent, cross-platform
24approach to connection establishment, terminal sessions, file transfer
25and management, character-set translation, and automation of
26communication tasks. For more information please see:
27
28 http://www.columbia.edu/kermit/
29
30C-KERMIT 7.0 COPYRIGHT NOTICE:
31
32The C-Kermit license does not fall into any convenient category.
33It is not commercial, not shareware, not freeware, not GPL. The
34terms 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
53In addition, we request that those who make more than casual use of C-Kermit
54purchase the published manual, Using C-Kermit. This helps them to get the most
55out of the software, it reduces the load on our help desk, and it helps to fund
56the Kermit Project.
57
58The Kermit Project must fund itself entirely out of income, which comes from
59software licenses, book sales, and support contracts. The C-Kermit licensing
60terms are designed to be as generous and fair as possible within this
61framework. Simply stated: if you just want to use it, be our guest. If you want
62us to help you use it, please consult the manual first. If you want to make a
63product 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
72make 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
77rm -rf $RPM_BUILD_ROOT
1cf0a75a 78mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/kermit}
022cb3c5
JR
79
80install -s krbmit $RPM_BUILD_ROOT%{_bindir}/kermit
81install ckuker.nr $RPM_BUILD_ROOT%{_mandir}/man1/kermit.1
82install ckermit.ini $RPM_BUILD_ROOT%{_sysconfdir}/kermit/
83install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.local.ini
84install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.modem.ini
85install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.locale.ini
86install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.phone
87
88gzip -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
94rm -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*
This page took 0.040161 seconds and 4 git commands to generate.