Initial import
This commit is contained in:
		
							parent
							
								
									e18fb96819
								
							
						
					
					
						commit
						90415ddc5d
					
				| @ -0,0 +1 @@ | |||||||
|  | tmux-1.0.tar.gz | ||||||
							
								
								
									
										1
									
								
								import.log
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								import.log
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | tmux-1_0-1_fc12:HEAD:tmux-1.0-1.fc12.src.rpm:1257096939 | ||||||
							
								
								
									
										22
									
								
								tmux-1.0-fixmanpagedir.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								tmux-1.0-fixmanpagedir.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,22 @@ | |||||||
|  | diff --git a/GNUmakefile b/GNUmakefile
 | ||||||
|  | index 5528a9f..96e7088 100644
 | ||||||
|  | --- a/GNUmakefile
 | ||||||
|  | +++ b/GNUmakefile
 | ||||||
|  | @@ -31,6 +31,7 @@ endif
 | ||||||
|  |  endif | ||||||
|  |   | ||||||
|  |  PREFIX?= /usr/local | ||||||
|  | +MANDIR?= ${PREFIX}/man
 | ||||||
|  |  INSTALLDIR= install -d | ||||||
|  |  INSTALLBIN= install -g bin -o root -m 555 | ||||||
|  |  INSTALLMAN= install -g bin -o root -m 444 | ||||||
|  | @@ -59,7 +60,7 @@ clean-all:	clean clean-depend
 | ||||||
|  |  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)$(MANDIR)/man1
 | ||||||
|  | +		$(INSTALLMAN) tmux.1 $(DESTDIR)$(MANDIR)/man1/tmux.1
 | ||||||
|  |   | ||||||
|  |  -include .depend | ||||||
							
								
								
									
										77
									
								
								tmux.spec
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										77
									
								
								tmux.spec
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,77 @@ | |||||||
|  | Name:           tmux | ||||||
|  | Version:        1.0 | ||||||
|  | Release:        1%{?dist} | ||||||
|  | Summary:        A terminal multiplexer | ||||||
|  | 
 | ||||||
|  | Group:          Applications/System | ||||||
|  | # Most of the source is ISC licensed; some of the files in compat/ are 2 and | ||||||
|  | # 3 clause BSD licensed. | ||||||
|  | License:        ISC and BSD | ||||||
|  | URL:            http://sourceforge.net/projects/tmux | ||||||
|  | Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz | ||||||
|  | # This first patch creates MANDIR in the GNUmakefile.  This has been sent | ||||||
|  | # upstream via email but upstream replied and said would not change. | ||||||
|  | Patch0:         tmux-1.0-fixmanpagedir.patch | ||||||
|  | BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||||||
|  | 
 | ||||||
|  | BuildRequires:  ncurses-devel | ||||||
|  | 
 | ||||||
|  | %description | ||||||
|  | tmux is a "terminal multiplexer."  It enables a number of terminals (or | ||||||
|  | windows) to be accessed and controlled from a single terminal.  tmux is | ||||||
|  | intended to be a simple, modern, BSD-licensed alternative to programs such | ||||||
|  | as GNU Screen. | ||||||
|  | 
 | ||||||
|  | %prep | ||||||
|  | %setup -q | ||||||
|  | %patch0 -p1 -b .fixmanpagedir | ||||||
|  | 
 | ||||||
|  | %build | ||||||
|  | %configure | ||||||
|  | make %{?_smp_mflags} LDFLAGS="%{optflags}" | ||||||
|  | 
 | ||||||
|  | %install | ||||||
|  | rm -rf %{buildroot} | ||||||
|  | make install PREFIX=%{_prefix} MANDIR=%{_mandir} DESTDIR=%{buildroot} INSTALLBIN="install -p -m 755" INSTALLMAN="install -p -m 644" | ||||||
|  | 
 | ||||||
|  | %clean | ||||||
|  | rm -rf %{buildroot} | ||||||
|  | 
 | ||||||
|  | %files | ||||||
|  | %defattr(-,root,root,-) | ||||||
|  | %doc CHANGES FAQ NOTES TODO examples/ | ||||||
|  | %{_bindir}/tmux | ||||||
|  | %{_mandir}/man1/tmux.1.gz | ||||||
|  | 
 | ||||||
|  | %changelog | ||||||
|  | * Sat Oct 24 2009 Sven Lankes <sven@lank.es> 1.0-1 | ||||||
|  | - New upstream release | ||||||
|  | 
 | ||||||
|  | * Mon Jul 13 2009 Chess Griffin <chess@chessgriffin.com> 0.9-1 | ||||||
|  | - Update to version 0.9. | ||||||
|  | - Remove sed invocation as this was adopted upstream. | ||||||
|  | - Remove optflags patch since upstream source now uses ./configure and | ||||||
|  |   detects the flags when passed to make. | ||||||
|  | 
 | ||||||
|  | * Tue Jun 23 2009 Chess Griffin <chess@chessgriffin.com> 0.8-5 | ||||||
|  | - Note that souce is mostly ISC licensed with some 2 and 3 clause BSD in | ||||||
|  |   compat/. | ||||||
|  | - Remove fixiquote.patch and instead use a sed invocation in setup. | ||||||
|  | 
 | ||||||
|  | * Mon Jun 22 2009 Chess Griffin <chess@chessgriffin.com> 0.8-4 | ||||||
|  | - Add optimization flags by patching GNUmakefile and passing LDFLAGS | ||||||
|  |   to make command. | ||||||
|  | - Use consistent macro format. | ||||||
|  | - Change examples/* to examples/ and add TODO to docs. | ||||||
|  | 
 | ||||||
|  | * Sun Jun 21 2009 Chess Griffin <chess@chessgriffin.com> 0.8-3 | ||||||
|  | - Remove fixperms.patch and instead pass them at make install stage. | ||||||
|  | 
 | ||||||
|  | * Sat Jun 20 2009 Chess Griffin <chess@chessgriffin.com> 0.8-2 | ||||||
|  | - Fix Source0 URL to point to correct upstream source. | ||||||
|  | - Modify fixperms.patch to set 644 permissions on the tmux.1.gz man page. | ||||||
|  | - Remove wildcards from 'files' section and replace with specific paths and | ||||||
|  |   filenames. | ||||||
|  | 
 | ||||||
|  | * Mon Jun 15 2009 Chess Griffin <chess@chessgriffin.com> 0.8-1 | ||||||
|  | - Initial RPM release. | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user