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