Name: tmate-ssh-server Version: 20200329 Release: 0.1.e1a5e084%{?dist} Summary: Server for tmate License: MIT URL: https://github.com/tmate-io/tmate-ssh-server # Tarball of source repo # git clone https://github.com/tmate-io/tmate-ssh-server # pushd tmate-ssh-server # git checkout e1a5e0847187c8c1274f62c9e0efb4dd84a9dcab # popd # tar -cJvf tmate-20200329.tar.xz --exclude-vcs tmate-ssh-server Source0: tmate-20200329.tar.xz Patch0: reorder-for-el7.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: binutils BuildRequires: bison BuildRequires: flex BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: libtool BuildRequires: make BuildRequires: patch BuildRequires: pkgconfig #BuildRequires: redhat-rpm-config #BuildRequires: rpm-build #BuildRequires: rpm-sign #BuildRequires: git #BuildRequires: kernel-devel BuildRequires: zlib-devel BuildRequires: openssl-devel BuildRequires: ncurses-devel #BuildRequires: cmake #BuildRequires: ruby BuildRequires: libssh-devel #BuildRequires: wget BuildRequires: libevent-devel BuildRequires: msgpack-devel %description Server for tmate %prep %autosetup -n tmate-ssh-server %build ./autogen.sh %configure %make_build %install rm -rf $RPM_BUILD_ROOT %make_install mkdir -p %{buildroot}%{_libexecdir}/tmate/ cp create_keys.sh %{buildroot}%{_libexecdir}/tmate/ mkdir -p %{buildroot}%{_sysconfdir}/tmate-ssh-server/keys %post cd /etc/tmate-ssh-server %{_libexecdir}/tmate/create_keys.sh %files %doc README %{_bindir}/* %dir %{_sysconfdir}/tmate-ssh-server %attr(0700, root, root) %{_sysconfdir}/tmate-ssh-server/keys/ %{_libexecdir}/* %changelog * Mon Jun 11 2018 Toshio Kuratomi - Initial tmate-slave package