25b17dd
Name:       fbterm
893c304
Version:    1.3
893c304
Release:    0%{?dist}
25b17dd
License:    GPLv2+
25b17dd
Group:      Applications/System
25b17dd
URL:        http://code.google.com/p/fbterm/
25b17dd
Source0:    http://fbterm.googlecode.com/files/%{name}-%{version}.tar.gz
893c304
#Patch0:     %{name}-1.2-kernel-header.patch
893c304
Patch1:     %{name}-%{version}-setcap.patch
c8eef14
Summary:    A frame buffer terminal emulator
151c39f
Summary(zh_CN): 运行在帧缓冲的快速终端仿真器
151c39f
Summary(zh_TW): 運行在Framebuffer的快速終端模擬機
25b17dd
25b17dd
25b17dd
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
25b17dd
25b17dd
BuildRequires: fontconfig-devel gpm-devel
25b17dd
Requires: fontconfig
25b17dd
25b17dd
%description
25b17dd
FbTerm is a fast terminal emulator for linux with frame buffer device. 
25b17dd
Features include: 
25b17dd
- mostly as fast as terminal of linux kernel while accelerated scrolling
25b17dd
  is enabled on framebuffer device 
25b17dd
- select font with fontconfig and draw text with freetype2, same as 
25b17dd
  Qt/Gtk+ based GUI apps 
25b17dd
- dynamicly create/destroy up to 10 windows initially running default
25b17dd
  shell 
25b17dd
- record scrollback history for every window 
25b17dd
- auto-detect text encoding with current locale, support double width 
25b17dd
  scripts like  Chinese, Japanese etc 
25b17dd
- switch between configurable additional text encodings with hot keys
25b17dd
  on the fly 
25b17dd
- copy/past selected text between windows with mouse when gpm server 
25b17dd
  is running
25b17dd
25b17dd
%prep
25b17dd
%setup -q
893c304
#%patch0 -p0 -b .kernel-header
893c304
%patch1 -p0 -b .signalfd
25b17dd
25b17dd
%build
25b17dd
%configure --disable-static --disable-rpath
25b17dd
make %{?_smp_mflags}
25b17dd
25b17dd
%install
25b17dd
rm -rf $RPM_BUILD_ROOT
25b17dd
make DESTDIR=${RPM_BUILD_ROOT} install
25b17dd
chmod 755 $RPM_BUILD_ROOT/%{_bindir}/%{name}
25b17dd
893c304
25b17dd
%clean
25b17dd
rm -rf $RPM_BUILD_ROOT
25b17dd
893c304
%post
893c304
setcap 'cap_sys_tty_config+ep' %{_bindir}/%{name}
893c304
25b17dd
%files 
25b17dd
%defattr(-,root,root,-)
25b17dd
%doc AUTHORS ChangeLog COPYING README
25b17dd
%{_bindir}/%{name}
25b17dd
%{_mandir}/man1/%{name}.1.gz
25b17dd
25b17dd
25b17dd
%changelog
893c304
* Mon Jan 05 2009 Ding-Yi Chen <dchen at redhat dot com> - 1.3-0
893c304
- Upstream update:
893c304
  1. added command line arguments to change option values 
893c304
  2. added client-server based input method framework 
893c304
  3. added screen rotation support 
893c304
  4. added support for visual type DIRECTCOLOR used by ATI cards 
893c304
     (thanks for Witek's patch) 
893c304
  5. fixed a bug that user can't input some unicode characters 
893c304
  6. fixed a bug of maybe not restore original console state after 
893c304
     FbTerm exited 
893c304
  7. fixed several trivial bugs 
893c304
  8. added using filesystem capability attributes offered by kernel 
893c304
     2.6.27, instead of setting set-user-ID bit on FbTerm 
893c304
  9. decreased memory usage of every shell instance by changing size 
893c304
      of the struct saving every charater's attribute from 4 to 2 bytes
893c304
151c39f
* Thu Dec 11 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.2-2
151c39f
- Summary simplified.
151c39f
151c39f
* Fri Nov 21 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.2-2
b57c7c6
- Upstream update, see 
b57c7c6
 http://code.google.com/p/fbterm/
b57c7c6
 for details.
b57c7c6
25b17dd
* Fri Oct 16 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.1-3
25b17dd
- Add gpm support.
25b17dd
25b17dd
* Thu Oct 16 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.1-2
25b17dd
- Fix the kernel-header build problem in F-10.
25b17dd
25b17dd
* Thu Aug 07 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.1-1
25b17dd
- Unset the SUID flag, as it does not need it.
25b17dd
25b17dd
* Thu Aug 07 2008 Ding-Yi Chen <dchen at redhat dot com> - 1.1-0
25b17dd
- The first version.