File ttf-cmex.spec of Package ttf-cmex
#
# spec file for package ttf-cmex
#
# Copyright (c) 2014 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/
#
Name: ttf-cmex
BuildRequires: fontpackages-devel
PreReq: %suseconfig_fonts_prereq
Version: 0.20061030
Release: 0
Url: http://www.cmex.org.tw
Source0: ttf-cmex.tar.bz2
Source10: fonts.scale.cmexsong
Source11: fonts.scale.cmexkai
Source20: README
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Traditional Chinese TrueType fonts made by CMEX
License: SUSE-NonFree
Group: System/I18n/Chinese
%reconfigure_fonts_prereq
%description
Traditional Chinese TrueType fonts made by CMEX.
Authors:
--------
Chinese Foundation For Digitization Technology <cmex@cmex.org.tw>
%package song
Summary: CMEXSong Traditional Chinese TrueType font made by CMEX
Group: System/X11/Fonts
Provides: scalable-font-zh-TW
Provides: locale(zh_TW)
%description song
CMEXSong Traditional Chinese TrueType font made by CMEX.
Authors:
--------
Chinese Foundation For Digitization Technology <cmex@cmex.org.tw>
%package kai
Summary: CMEXKai Traditional Chinese TrueType font made by CMEX
Group: System/I18n/Chinese
Provides: scalable-font-zh-TW
Provides: locale(zh_TW)
%description kai
CMEXKai Traditional Chinese TrueType font made by CMEX.
Authors:
--------
Chinese Foundation For Digitization Technology <cmex@cmex.org.tw>
%prep
%setup -n %{name}
cp $RPM_SOURCE_DIR/fonts.scale* .
%build
%install
mkdir -p %{buildroot}%{_ttfontsdir}/
install -c -m 644 *.ttf %{buildroot}%{_ttfontsdir}/
install -c -m 644 fonts.scale.* %{buildroot}%{_ttfontsdir}/
%reconfigure_fonts_scriptlets -c -n ttf-cmex-song
%reconfigure_fonts_scriptlets -c -n ttf-cmex-kai
%files song
%defattr(-, root,root)
%doc COPYRIGHT-CMEX-Song*
%dir %{_ttfontsdir}
%{_ttfontsdir}/cmexsong.ttf
%config %{_ttfontsdir}/fonts.scale.cmexsong
%files kai
%defattr(-, root,root)
%doc COPYRIGHT-CMEX-Kai*
%dir %{_ttfontsdir}
%{_ttfontsdir}/cmexkai.ttf
%config %{_ttfontsdir}/fonts.scale.cmexkai
%changelog