]> git.pld-linux.org Git - packages/fbterm.git/blob - fbterm.spec
a9c5f8726d33c6cb5dac4a1fa22cb04b625c6850
[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.7
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:  e882c4cb38e7e46ce4378203509c552f
10 Patch0:         %{name}-font-lang.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 BuildRequires:  pkgconfig
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 %description -l pl.UTF-8
41 FbTerm jest szybkim emulatorem terminala działającym na linuksowym
42 framebufferze. Jego cechy to:
43 - prawie tak szybki jak terminal kernelowy, gdy akcelerowane
44   przewijanie jest włączone
45 - wybór czcionki przez fontconfig i jej wyświetlanie przy użyciu
46   freetype2, tak jak w aplikacjach Qt/Gtk+
47 - dynamiczne tworzenie/kasowanie do 10 okien z domyślną powłoką
48 - zapamiętywanie historii przewijania dla każdego okna
49 - autodetekcja kodowania tekstu, wsparcie dla znaków podwójnej
50   szerokości jak chińskie czy japońskie, itd.
51 - przełączanie pomiędzy konfigurowalnymi dodatkowymi kodowaniami
52   tekstu w locie przy użyciu klawiszy skrótu
53 - kopiowanie/wstawianie zaznaczonego tekstu pomiędzy oknami przy
54   użyciu myszy, gdy serwer gpm jest uruchomiony
55
56 %prep
57 %setup -q
58 %patch0 -p1
59
60 %build
61 %{__libtoolize}
62 %{__aclocal}
63 %{__autoconf}
64 %{__autoheader}
65 %{__automake}
66 %configure
67 %{__make}
68 tic -o terminfo terminfo/fbterm
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72 %{__make} install \
73         DESTDIR=$RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT%{_datadir}/terminfo/f
75 install terminfo/f/fbterm $RPM_BUILD_ROOT%{_datadir}/terminfo/f
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post -p /sbin/postshell
81 -/sbin/setcap 'cap_sys_tty_config+ep' %{_bindir}/fbterm
82
83 %files
84 %defattr(644,root,root,755)
85 %doc AUTHORS ChangeLog NEWS README
86 %attr(755,root,root) %{_bindir}/*
87 %{_datadir}/terminfo/f/fbterm
88 %{_mandir}/man1/*
This page took 0.054239 seconds and 3 git commands to generate.