]> git.pld-linux.org Git - packages/ckermit.git/blobdiff - ckermit.spec
- obsolete?
[packages/ckermit.git] / ckermit.spec
index fae6b6a6a96db08432dcb93a14b666832da4b783..3cc3ce617c308a28f362dd10d9bb7da3214698a3 100644 (file)
@@ -1,23 +1,27 @@
 Summary:       The quintessential all-purpose communications program
+Summary(pl.UTF-8):     Kwintesencja programów komunikacyjnych
 Name:          ckermit
-Version:       7.0.197
-Release:       3
+Version:       8.0.211
+Release:       2
 License:       Special (see Copyright Notice)
-Vendor:                The Kermit Project <kermit@columbia.edu>
 Group:         Applications/Communications
-Group(de):     Applikationen/Kommunikation
-Group(pl):     Aplikacje/Komunikacja
-Source0:       ftp://kermit.columbia.edu/kermit/archives/cku197.tar.gz
+Source0:       ftp://kermit.columbia.edu/kermit/archives/cku211.tar.gz
+# Source0-md5: e9e5f3e988a526e49cf177ca18719827
 Source1:       cku-%{name}.local.ini
 Source2:       cku-%{name}.modem.generic.ini
 Source3:       cku-%{name}.locale.ini
 Source4:       cku-%{name}.phone
-Patch0:                cku-ssl-krb-srp.patch.gz
-Patch1:                cku-makefile.patch
+Patch0:                cku-makefile.patch
+Patch1:                %{name}-gcc4.patch
+Patch2:                %{name}-openssl-clash.patch
+Patch3:                %{name}-krb.patch
 URL:           http://www.columbia.edu/kermit/
+BuildRequires: krb5-devel
+BuildRequires: ncurses-devel
+BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: pam-devel
-BuildRequires: openssl-devel >= 0.9.6a
-BuildRequires: gmp-devel
+BuildRequires: perl-base
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,56 +29,26 @@ C-Kermit is a combined serial and network communication software
 package offering a consistent, medium-independent, cross-platform
 approach to connection establishment, terminal sessions, file transfer
 and management, character-set translation, and automation of
-communication tasks. For more information please see:
-
-http://www.columbia.edu/kermit/
-
-C-KERMIT 7.0 COPYRIGHT NOTICE:
-
-The C-Kermit license does not fall into any convenient category. It is
-not commercial, not shareware, not freeware, not GPL. The terms can be
-summarized as follows:
-
-1. You may download C-Kermit without license or fee for your own use
-or internal use within your company or institution.
-
-2. You may install C-Kermit without license or fee as a service or
-application on a computer within your company that is accessed by
-customers or clients. This provision would apply, for example, to an
-ISP or a medical claims clearinghouse.
-
-3. You may include C-Kermit with a "Free UNIX" or other Open Source
-operating-system distribution such as GNU/Linux, FreeBSD, NetBSD,
-OpenBSD, etc.
-
-4. Except as in (3), you may not sell or otherwise furnish C-Kermit as
-a software product, or a component of any product, to actual or
-potential customers or clients without a commercial license; to see
-the commercial license terms, CLICK HERE.
-
-In addition, we request that those who make more than casual use of
-C-Kermit purchase the published manual, Using C-Kermit. This helps
-them to get the most out of the software, it reduces the load on our
-help desk, and it helps to fund the Kermit Project.
-
-The Kermit Project must fund itself entirely out of income, which
-comes from software licenses, book sales, and support contracts. The
-C-Kermit licensing terms are designed to be as generous and fair as
-possible within this framework. Simply stated: if you just want to use
-it, be our guest. If you want us to help you use it, please consult
-the manual first. If you want to make a product or commodity of it,
-you have to pay for it.
+communication tasks.
 
+%description -l pl.UTF-8
+C-Kermit to pakiet do komunikacji zarówno szeregowej, jak i sieciowej,
+oferujący spójny, niezależny od medium, międzyplatformowy sposób
+ustanawiania połączenia, sesji terminalowych, przesyłania i
+zarządzania plikami, translacji kodowania znaków, automatyki zadań
+komunikacyjnych.
 
 %prep
 %setup -q -c
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p0
 
 %build
-%{__make} linux-PLD+ssl+pam OPT="%{rpmcflags}" LNKFLAGS="%{rpmldflags}"
-#make linux-pld-ssl-srp-pam OPT="%{rpmcflags}" LDFLAGS="%{rpmldflags}"
-#make linux-pld-krb-ssl-srp-pam OPT="%{rpmcflags}" LDFLAGS="%{rpmldflags}"
+%{__make} linux-PLD+krb5+openssl+zlib+pam+shadow \
+       OPT="%{rpmcflags}" \
+       LNKFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -82,25 +56,21 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/kermit}
 
 perl -pi -e "s|%{_prefix}/local/bin/kermit|%{_bindir}/kermit|g" ckermit.ini
 
-install krbmit $RPM_BUILD_ROOT%{_bindir}/kermit
+install wermit $RPM_BUILD_ROOT%{_bindir}/kermit
 install ckuker.nr $RPM_BUILD_ROOT%{_mandir}/man1/kermit.1
-install ckermit.ini $RPM_BUILD_ROOT%{_sysconfdir}/kermit/
+install ckermit.ini $RPM_BUILD_ROOT%{_sysconfdir}/kermit
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.local.ini
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.modem.ini
 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.locale.ini
 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/kermit/ckermit.phone
 
-gzip -9nf ckaaaa.txt ckc197.txt ckcbwr.txt ckccfg.txt ckcplm.txt \
-       ckermit2.txt ckuaaa.txt ckubwr.txt ckwart.txt iksd.txt \
-       security.txt telnet.txt COPYING.TXT
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
+%doc *.txt COPYING.TXT
 %dir %{_sysconfdir}/kermit
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/kermit/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/kermit/*
 %attr(755, root, root) %{_bindir}/kermit
 %{_mandir}/man1/kermit.1*
This page took 0.094712 seconds and 4 git commands to generate.