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