]> git.pld-linux.org Git - packages/tmux.git/commitdiff
- initial
authorZsolt Udvari <uzsolt@pld-linux.org>
Fri, 13 Nov 2009 17:36:41 +0000 (17:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    tmux-filedetect.vim -> 1.1
    tmux-makefile.patch -> 1.1
    tmux.spec -> 1.1

tmux-filedetect.vim [new file with mode: 0644]
tmux-makefile.patch [new file with mode: 0644]
tmux.spec [new file with mode: 0644]

diff --git a/tmux-filedetect.vim b/tmux-filedetect.vim
new file mode 100644 (file)
index 0000000..b6ac71c
--- /dev/null
@@ -0,0 +1,2 @@
+au BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux
+
diff --git a/tmux-makefile.patch b/tmux-makefile.patch
new file mode 100644 (file)
index 0000000..51d5f4b
--- /dev/null
@@ -0,0 +1,23 @@
+--- tmux-1.1-orig/GNUmakefile  2009-11-05 13:30:55.000000000 +0100
++++ tmux-1.1/GNUmakefile       2009-11-13 18:28:18.666815270 +0100
+@@ -53,8 +53,8 @@
+ PREFIX?= /usr/local
+ INSTALLDIR= install -d
+-INSTALLBIN= install -g bin -o root -m 555
+-INSTALLMAN= install -g bin -o root -m 444
++INSTALLBIN= install
++INSTALLMAN= install
+ SRCS= $(shell echo *.c|sed 's|osdep-[a-z0-9]*.c||g')
+ include config.mk
+@@ -80,7 +80,7 @@
+ install:      all
+               $(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
+               $(INSTALLBIN) tmux $(DESTDIR)$(PREFIX)/bin/tmux
+-              $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
+-              $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/man/man1/tmux.1
++              $(INSTALLDIR) $(DESTDIR)$(PREFIX)/share/man/man1
++              $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/share/man/man1/tmux.1
+ -include .depend
diff --git a/tmux.spec b/tmux.spec
new file mode 100644 (file)
index 0000000..ce0ac73
--- /dev/null
+++ b/tmux.spec
@@ -0,0 +1,71 @@
+Summary:       tmux is a terminal multiplexer
+Summary(hu.UTF-8):     tmux egy terminál-sokszorozó
+Name:          tmux
+Version:       1.1
+Release:       0.2
+License:       BSD
+Group:         Applications/Terminal
+Source0:       http://dl.sourceforge.net/tmux/%{name}-%{version}.tar.gz
+# Source0-md5: faf2fc52ac3ae63d899f6fece2c112cd
+Source1:       %{name}-filedetect.vim
+Patch0:                %{name}-makefile.patch
+URL:           http://tmux.sourceforge.net/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+tmux is a terminal multiplexer: it enables a number of terminals (or
+windows), each running a separate program, to be created, accessed,
+and controlled from a single screen. tmux may be detached from a
+screen and continue running in the background, then later reattached.
+
+%description -l hu.UTF-8
+tmux egy terminál-sokszorozó: terminálok (vagy ablakok) sokaságát
+hozhatd létre, mindegyikben egy külön program fut, létrehozhatsz,
+csatlakozhatsz és irányíthatod egyetlen képernyőről. tmux
+lecsatlakozhat a képernyőről és folytathatja a futását a háttérben, és
+később újracsatlakozhatsz.
+
+%package -n vim-syntax-tmux
+Summary:       Vim syntax file to tmux config files
+Summary(hu.UTF-8):     Vim syntax fájl a tmux konfigurációs fájljához
+Group:         Applications/Editors/Vim
+
+%description -n vim-syntax-tmux
+Vim syntax file to tmux config files.
+
+%description -n vim-syntax-tmux -l hu.UTF-8
+Vim syntax fájl a tmux konfigurációs fájljához.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+./configure
+CFLAGS="%{rpmcflags} -I/usr/include/ncursesw" %{__make} \
+       PREFIX=%{_prefix}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       PREFIX=%{_prefix}
+
+install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/{ftdetect,syntax}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
+install examples/tmux.vim $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES FAQ NOTES TODO examples/*.conf
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/tmux*
+
+%files -n vim-syntax-tmux
+%defattr(644,root,root,755)
+%{_datadir}/vim/vimfiles/ftdetect/tmux.vim
+%{_datadir}/vim/vimfiles/syntax/tmux.vim
This page took 0.107526 seconds and 4 git commands to generate.