File CID-keyed-fonts-MOE.spec of Package CID-keyed-fonts-MOE

#
# spec file for package CID-keyed-fonts-MOE (Version 20021114)
#
# Copyright (c) 2009 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:           CID-keyed-fonts-MOE
Group:          Productivity/Publishing/PS
Requires:       ghostscript-cjk
AutoReqProv:    on
Provides:       locale(zh_TW)
Summary:        MOE CID-Keyed Fonts (for Traditional Chinese)
Version:        20021114
Release:        339
License:        Distributable if kept free
# Free CID keyed sample fonts from Adobe. Can be downloaded from:
# ftp://ftp.oreilly.com/pub/examples/nutshell/cjkv/adobe/samples/
Source0:        adobe-cid-keyed-sample-fonts-20021114.tar.bz2
Source1:        License
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This package contains the CID-keyed fonts

MOESung-Regular 	  (Adobe-CNS1-0 subset: 13699 CIDs)
MOEKai-Regular		  (Adobe-CNS1-0 subset: 13699 CIDs)

These fonts are useful for traditional Chinese--for Taiwan and
Hongkong. The fonts can be used with Ghostscript as well as with X11.



Authors:
--------
    Dr. Ken Lunde <lunde@adobe.com>

%package     -n CID-keyed-fonts-Wada
License:        Individual distribution permission
Summary:        Wadalab CID-Keyed Fonts (for Japanese)
Group:          Productivity/Publishing/PS
Provides:       locale(ja)

%description -n CID-keyed-fonts-Wada
This package contains the CID-keyed fonts

WadaMin-Regular 	  (Adobe-Japan1-1 subset: 6998 CIDs)
WadaMin-Bold		  (Adobe-Japan1-1 subset: 6996 CIDs)
WadaGo-Bold		  (Adobe-Japan1-1 subset: 6998 CIDs)
WadaMaruGo-Regular	  (Adobe-Japan1-1 subset: 6998 CIDs)

These fonts are useful for Japanese. The fonts can be used with
Ghostscript as well as with X11.



Authors:
--------
    Dr. Ken Lunde <lunde@adobe.com>

%package     -n CID-keyed-fonts-WadaH
License:        Individual distribution permission
Summary:        Wadalab CID-Keyed Fonts (for Rare Japanese Characters)
Group:          Productivity/Publishing/PS
Provides:       locale(ja)

%description -n CID-keyed-fonts-WadaH
This package contains the CID-keyed fonts

WadaMin-RegularH	  (Adobe-Japan2-0 complete: 6068 CIDs)
WadaMaruGo-RegularH	  (Adobe-Japan2-0 complete: 6068 CIDs)

These fonts contain the characters from the JIS X 0121-1990 character
set (additional, rarely used Japanese characters). The fonts can be
used with Ghostscript as well as with X11.



Authors:
--------
    Dr. Ken Lunde <lunde@adobe.com>

%package     -n CID-keyed-fonts-Munhwa
License:        Individual distribution permission
Summary:        Munhwa CID-Keyed Fonts (for Korean)
Group:          Productivity/Publishing/PS
Obsoletes:      gs_fonth
Provides:       locale(ko)

%description -n CID-keyed-fonts-Munhwa
This package contains the CID-keyed fonts

Munhwa-Regular		  (Adobe-Korea1-0 subset: 8193 CIDs)
Munhwa-Bold		  (Adobe-Korea1-0 subset: 2549 CIDs)
MunhwaGothic-Regular	  (Adobe-Korea1-0 subset: 8193 CIDs)
MunhwaGothic-Bold	  (Adobe-Korea1-0 subset: 2549 CIDs)
MunhwaGungSeo-Bold	  (Adobe-Korea1-0 subset: 2549 CIDs)
MunhwaGungSeo-Light	  (Adobe-Korea1-0 subset: 2549 CIDs)
MunhwaGungSeoHeulim-Bold  (Adobe-Korea1-0 subset: 2549 CIDs)
MunhwaGungSeoHeulim-Light (Adobe-Korea1-0 subset: 2549 CIDs)
MunhwaHoonMin-Regular	  (Adobe-Korea1-0 subset: 2549 CIDs)

These fonts are useful for Korean. The fonts can be used with
Ghostscript as well as with X11.



Authors:
--------
    Dr. Ken Lunde <lunde@adobe.com>

%prep
%setup -n %{name} -c %{name}
cp ${RPM_SOURCE_DIR}/License .

%build

