LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File fireflysung.spec of Package fireflysung (Project home:swyear)

Name:         ttf-arphic-fireflysung
License:      Other License(s), see COPYING
Group:        System/X11/Fonts
PreReq:       %suseconfig_fonts_prereq
Autoreqprov:  on
Version:      1.3.0p1
Release:      1 
URL:          http://www.arphic.com.tw/
Source0:      %{name}-%{version}.tar.gz
#Source1:      20-minimal-font-size.conf
#Source2:      52-chinese.conf
Source10:     fonts.scale.fireflysung
Provides:     scalable-font-zh-TW, scalable-font-zh-CN, scalable-font-zh-SG
BuildArchitectures: noarch
BuildRoot:    %{_builddir}/%{name}-%{version}-root
Summary:      AR PL New Sung - the Open Source Chinese Font
Requires:     chinese-fonts-setting

%description
AR PL New Sung is a high quality Chinese TrueType font
original developed by ARPHIC TECHNOLOGY CO., LTD 
Author/Designer:
    Original author:
    Arphic Technology Co., Ltd.
    http://www.arphic.com.tw/

    Modified by:
    Firefly <firefly@firefly.idv.tw>
    http://firefly.idv.tw

NOTICE: This Truetype font contains embedded bitmap fonts made
	by firefly and is released as a whole
	under the ARPHIC PUBLIC LICENSE. (See COPYRIGHT)
	There are also seperate bitmap fonts made by Firefly and 
	released under the GENERAL PUBLIC LICENSE (GPL):
	http://www.study-area.org/apt/firefly-font/bitmaps/

%prep
%setup 

%build

%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
mkdir -p $RPM_BUILD_ROOT/usr/share/fonts/truetype/
install -c -m 644 fireflysung.ttf $RPM_BUILD_ROOT/usr/share/fonts/truetype/
install -c -m 644 $RPM_SOURCE_DIR/fonts.scale.fireflysung \
                  $RPM_BUILD_ROOT/usr/share/fonts/truetype/

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
rm -rf $RPM_BUILD_ROOT

%post
%run_suseconfig_fonts -c

%preun
%run_suseconfig_fonts -c


%files
%defattr(-, root,root)
%doc AUTHORS Changelog Changelog.big5 COPYRIGHT license
%dir /usr/share/fonts/truetype
/usr/share/fonts/truetype/fireflysung.ttf
%config /usr/share/fonts/truetype/fonts.scale.fireflysung

%changelog