Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
jfbterm
jfbterm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jfbterm.spec of Package jfbterm
# # spec file for package jfbterm (Version 0.3.10) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: jfbterm BuildRequires: ncurses-devel %if 0%{?suse_version} > 1130 BuildRequires: utempter-devel %else BuildRequires: utempter %endif License: BSD3c Group: System/Console PreReq: /bin/cat /usr/bin/grep permissions AutoReqProv: on Version: 0.3.10 Release: 664 Url: http://www3.justnet.ne.jp/~nmasu/linux/jfbterm/indexn.html Source: http://www3.justnet.ne.jp/~nmasu/linux/binary/jfbterm-0.3.10.tar.bz2 Source1: terminfo.jfbterm Source2: termcap.jfbterm Patch0: jfbterm-0.3.10.suse.patch Patch1: jfbterm-0.3.10-security.patch Patch2: jfbterm-0.3.10-implicit_decl.patch Patch3: jfbterm-pagemask.patch Summary: Framebuffer Terminal to Display Japanese Characters # Summary(ja): Linux の framebuffer 上で漢字を表示するためのプログラムです。 BuildRoot: %{_tmppath}/%{name}-%{version}-build # %description -l ja # # JFBTERM は Linux の framebuffer 上で漢字を表示するためのプログラムです。 # KON 同様に疑似端末を使ってコンソール出力をフックしますが、VGA ではなく、 # framebuffer に展開しています。 # # SuSE series: j %description JFBTERM is a program to display Japanese Kanji characters using the framebuffer. Similar to the well-known program kon, it uses a terminal emulator on the console and hooks into its output. But JFBTERM does not use VGA (like kon does). It uses the framebuffer instead. %prep %setup %patch0 -p1 %patch1 -p1 -b .security %patch2 %patch3 cp %{SOURCE1} . cp %{SOURCE2} . %build # update config.{guess,sub} %{?suse_update_config:%{suse_update_config}} aclocal automake -a --gnu --include-deps autoconf CFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=/usr \ --bindir=/usr/bin \ --sysconfdir=/etc \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ %ifnarch i386 --disable-vga16fb \ %endif %{_target_cpu}-suse-linux-gnu make %install [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; # "make install" doesn't work well here, therefore I do it manually # there are only two files anyway. # make prefix=$RPM_BUILD_ROOT/ install # mv $RPM_BUILD_ROOT/etc/jfbterm.conf.sample $RPM_BUILD_ROOT/etc/jfbterm.conf mkdir -p $RPM_BUILD_ROOT/etc mkdir -p $RPM_BUILD_ROOT/usr/bin install -p -m 4755 jfbterm $RPM_BUILD_ROOT/usr/bin/jfbterm install -p -m 644 jfbterm.conf.sample $RPM_BUILD_ROOT/etc/jfbterm.conf # install terminfo entry-description # mkdir -p $RPM_BUILD_ROOT/usr/share/terminfo/j # TERMINFO=$RPM_BUILD_ROOT/usr/share/terminfo tic terminfo.jfbterm %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %post %run_permissions # canuum needs a termcap entry, without it canuum won't run under jfbterm: if [ -f etc/termcap ]; then if [ `grep -c '^jfbterm|japanese framebuffer terminal' etc/termcap` -eq 0 ]; then cat %{_defaultdocdir}/jfbterm/termcap.jfbterm >> etc/termcap fi fi %verifyscript %verify_permissions -e /usr/bin/jfbterm %files %defattr(-, root, root) %doc AUTHORS NEWS COPYING README ChangeLog INSTALL jfbterm.conf.sample %doc terminfo.jfbterm termcap.jfbterm %verify(not mode) %attr(0755,root,tty) /usr/bin/jfbterm /etc/jfbterm.conf #/usr/share/terminfo/j/jfbterm %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor