2024-01-05 21:23:25 +01:00
|
|
|
%define minver %(echo %version | cut -d. -f3-)
|
2024-01-05 21:23:24 +01:00
|
|
|
Name: ckermit
|
2024-01-05 21:23:24 +01:00
|
|
|
Version: 9.0.302
|
2024-01-05 21:23:25 +01:00
|
|
|
Release: 2mamba
|
2024-01-05 21:23:24 +01:00
|
|
|
Summary: C-Kermit is a combined network and serial communication software package
|
|
|
|
Group: Applications/Communication
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 21:23:25 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://www.kermitproject.org/ck90.html
|
|
|
|
Source: https://www.kermitproject.org/ftp/kermit/archives/cku%{minver}.tar.gz
|
2024-01-05 21:23:24 +01:00
|
|
|
Patch0: %{name}-8.0-ckutio.patch
|
|
|
|
Patch1: %{name}-8.0-makefile.patch
|
2024-01-05 21:23:25 +01:00
|
|
|
Patch2: ckermit-9.0.304.24-glibc-2.28.patch
|
|
|
|
Patch3: ckermit-9.0.302-lockdir.patch
|
2024-01-05 21:23:24 +01:00
|
|
|
License: GPL
|
2024-01-05 21:23:25 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: liblockdev-devel
|
2024-01-05 21:23:24 +01:00
|
|
|
BuildRequires: libncurses-devel
|
2024-01-05 21:23:25 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 21:23:24 +01:00
|
|
|
Requires: lrzsz
|
|
|
|
|
|
|
|
%description
|
2024-01-05 21:23:25 +01:00
|
|
|
C-Kermit is a combined network and serial communication software package.
|
|
|
|
|
|
|
|
%debug_package
|
2024-01-05 21:23:24 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c %{name}-%{version}
|
2024-01-05 21:23:25 +01:00
|
|
|
%patch2 -p1
|
|
|
|
#%patch3 -p1
|
2024-01-05 21:23:24 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 21:23:25 +01:00
|
|
|
%make linux \
|
|
|
|
KFLAGS="-O0 $RPM_OPT_FLAGS -Wall -DOPENSSL_097 -Dsdata=s_data -DHAVE_OPENPTY -D'krb5_init_ets(__ctx)='" \
|
|
|
|
LNKFLAGS="%{?optflags} %{?__global_ldflags}" \
|
|
|
|
K4LIB= \
|
|
|
|
K4INC= \
|
|
|
|
K5LIB=-lutil \
|
|
|
|
K5INC=-I%{_includedir}/et \
|
|
|
|
SSLLIB= \
|
|
|
|
SSLINC= \
|
2024-01-05 21:23:24 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:23:25 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1
|
|
|
|
|
|
|
|
%makeinstall prefix=%{_prefix} MANDIR=%{_mandir}/man1
|
2024-01-05 21:23:24 +01:00
|
|
|
|
|
|
|
# fix an rpm bug about symlinks
|
|
|
|
rm -f %{buildroot}%{_bindir}/kermit-sshsub
|
|
|
|
ln -s %{_bindir}/kermit %{buildroot}%{_bindir}/kermit-sshsub
|
|
|
|
|
|
|
|
# remove configuration and text files from bin and info directories
|
|
|
|
rm -f %{buildroot}%{_bindir}/*.ini
|
|
|
|
rm -fr %{buildroot}%{_infodir}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 21:23:25 +01:00
|
|
|
%{_bindir}/kermit*
|
2024-01-05 21:23:24 +01:00
|
|
|
%{_mandir}/man1/*
|
2024-01-05 21:23:25 +01:00
|
|
|
%doc COPYING.TXT
|
|
|
|
#*.txt *.ini
|
2024-01-05 21:23:24 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:23:25 +01:00
|
|
|
* Tue Aug 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.302-2mamba
|
|
|
|
- rebuilt with specfile fixes
|
|
|
|
|
2024-01-05 21:23:24 +01:00
|
|
|
* Wed Nov 12 2014 Automatic Build System <autodist@mambasoft.it> 9.0.302-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 21:23:24 +01:00
|
|
|
* Wed Aug 28 2013 Automatic Build System <autodist@mambasoft.it> 8.0.211-3mamba
|
|
|
|
- automatic rebuild by autodist
|
|
|
|
|
|
|
|
* Sun Oct 26 2008 Tiziana Ferro <tiziana.ferro@email.it> 8.0.211-2mamba
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Fri Jan 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 8.0.211-1qilnx
|
|
|
|
- add lrzsz requirement
|
|
|
|
- fix version number
|
|
|
|
|
|
|
|
* Fri Dec 02 2005 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 8.0-2qilnx
|
|
|
|
- specfile updated and fixed
|
|
|
|
- added missing build requirements
|
|
|
|
- fixed group
|
|
|
|
|
|
|
|
* Wed Aug 03 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 8.0-1qilnx
|
|
|
|
- package created by autospec
|