]> git.pld-linux.org Git - packages/mosh.git/blob - mosh.spec
- seems working; rel 1
[packages/mosh.git] / mosh.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Mosh mobile shell
3 Name:           mosh
4 Version:        1.1.3
5 Release:        1
6 License:        GPL v3+
7 Group:          X11/Applications
8 Source0:        https://github.com/downloads/keithw/mosh/%{name}-%{version}.tar.gz
9 # Source0-md5:  de507695b6f67523bc81596f97220a9a
10 URL:            http://mosh.mit.edu/
11 BuildRequires:  boost-devel
12 BuildRequires:  libutempter-devel
13 BuildRequires:  ncurses-devel
14 BuildRequires:  protobuf
15 BuildRequires:  protobuf-devel
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildRequires:  sed >= 4.0
18 BuildRequires:  zlib-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Remote terminal application that allows roaming, supports intermittent
23 connectivity, and provides intelligent local echo and line editing of
24 user keystrokes.
25
26 Mosh is a replacement for SSH. It's more robust and responsive,
27 especially over Wi-Fi, cellular, and long-distance links.
28
29 %prep
30 %setup -q
31 %{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' scripts/mosh
32
33 %build
34 %configure \
35         CPPFLAGS="-I/usr/include/ncurses"
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc AUTHORS ChangeLog NEWS THANKS
49 %attr(755,root,root) %{_bindir}/%{name}
50 %attr(755,root,root) %{_bindir}/%{name}-client
51 %attr(755,root,root) %{_bindir}/%{name}-server
52 %{_mandir}/man1/%{name}.1*
53 %{_mandir}/man1/%{name}-client.1*
54 %{_mandir}/man1/%{name}-server.1*
This page took 0.140238 seconds and 4 git commands to generate.