]> git.pld-linux.org Git - packages/ckermit.git/blame - ckermit.spec
- release 3: ebuild against openssl 0.9.6a.
[packages/ckermit.git] / ckermit.spec
CommitLineData
022cb3c5
JR
1Summary: The quintessential all-purpose communications program
2Name: ckermit
3Version: 7.0.197
e552268c 4Release: 3
5License: Special (see Copyright Notice)
6Vendor: The Kermit Project <kermit@columbia.edu>
022cb3c5 7Group: Applications/Communications
8d2629ea 8Group(de): Applikationen/Kommunikation
7e5c8448 9Group(pl): Aplikacje/Komunikacja
022cb3c5 10Source0: ftp://kermit.columbia.edu/kermit/archives/cku197.tar.gz
7e5c8448 11Source1: cku-%{name}.local.ini
12Source2: cku-%{name}.modem.generic.ini
13Source3: cku-%{name}.locale.ini
14Source4: cku-%{name}.phone
022cb3c5
JR
15Patch0: cku-ssl-krb-srp.patch.gz
16Patch1: cku-makefile.patch
a13c919a 17URL: http://www.columbia.edu/kermit/
022cb3c5 18BuildRequires: pam-devel
e552268c 19BuildRequires: openssl-devel >= 0.9.6a
022cb3c5
JR
20BuildRequires: gmp-devel
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24C-Kermit is a combined serial and network communication software
25package offering a consistent, medium-independent, cross-platform
26approach to connection establishment, terminal sessions, file transfer
27and management, character-set translation, and automation of
7e5c8448 28communication tasks. For more information please see:
022cb3c5 29
7e5c8448 30http://www.columbia.edu/kermit/
022cb3c5 31
7e5c8448 32C-KERMIT 7.0 COPYRIGHT NOTICE:
022cb3c5 33
7e5c8448 34The C-Kermit license does not fall into any convenient category. It is
35not commercial, not shareware, not freeware, not GPL. The terms can be
36summarized as follows:
022cb3c5 37
7e5c8448 381. You may download C-Kermit without license or fee for your own use
39or internal use within your company or institution.
022cb3c5 40
7e5c8448 412. You may install C-Kermit without license or fee as a service or
42application on a computer within your company that is accessed by
43customers or clients. This provision would apply, for example, to an
44ISP or a medical claims clearinghouse.
022cb3c5 45
7e5c8448 463. You may include C-Kermit with a "Free UNIX" or other Open Source
47operating-system distribution such as GNU/Linux, FreeBSD, NetBSD,
48OpenBSD, etc.
022cb3c5 49
7e5c8448 504. Except as in (3), you may not sell or otherwise furnish C-Kermit as
51a software product, or a component of any product, to actual or
52potential customers or clients without a commercial license; to see
53the commercial license terms, CLICK HERE.
022cb3c5 54
7e5c8448 55In addition, we request that those who make more than casual use of
56C-Kermit purchase the published manual, Using C-Kermit. This helps
57them to get the most out of the software, it reduces the load on our
58help desk, and it helps to fund the Kermit Project.
022cb3c5 59
7e5c8448 60The Kermit Project must fund itself entirely out of income, which
61comes from software licenses, book sales, and support contracts. The
62C-Kermit licensing terms are designed to be as generous and fair as
63possible within this framework. Simply stated: if you just want to use
64it, be our guest. If you want us to help you use it, please consult
65the manual first. If you want to make a product or commodity of it,
66you 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
80rm -rf $RPM_BUILD_ROOT
7e5c8448 81install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/kermit}
022cb3c5 82
7e5c8448 83perl -pi -e "s|%{_prefix}/local/bin/kermit|%{_bindir}/kermit|g" ckermit.ini
7b7d6006 84
8d2629ea 85install krbmit $RPM_BUILD_ROOT%{_bindir}/kermit
022cb3c5
JR
86install ckuker.nr $RPM_BUILD_ROOT%{_mandir}/man1/kermit.1
87install ckermit.ini $RPM_BUILD_ROOT%{_sysconfdir}/kermit/
88install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.local.ini
89install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.modem.ini
90install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.locale.ini
91install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.phone
92
93gzip -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
98rm -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*
This page took 0.069697 seconds and 4 git commands to generate.