File mosh.spec of Package mosh
#
# spec file for package mosh
#
# Copyright (c) 2012 Flavio Castelli.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mosh
Version: 1.1.3
Release: 1
Summary: The mobile shell
Group: Productivity/Networking/SSH
License: GPLv3+
Url: http://mosh.mit.edu/
AutoReqProv: on
BuildRequires: ncurses-devel
BuildRequires: zlib-devel
BuildRequires: protobuf-devel
BuildRequires: zlib-devel
BuildRequires: boost-devel
BuildRequires: gcc-c++ pkg-config
BuildRequires: utempter-devel
Requires: perl-IO-Tty
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Remote terminal application that allows roaming, supports intermittent
connectivity, and provides intelligent local echo and line editing of user
keystrokes.
Mosh is a replacement for SSH. It's more robust and responsive, especially
over Wi-Fi, cellular, and long-distance links.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc %{_mandir}/man1/mosh.1.*
%doc %{_mandir}/man1/mosh-client.1.*
%doc %{_mandir}/man1/mosh-server.1.*
%{_bindir}/mosh
%{_bindir}/mosh-client
%{_bindir}/mosh-server
%changelog