]> git.pld-linux.org Git - packages/fbterm.git/blob - fbterm.spec
9d537f4464cd8f2530063f3a80e87b5cbb2dcb53
[packages/fbterm.git] / fbterm.spec
1 Summary:        Terminal emulator for framebuffer
2 Summary(pl.UTF-8):      Emulator terminala dla framebuffera
3 Name:           fbterm
4 Version:        1.4
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Graphics
8 Source0:        http://fbterm.googlecode.com/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  58543d0e630bc9bfd7cda93b5e844564
10 URL:            http://code.google.com/p/fbterm/
11 BuildRequires:  ncurses
12 BuildRequires:  fontconfig-devel
13 BuildRequires:  freetype-devel
14 BuildRequires:  gpm-devel
15 BuildRequires:  libstdc++-devel
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
37
38 %build
39 %configure
40 %{__make}
41 tic -o terminfo terminfo/fbterm
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_datadir}/terminfo/f
48 install terminfo/f/fbterm $RPM_BUILD_ROOT%{_datadir}/terminfo/f
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post -p /sbin/postshell
54 -/sbin/setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm
55
56 %files
57 %defattr(644,root,root,755)
58 %doc AUTHORS ChangeLog NEWS README 
59 %attr(755,root,root) %{_bindir}/*
60 %{_datadir}/terminfo/f/fbterm
61 %{_mandir}/man1/*
This page took 0.064697 seconds and 2 git commands to generate.