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