source: projects/specs/trunk/f/fbterm/fbterm-vl.spec @ 10578

Revision 10578, 3.3 KB checked in by tomop, 8 years ago (diff)

fbterm-1.7.0-2

Line 
1%define udev_rules_dir %{_sysconfdir}/udev/rules.d
2
3Summary: A fast FrameBuffer based TERMinal emulator for linux
4Summary(ja): 高速なフレームバッファベースのターミナルエミュレータ
5Name: fbterm
6Version: 1.7.0
7Release: 2%{?_dist_release}
8License: GPLv2+
9Group: Applications/System
10URL: http://code.google.com/p/fbterm/
11Vendor: Project Vine
12Distribution: Vine Linux
13
14Source0: http://fbterm.googlecode.com/files/%name-%version.tar.gz
15Patch10: fbterm-1.4-antialias.patch
16Patch11: fbterm-1.7.0-default-size.patch
17Patch12: fbterm-1.7.0-default-ambiguous-wide.patch
18BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
19BuildRequires: freetype2-devel
20BuildRequires: fontconfig-devel
21Requires(post): libcap
22
23%description
24FbTerm is a fast terminal emulator for linux with frame buffer. Features
25include:
26
27* mostly as fast as terminal of linux kernel while accelerated scrolling
28  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 on
37  the fly
38* copy/past selected text between windows with mouse when gpm server is
39  running
40
41%package udevrules
42Summary:    udev rules that grant regular user access
43Summary(ja):一般ユーザに fb へのアクセス権を与えるためのudevルール
44Group:      Applications/System
45Requires:   udev
46
47%description udevrules
48Regular users might use some applications that require access to
49frame-buffer device.
50For example, ibus-fbterm requires access to /dev/fb0.
51This sub-package enables regular user for such access.
52
53%prep
54%setup -q -n %{name}-1.7
55%patch10 -p1
56%patch11 -p1
57%patch12 -p1
58
59%build
60autoreconf -iv
61%configure --disable-gpm ||:
62%__make %{?_smp_mflags}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66%__make install DESTDIR=$RPM_BUILD_ROOT
67
68# install udev rules
69%__mkdir -p $RPM_BUILD_ROOT/%{udev_rules_dir}
70%__cat >>$RPM_BUILD_ROOT/%{udev_rules_dir}/99-fbterm.rules <<EOF
71KERNEL=="fb[0-9]*", SUBSYSTEM=="graphics", MODE="0666"
72EOF
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%post
78[ -x /usr/sbin/setcap ] && /usr/sbin/setcap 'cap_sys_tty_config+ep' %{_bindir}/%{name}
79
80%files
81%defattr(-, root, root)
82%doc AUTHORS ChangeLog README
83%{_bindir}/*
84%{_mandir}/man1/*
85
86%files udevrules
87%defattr(-,root,root,-)
88%config(noreplace) %{udev_rules_dir}/99-fbterm.rules
89
90%changelog
91* Sun Jul 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net>
92- build with new toolchain.
93
94* Fri Jul 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7-1
95- update to 1.7
96- add udevrules subpackage to grant regular user access
97- rename patch1 to patch10
98- add patch11 to change deafult font size
99- add patch12 to enable ambiguous-wide by default
100
101* Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1
102- new upstream release
103- add patch1 to use antialiased font.
104
105* Tue Jan 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
106- new upstream release
107
108* Fri Sep 05 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1-1
109- initial build for Vine Linux
110
111* Sat Aug 23 2008 Funda Wang <fundawang@mandriva.org> 1.1-1mdv2009.0
112+ Revision: 275412
113- import fbterm
114
115
Note: See TracBrowser for help on using the repository browser.