]>
Commit | Line | Data |
---|---|---|
b5582605 | 1 | Summary: Terminal emulator for framebuffer |
2 | Summary(pl.UTF-8): Emulator terminala dla framebuffera | |
3 | Name: fbterm | |
12a56a90 | 4 | Version: 1.6 |
9fe263e3 | 5 | Release: 2 |
b5582605 | 6 | License: GPL v2 |
7 | Group: Applications/Graphics | |
8 | Source0: http://fbterm.googlecode.com/files/%{name}-%{version}.tar.gz | |
12a56a90 | 9 | # Source0-md5: 531ea0984836b58fd123e6a97a4228c6 |
a93ab4ab | 10 | Patch0: %{name}-install.patch |
9fe263e3 | 11 | Patch1: %{name}-fonts-pl.patch |
b5582605 | 12 | URL: http://code.google.com/p/fbterm/ |
a93ab4ab | 13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
b5582605 | 15 | BuildRequires: fontconfig-devel |
16 | BuildRequires: freetype-devel | |
0545bee2 | 17 | BuildRequires: gpm-devel |
b5582605 | 18 | BuildRequires: libstdc++-devel |
a93ab4ab | 19 | BuildRequires: libtool |
ea5e7ac4 | 20 | BuildRequires: ncurses |
6da30563 | 21 | BuildRequires: pkgconfig |
b5582605 | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | FbTerm is a fast terminal emulator for linux with frame buffer device. | |
26 | Features include: | |
27 | - mostly as fast as terminal of linux kernel while accelerated | |
28 | scrolling is enabled on framebuffer device | |
29 | - select font with fontconfig and draw text with freetype2, same as | |
30 | Qt/Gtk+ based GUI apps | |
31 | - dynamicly create/destroy up to 10 windows initially running default | |
32 | shell | |
33 | - record scrollback history for every window | |
34 | - auto-detect text encoding with current locale, support double width | |
35 | scripts like Chinese, Japanese etc | |
36 | - switch between configurable additional text encodings with hot keys | |
37 | on the fly | |
38 | - copy/past selected text between windows with mouse when gpm server | |
39 | is running | |
40 | ||
41 | %prep | |
42 | %setup -q | |
a93ab4ab | 43 | %patch0 -p1 |
9fe263e3 | 44 | %patch1 -p1 |
b5582605 | 45 | |
46 | %build | |
a93ab4ab | 47 | %{__libtoolize} |
48 | %{__aclocal} | |
49 | %{__autoconf} | |
50 | %{__autoheader} | |
51 | %{__automake} | |
b5582605 | 52 | %configure |
53 | %{__make} | |
0545bee2 | 54 | tic -o terminfo terminfo/fbterm |
b5582605 | 55 | |
56 | %install | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
0545bee2 | 60 | install -d $RPM_BUILD_ROOT%{_datadir}/terminfo/f |
61 | install terminfo/f/fbterm $RPM_BUILD_ROOT%{_datadir}/terminfo/f | |
b5582605 | 62 | |
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
6c5efb91 | 66 | %post -p /sbin/postshell |
6da30563 | 67 | -/sbin/setcap 'cap_sys_tty_config+ep' %{_bindir}/fbterm |
6c5efb91 | 68 | |
b5582605 | 69 | %files |
70 | %defattr(644,root,root,755) | |
6da30563 | 71 | %doc AUTHORS ChangeLog NEWS README |
b5582605 | 72 | %attr(755,root,root) %{_bindir}/* |
0545bee2 | 73 | %{_datadir}/terminfo/f/fbterm |
b5582605 | 74 | %{_mandir}/man1/* |