[packages/mosh] build with branch diff changes, up to c6cd99b

glen glen at pld-linux.org
Sat May 2 15:32:06 CEST 2015


commit d0fa432e16504e40dad1e94b78bd6574dfb023df
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat May 2 16:25:46 2015 +0300

    build with branch diff changes, up to c6cd99b

 mosh.spec | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/mosh.spec b/mosh.spec
index 522d2c7..20e6d45 100644
--- a/mosh.spec
+++ b/mosh.spec
@@ -16,12 +16,18 @@ License:	GPL v3+
 Group:		X11/Applications
 Source0:	http://mosh.mit.edu/%{name}-%{version}.tar.gz
 # Source0-md5:	c2d918f4d91fdc32546e2e089f9281b2
+Patch100:	https://github.com/keithw/mosh/compare/%{name}-1.2.4...c6cd99b.patch
+# Patch100-md5:	3e8455f30b5fb6cd7b24a203c00a549c
 URL:		http://mosh.mit.edu/
+BuildRequires:	autoconf
+BuildRequires:	automake
 BuildRequires:	binutils >= 2.20.51.0.2
 BuildRequires:	libstdc++-devel >= 5:4.0
+BuildRequires:	libtool
 BuildRequires:	libutempter-devel
 BuildRequires:	ncurses-devel
 BuildRequires:	openssl-devel
+BuildRequires:	patchutils
 BuildRequires:	pkgconfig
 BuildRequires:	protobuf
 BuildRequires:	protobuf-devel
@@ -48,9 +54,16 @@ especially over Wi-Fi, cellular, and long-distance links.
 
 %prep
 %setup -q
+filterdiff -p1 -x 'debian/*' -x 'fedora/*' -x 'macosx/*' %{PATCH100} > branch.diff
+sed -i -e '/^diff /d' branch.diff
+%{__patch} -p1 < branch.diff
 %{__sed} -i -e '1s,^#!.*perl,#!%{__perl},' scripts/mosh
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 CPPFLAGS="-I/usr/include/ncurses"
 %configure \
 	--disable-silent-rules \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mosh.git/commitdiff/501df8d16e22bc7177b9a7f6b96468714a449511



More information about the pld-cvs-commit mailing list