rpms/baekmuk-ttf-fonts/devel FAPIcidfmap.ko, NONE, 1.1 baekmuk-ttf-fonts.spec, NONE, 1.1 cidfmap.ko, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jens Petersen (petersen) fedora-extras-commits at redhat.com
Mon Sep 24 06:46:56 UTC 2007


Author: petersen

Update of /cvs/extras/rpms/baekmuk-ttf-fonts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26645/devel

Modified Files:
	.cvsignore sources 
Added Files:
	FAPIcidfmap.ko baekmuk-ttf-fonts.spec cidfmap.ko 
Log Message:
initial import of approved package (#300651)



--- NEW FILE FAPIcidfmap.ko ---
%!
% The map is a set of records like this :
%
%  /CIDfont_name options_dict ;
%
% where options_dict is a dictionary with the following entries :
%
% Key         Type      Description
% Path        string    Absolute path to font file, or relative path to font file from
%                       the GS_EXTFONTPATH value.
% CIDFontType integer   PostScript type for this CID font. Only 0 is currently allowed.
%                       Note that this is unrelated to the real type of the font file -
%                       the bridge will perform format conversion.
% FAPI        name      Name of the renderer to be used with the font. /AgfaUFST and
%                       /FreeType is now allowed -- depends on which options Ghostscript
%                       was built with.
% SubfontId   integer   (optional) Index of the font in font collection, such as FCO or TTC.
%                       It is being ignored if /Path doesn't specify a collection.
% CSI         array     Must have strongly 2 elements.
%                       The first element of the array specifies Ordering of CIDSystemInfo.
%                       The second element specifies Supplement of CIDSystemInfo.
%
% Use regular Postscript syntax.
%
/Baekmuk-Batang		<< /Path (/usr/share/fonts/baekmuk-ttf-batang/batang.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ;
/Baekmuk-Dotum		<< /Path (/usr/share/fonts/baekmuk-ttf-dotum/dotum.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ;
/Baekmuk-Gulim		<< /Path (/usr/share/fonts/baekmuk-ttf-gulim/gulim.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ;
/Baekmuk-Headline	<< /Path (/usr/share/fonts/baekmuk-ttf-hline/hline.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ;
%
/Baekmuk-Batang-Regular		<< /Path (/usr/share/fonts/baekmuk-ttf-batang/batang.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ;
/Baekmuk-Dotum-Regular		<< /Path (/usr/share/fonts/baekmuk-ttf-dotum/dotum.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ;
/Baekmuk-Gulim-Regular		<< /Path (/usr/share/fonts/baekmuk-ttf-gulim/gulim.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ;
/Baekmuk-Headline-Regular	<< /Path (/usr/share/fonts/baekmuk-ttf-hline/hline.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ;
%
/Adobe-Korea1		<< /Path (/usr/share/fonts/baekmuk-ttf-batang/batang.ttf) /CIDFontType 0 /FAPI /FreeType /CSI [(Korea1) 2] >> ;


--- NEW FILE baekmuk-ttf-fonts.spec ---
%define upstreamname   baekmuk-ttf

%define ttfontdir      %{_datadir}/fonts/%{upstreamname}
%define cidmapdir      %{_datadir}/ghostscript/conf.d
%define catalogue      %{_sysconfdir}/X11/fontpath.d

Name:           %{upstreamname}-fonts
Version:        2.2
Release:        6%{?dist}
Summary:        Free Korean TrueType fonts

Group:          User Interface/X
License:        Baekmuk
URL:            http://kldp.net/frs/?group_id=57&release_id=865
Source0:        http://kldp.net/frs/download.php/1429/%{upstreamname}-%{version}.tar.gz
Source1:        FAPIcidfmap.ko
Source2:        cidfmap.ko
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  xorg-x11-font-utils, ttmkfdir >= 3.0.6

%description
This package provides the free Korean TrueType fonts.

%package common
Summary:        Common files for Korean Baekmuk TrueType fonts
License:        Baekmuk
Group:          User Interface/X
Conflicts:      fonts-korean < 2.2-5

%description common
This package contains some common files for Baekmuk Korean TrueType fonts.

%define mk_pkg()\
%package %1\
Summary:        Korean Baekmuk TrueType %2 typeface\
License:        Baekmuk\
Group:          User Interface/X\
Obsoletes:      ttfonts-ko < 1.0.11-33\
Requires:       %{name}-common\
\
%description %1\
This package contains the Korean TrueType font %2 typeface.\
\
%post %1\
if [ -x %{_bindir}/fc-cache ]; then\
  %{_bindir}/fc-cache %{_datadir}/fonts\
fi\
\
%postun %1\
if [ "$1" = "0" ]; then\
  if [ -x %{_bindir}/fc-cache ]; then\
    %{_bindir}/fc-cache %{_datadir}/fonts\
  fi\
fi\
\
%files %1\
%defattr(-,root,root,-)\
%dir %{ttfontdir}-%1\
%{ttfontdir}-%1/*.ttf\
%verify(not md5 size mtime) %{ttfontdir}-%1/fonts.dir\
%verify(not md5 size mtime) %{ttfontdir}-%1/fonts.scale\
%{catalogue}/%{name}-%1

%mk_pkg batang Batang
%mk_pkg dotum  Dotum
%mk_pkg gulim  Gulim
%mk_pkg hline  Headline

%prep
%setup -q -n %{upstreamname}-%{version}

%build
%{nil}

%install
rm -rf $RPM_BUILD_ROOT

# for catalogue
install -d $RPM_BUILD_ROOT%{catalogue}

for i in batang dotum gulim hline; do
  install -d $RPM_BUILD_ROOT%{ttfontdir}-$i
  install -p -m 0644 ttf/$i.ttf $RPM_BUILD_ROOT%{ttfontdir}-$i
  ln -sf ../../..%{ttfontdir}-$i $RPM_BUILD_ROOT%{catalogue}/%{name}-$i
  %{_bindir}/ttmkfdir -d $RPM_BUILD_ROOT%{ttfontdir}-$i -o $RPM_BUILD_ROOT%{ttfontdir}-$i/fonts.scale
  mkfontdir $RPM_BUILD_ROOT%{ttfontdir}-$i
done

# for ghostscript
install -d $RPM_BUILD_ROOT%{cidmapdir}
install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{cidmapdir}/
install -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{cidmapdir}/

# convert Korean copyright file to utf8
iconv -f EUC-KR -t UTF-8 COPYRIGHT.ks > COPYRIGHT.ko

%clean
rm -rf $RPM_BUILD_ROOT

%files common
%doc COPYRIGHT COPYRIGHT.ko README
%{cidmapdir}/

%changelog
* Mon Sep 24 2007 Jens Petersen <petersen at redhat.com> - 2.2-6
- convert Korean copyright file to utf8 (Mamoru Tasaka, #300651)

* Mon Sep 24 2007 Jens Petersen <petersen at redhat.com> - 2.2-5
- more fixes from Mamoru Tasaka, #300651:
- make common subpackage own ghostscript conf.d
- conflict with previous fonts-korean
- update CID font maps

* Mon Sep 24 2007 Jens Petersen <petersen at redhat.com> - 2.2-4
- preserve timestamps of installed files (Mamoru Tasaka, #300651)
- add a common subpackage for shared files (Mamoru Tasaka, #300651)

* Mon Sep 24 2007 Jens Petersen <petersen at redhat.com> - 2.2-3
- do not provide ttfonts-ko in subpackages (Mamoru Tasaka, #300651)

* Sat Sep 22 2007 Jens Petersen <petersen at redhat.com> - 2.2-2
- license is now designated Baekmuk

* Sat Sep 22 2007 Jens Petersen <petersen at redhat.com> - 2.2-1
- new package separated from fonts-korean (#253155)


--- NEW FILE cidfmap.ko ---
/Baekmuk-Batang		<< /FileType /TrueType /Path (/usr/share/fonts/baekmuk-ttf-batang/batang.ttf) /CSI [(Korea1) 2] >> ;
/Baekmuk-Batang-Regular		/Baekmuk-Batang ;
/Baekmuk-Dotum		<< /FileType /TrueType /Path (/usr/share/fonts/baekmuk-ttf-dotum/dotum.ttf) /CSI [(Korea1) 2] >> ;
/Baekmuk-Dotum-Regular		/Baekmuk-Dotum ;
/Baekmuk-Gulim		<< /FileType /TrueType /Path (/usr/share/fonts/baekmuk-ttf-gulim/gulim.ttf) /CSI [(Korea1) 2] >> ;
/Baekmuk-Gulim-Regular		/Baekmuk-Gulim ;
/Baekmuk-Headline	<< /FileType /TrueType /Path (/usr/share/fonts/baekmuk-ttf-hline/hline.ttf) /CSI [(Korea1) 2] >> ;
/Baekmuk-Headline-Regular	/Baekmuk-Headline ;
/Adobe-Korea1			/Baekmuk-Batang ;



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/baekmuk-ttf-fonts/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	24 Sep 2007 06:27:11 -0000	1.1
+++ .cvsignore	24 Sep 2007 06:46:22 -0000	1.2
@@ -0,0 +1 @@
+baekmuk-ttf-2.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/baekmuk-ttf-fonts/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Sep 2007 06:27:11 -0000	1.1
+++ sources	24 Sep 2007 06:46:22 -0000	1.2
@@ -0,0 +1 @@
+a6f4349179cbe3557641782cefba4d70  baekmuk-ttf-2.2.tar.gz




More information about the fedora-extras-commits mailing list