]> git.pld-linux.org Git - packages/fbterm.git/blob - fbterm.spec
- added the fonts-pl.patch
[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.6
5 Release:        2
6 License:        GPL v2
7 Group:          Applications/Graphics
8 Source0:        http://fbterm.googlecode.com/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  531ea0984836b58fd123e6a97a4228c6
10 Patch0:         %{name}-install.patch
11 Patch1:         %{name}-fonts-pl.patch
12 URL:            http://code.google.com/p/fbterm/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  fontconfig-devel
16 BuildRequires:  freetype-devel
17 BuildRequires:  gpm-devel
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtool
20 BuildRequires:  ncurses
21 BuildRequires:  pkgconfig
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
43 %patch0 -p1
44 %patch1 -p1
45
46 %build
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoconf}
50 %{__autoheader}
51 %{__automake}
52 %configure
53 %{__make}
54 tic -o terminfo terminfo/fbterm
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_datadir}/terminfo/f
61 install terminfo/f/fbterm $RPM_BUILD_ROOT%{_datadir}/terminfo/f
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post -p /sbin/postshell
67 -/sbin/setcap 'cap_sys_tty_config+ep' %{_bindir}/fbterm
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS README
72 %attr(755,root,root) %{_bindir}/*
73 %{_datadir}/terminfo/f/fbterm
74 %{_mandir}/man1/*
This page took 0.206731 seconds and 4 git commands to generate.