%install
mkdir -p ${RPM_BUILD_ROOT}/usr/share/ghostscript/Resource/{CIDFont,AFM,CFM}
for i in ./samples/*.afm
do
   install -m 0644 ${i}      ${RPM_BUILD_ROOT}/usr/share/ghostscript/Resource/AFM
   install -m 0644 ${i%.afm} ${RPM_BUILD_ROOT}/usr/share/ghostscript/Resource/CIDFont
done

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

%files 
%defattr(-, root, root)
%doc License
%dir /usr/share/ghostscript/
%dir /usr/share/ghostscript/Resource/
%dir /usr/share/ghostscript/Resource/AFM/
%dir /usr/share/ghostscript/Resource/CIDFont/
/usr/share/ghostscript/Resource/CIDFont/MOEKai-Regular
/usr/share/ghostscript/Resource/CIDFont/MOESung-Regular
/usr/share/ghostscript/Resource/AFM/MOEKai-Regular.afm
/usr/share/ghostscript/Resource/AFM/MOESung-Regular.afm

%files -n CID-keyed-fonts-Wada 
%defattr(-, root, root)
%doc License
%dir /usr/share/ghostscript/
%dir /usr/share/ghostscript/Resource/
%dir /usr/share/ghostscript/Resource/AFM/
%dir /usr/share/ghostscript/Resource/CIDFont/
/usr/share/ghostscript/Resource/CIDFont/WadaGo-Bold
/usr/share/ghostscript/Resource/CIDFont/WadaMaruGo-Regular
/usr/share/ghostscript/Resource/CIDFont/WadaMin-Bold
/usr/share/ghostscript/Resource/CIDFont/WadaMin-Regular
/usr/share/ghostscript/Resource/AFM/WadaGo-Bold.afm
/usr/share/ghostscript/Resource/AFM/WadaMaruGo-Regular.afm
/usr/share/ghostscript/Resource/AFM/WadaMin-Bold.afm
/usr/share/ghostscript/Resource/AFM/WadaMin-Regular.afm

%files -n CID-keyed-fonts-WadaH 
%defattr(-, root, root)
%doc License
%dir /usr/share/ghostscript/
%dir /usr/share/ghostscript/Resource/
%dir /usr/share/ghostscript/Resource/AFM/
%dir /usr/share/ghostscript/Resource/CIDFont/
/usr/share/ghostscript/Resource/CIDFont/WadaMaruGo-RegularH
/usr/share/ghostscript/Resource/CIDFont/WadaMin-RegularH
/usr/share/ghostscript/Resource/AFM/WadaMaruGo-RegularH.afm
/usr/share/ghostscript/Resource/AFM/WadaMin-RegularH.afm

%files -n CID-keyed-fonts-Munhwa
%defattr(-, root, root)
%doc License
%dir /usr/share/ghostscript/
%dir /usr/share/ghostscript/Resource/
%dir /usr/share/ghostscript/Resource/AFM/
%dir /usr/share/ghostscript/Resource/CIDFont/
/usr/share/ghostscript/Resource/CIDFont/Munhwa-Bold
/usr/share/ghostscript/Resource/CIDFont/Munhwa-Regular
/usr/share/ghostscript/Resource/CIDFont/MunhwaGothic-Bold
/usr/share/ghostscript/Resource/CIDFont/MunhwaGothic-Regular
/usr/share/ghostscript/Resource/CIDFont/MunhwaGungSeo-Bold
/usr/share/ghostscript/Resource/CIDFont/MunhwaGungSeo-Light
/usr/share/ghostscript/Resource/CIDFont/MunhwaGungSeoHeulim-Bold
/usr/share/ghostscript/Resource/CIDFont/MunhwaGungSeoHeulim-Light
/usr/share/ghostscript/Resource/CIDFont/MunhwaHoonMin-Regular
/usr/share/ghostscript/Resource/AFM/Munhwa-Bold.afm
/usr/share/ghostscript/Resource/AFM/Munhwa-Regular.afm
/usr/share/ghostscript/Resource/AFM/MunhwaGothic-Bold.afm
/usr/share/ghostscript/Resource/AFM/MunhwaGothic-Regular.afm
/usr/share/ghostscript/Resource/AFM/MunhwaGungSeo-Bold.afm
/usr/share/ghostscript/Resource/AFM/MunhwaGungSeo-Light.afm
/usr/share/ghostscript/Resource/AFM/MunhwaGungSeoHeulim-Bold.afm
/usr/share/ghostscript/Resource/AFM/MunhwaGungSeoHeulim-Light.afm
/usr/share/ghostscript/Resource/AFM/MunhwaHoonMin-Regular.afm

%changelog
* Fri Dec 12 2008 cfarrell@suse.de
- Changed license to show that package is distributable but should
  be kept free
* Tue Feb 28 2006 mfabian@suse.de
- add "Provides: locale(...)".
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Feb 05 2004 hmacht@suse.de
- added option # norootforbuild in specfile
* Fri Jun 13 2003 mfabian@suse.de
- fix "directory not owned by any package".
* Tue Nov 19 2002 mfabian@suse.de
- splitted from ghostscript-library
openSUSE Build Service is sponsored by