[wemux/el6] Initial SETUP
Christopher Meng
cicku at fedoraproject.org
Fri May 31 04:42:42 UTC 2013
commit 83e7ba80f8529b01bc6b24e56002608bf7a8c508
Author: Christopher Meng <rpm at cicku.me>
Date: Fri May 31 12:37:54 2013 +0800
Initial SETUP
.gitignore | 1 +
sources | 1 +
wemux.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4d6008b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/wemux-2.2.0-9bff237.tar.gz
diff --git a/sources b/sources
index e69de29..a18ef8c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f2f978004a951f0e6c7ac0f7de97edbe wemux-2.2.0-9bff237.tar.gz
diff --git a/wemux.spec b/wemux.spec
new file mode 100644
index 0000000..7901dbb
--- /dev/null
+++ b/wemux.spec
@@ -0,0 +1,51 @@
+%global commit 9bff23720d09a910dacad101c18d0f4512ae375a
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: wemux
+Version: 2.2.0
+Release: 1%{?dist}
+Summary: A tool help improve multi-user terminal multiplexing
+License: MIT
+URL: https://github.com/zolrath/wemux
+Source0: https://github.com/zolrath/wemux/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
+
+Requires: tmux
+BuildArch: noarch
+
+%description
+wemux enhances tmux to make multi-user terminal multiplexing both easier
+and more powerful. It allows users to host a wemux server and have clients
+join in either:
+
+Mirror Mode gives clients (another SSH user on your machine) read-only access
+to the session, allowing them to see you work, or
+
+Pair Mode allows the client and yourself to work in the same
+terminal (shared cursor)
+
+Rogue Mode allows the client to pair or work independently in another
+window (separate cursors) in the same tmux session.
+
+It features multi-server support as well as user listing and notifications
+when users attach/detach.
+
+%prep
+%setup -q -n %{name}-%{commit}
+sed -i 's|/usr/local||g' %{name}
+
+%build
+
+%install
+install -p -D -m 755 %{name} %{buildroot}%{_bindir}/%{name}
+install -p -D -m 644 %{name}.conf.example %{buildroot}%{_sysconfdir}/%{name}.conf
+
+%check
+
+%files
+%doc MIT-LICENSE README.md
+%config(noreplace) %{_sysconfdir}/%{name}.conf
+%{_bindir}/%{name}
+
+%changelog
+* Wed Mar 27 2013 Christopher Meng <rpm at cicku.me> - 2.2.0-1
+- Initial Package.
More information about the scm-commits
mailing list