File tmate.spec of Package tmate

BuildRequires:  cmake autoconf gcc-c++ libtool pkg-config ruby
BuildRequires:  libevent-devel libopenssl-devel ncurses-devel zlib-devel
BuildRequires:  libssh-devel >= 0.6.1
BuildRequires:  libmsgpackc-devel >= 0.5.8

Name:           tmate
Version:        1.8.10
Release:        1
#
Summary:        Instant terminal sharing
License:        MIT
Group:          Productivity/Networking/Other
Url:            http://www.tmate.io
#
Source0:        %{name}-%{version}.tar.xz
#
Patch0:         tmate-1.8.10-system_libs.patch
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Tmate is a fork of tmux providing an instant pairing solution.

%prep
%setup -q

%patch0 -p1 -b .tmate-1.8.10-system_libssh.patch

%build
./autogen.sh
%configure
%__make %{?jobs:-j%jobs}

%install
%makeinstall

%clean
%__rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc CHANGES FAQ README-tmux README.md
%{_bindir}/tmate
%{_mandir}/man1/tmate.1*

%changelog