ckermit/ckermit.spec

71 lines
2.0 KiB
RPMSpec
Raw Normal View History

%define kermit_minver 211
Name: ckermit
Version: 8.0.211
Release: 3mamba
Summary: C-Kermit is a combined network and serial communication software package
Group: Applications/Communication
Vendor: openmamba
Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://www.columbia.edu/kermit/ck80.html
Source: ftp://kermit.columbia.edu/kermit/archives/cku%{kermit_minver}.tar.gz
Patch0: %{name}-8.0-ckutio.patch
Patch1: %{name}-8.0-makefile.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: libncurses-devel
BuildRequires: libopenssl-devel
Requires: lrzsz
%description
C-Kermit is a combined network and serial communication software package
%prep
%setup -q -c %{name}-%{version}
%patch0 -p1
%patch1 -p1
%build
%make linux
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall prefix=%{_prefix}
# 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)
%{_bindir}/*
%{_bindir}/kermit-sshsub
%{_mandir}/man1/*
%doc COPYING.TXT *.txt *.ini
%changelog
* 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