|
|
bfb11d |
%global priority 65-2
|
|
|
bfb11d |
%global fontname baekmuk-ttf
|
|
|
bfb11d |
%define archivename %{fontname}-%{version}
|
|
|
bfb11d |
%define common_desc \
|
|
|
bfb11d |
This package provides the free Korean TrueType fonts.
|
|
|
bfb11d |
|
|
|
bfb11d |
%define gsdir %{_datadir}/ghostscript/conf.d
|
|
|
bfb11d |
%define catalogue %{_sysconfdir}/X11/fontpath.d
|
|
|
bfb11d |
|
|
|
bfb11d |
Name: %{fontname}-fonts
|
|
|
bfb11d |
Version: 2.2
|
|
|
bfb11d |
Release: 36%{?dist}
|
|
|
bfb11d |
Summary: Free Korean TrueType fonts
|
|
|
bfb11d |
|
|
|
bfb11d |
Group: User Interface/X
|
|
|
bfb11d |
License: Baekmuk
|
|
|
bfb11d |
URL: http://kldp.net/projects/baekmuk/
|
|
|
bfb11d |
Source0: http://kldp.net/frs/download.php/1429/%{archivename}.tar.gz
|
|
|
bfb11d |
Source1: FAPIcidfmap.ko
|
|
|
bfb11d |
Source2: cidfmap.ko
|
|
|
bfb11d |
Source3: baekmuk-ttf-batang.conf
|
|
|
bfb11d |
Source4: baekmuk-ttf-dotum.conf
|
|
|
bfb11d |
Source5: baekmuk-ttf-gulim.conf
|
|
|
bfb11d |
Source6: baekmuk-ttf-hline.conf
|
|
|
bfb11d |
|
|
|
bfb11d |
Obsoletes: fonts-korean <= 2.2-23
|
|
|
bfb11d |
Provides: fonts-korean = %{version}-%{release}
|
|
|
bfb11d |
|
|
|
bfb11d |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
bfb11d |
BuildArch: noarch
|
|
|
bfb11d |
BuildRequires: fontpackages-devel >= 1.13 , xorg-x11-font-utils
|
|
|
bfb11d |
BuildRequires: ttmkfdir >= 3.0.6
|
|
|
bfb11d |
|
|
|
bfb11d |
%description
|
|
|
bfb11d |
%common_desc
|
|
|
bfb11d |
|
|
|
bfb11d |
%package -n %{fontname}-batang-fonts
|
|
|
bfb11d |
Summary: Korean Baekmuk TrueType Batang typeface
|
|
|
bfb11d |
Group: User Interface/X
|
|
|
bfb11d |
Obsoletes: %{name}-batang < 2.2-13
|
|
|
bfb11d |
Provides: %{name}-batang = %{version}-%{release}
|
|
|
bfb11d |
Requires: %{fontname}-fonts-common = %{version}-%{release}
|
|
|
bfb11d |
|
|
|
bfb11d |
%description -n %{fontname}-batang-fonts
|
|
|
bfb11d |
%common_desc
|
|
|
bfb11d |
|
|
|
bfb11d |
Batang is Korean TrueType font in Serif typeface.
|
|
|
bfb11d |
|
|
|
bfb11d |
%_font_pkg -n batang -f *-%{fontname}-batang*.conf batang.ttf
|
|
|
bfb11d |
|
|
|
bfb11d |
%package -n %{fontname}-dotum-fonts
|
|
|
bfb11d |
Summary: Korean Baekmuk TrueType Dotum typeface
|
|
|
bfb11d |
Group: User Interface/X
|
|
|
bfb11d |
Obsoletes: %{name}-dotum < 2.2-13
|
|
|
bfb11d |
Provides: %{name}-dotum = %{version}-%{release}
|
|
|
bfb11d |
Requires: %{fontname}-fonts-common = %{version}-%{release}
|
|
|
bfb11d |
|
|
|
bfb11d |
%description -n %{fontname}-dotum-fonts
|
|
|
bfb11d |
%common_desc
|
|
|
bfb11d |
|
|
|
bfb11d |
Dotum is Korean TrueType font in San-serif typeface.
|
|
|
bfb11d |
|
|
|
bfb11d |
%_font_pkg -n dotum -f *-%{fontname}-dotum*.conf dotum.ttf
|
|
|
bfb11d |
|
|
|
bfb11d |
%package -n %{fontname}-gulim-fonts
|
|
|
bfb11d |
Summary: Korean Baekmuk TrueType Gulim typeface
|
|
|
bfb11d |
Group: User Interface/X
|
|
|
bfb11d |
Obsoletes: %{name}-gulim < 2.2-13
|
|
|
bfb11d |
Provides: %{name}-gulim = %{version}-%{release}
|
|
|
bfb11d |
Requires: %{fontname}-fonts-common = %{version}-%{release}
|
|
|
bfb11d |
|
|
|
bfb11d |
%description -n %{fontname}-gulim-fonts
|
|
|
bfb11d |
%common_desc
|
|
|
bfb11d |
|
|
|
bfb11d |
Gulim is Korean TrueType font in Monospace typeface.
|
|
|
bfb11d |
|
|
|
bfb11d |
%_font_pkg -n gulim -f *-%{fontname}-gulim*.conf gulim.ttf
|
|
|
bfb11d |
|
|
|
bfb11d |
%package -n %{fontname}-hline-fonts
|
|
|
bfb11d |
Summary: Korean Baekmuk TrueType Headline typeface
|
|
|
bfb11d |
Group: User Interface/X
|
|
|
bfb11d |
Obsoletes: %{name}-hline < 2.2-13
|
|
|
bfb11d |
Provides: %{name}-hline = %{version}-%{release}
|
|
|
bfb11d |
Requires: %{fontname}-fonts-common = %{version}-%{release}
|
|
|
bfb11d |
|
|
|
bfb11d |
%description -n %{fontname}-hline-fonts
|
|
|
bfb11d |
%common_desc
|
|
|
bfb11d |
|
|
|
bfb11d |
Headline is Korean TrueType font in Black face.
|
|
|
bfb11d |
|
|
|
bfb11d |
%_font_pkg -n hline -f *-%{fontname}-hline*.conf hline.ttf
|
|
|
bfb11d |
|
|
|
bfb11d |
%package -n %{fontname}-fonts-ghostscript
|
|
|
bfb11d |
Summary: Ghostscript files for Korean Baekmuk TrueType fonts
|
|
|
bfb11d |
Group: User Interface/X
|
|
|
bfb11d |
Requires: ghostscript >= 8.63-4
|
|
|
bfb11d |
Requires: %{fontname}-batang-fonts = %{version}-%{release}
|
|
|
bfb11d |
Requires: %{fontname}-dotum-fonts = %{version}-%{release}
|
|
|
bfb11d |
Requires: %{fontname}-gulim-fonts = %{version}-%{release}
|
|
|
bfb11d |
Requires: %{fontname}-hline-fonts = %{version}-%{release}
|
|
|
bfb11d |
|
|
|
bfb11d |
%description -n %{fontname}-fonts-ghostscript
|
|
|
bfb11d |
%common_desc
|
|
|
bfb11d |
|
|
|
bfb11d |
This is ghostscript files for Baekmuk Korean TrueType fonts.
|
|
|
bfb11d |
|
|
|
bfb11d |
%files -n %{fontname}-fonts-ghostscript
|
|
|
bfb11d |
%defattr(-,root,root,-)
|
|
|
bfb11d |
%{gsdir}/cidfmap.ko
|
|
|
bfb11d |
%{gsdir}/FAPIcidfmap.ko
|
|
|
bfb11d |
|
|
|
bfb11d |
%package -n %{fontname}-fonts-common
|
|
|
bfb11d |
Summary: Common files for Korean Baekmuk TrueType fonts
|
|
|
bfb11d |
Group: User Interface/X
|
|
|
bfb11d |
Obsoletes: ttfonts-ko < 1.0.11-33, fonts-korean < 2.2-5
|
|
|
bfb11d |
Obsoletes: baekmuk-ttf-common-fonts < 2.2-17
|
|
|
bfb11d |
Provides: baekmuk-ttf-common-fonts = %{version}-%{release}
|
|
|
bfb11d |
Provides: fonts-korean = %{version}-%{release}
|
|
|
bfb11d |
Provides: ttfonts-ko = %{version}-%{release}
|
|
|
bfb11d |
Requires: fontpackages-filesystem >= 1.13
|
|
|
bfb11d |
BuildRequires: fontpackages-filesystem >= 1.13
|
|
|
bfb11d |
|
|
|
bfb11d |
%description -n %{fontname}-fonts-common
|
|
|
bfb11d |
%common_desc
|
|
|
bfb11d |
|
|
|
bfb11d |
This is common files for Baekmuk Korean TrueType fonts.
|
|
|
bfb11d |
|
|
|
bfb11d |
%files -n %{fontname}-fonts-common
|
|
|
bfb11d |
%doc COPYRIGHT COPYRIGHT.ko README
|
|
|
bfb11d |
%dir %{_fontdir}
|
|
|
bfb11d |
%verify(not md5 size mtime) %{_fontdir}/fonts.dir
|
|
|
bfb11d |
%verify(not md5 size mtime) %{_fontdir}/fonts.scale
|
|
|
bfb11d |
%verify(not md5 size mtime) %{catalogue}/%{fontname}
|
|
|
bfb11d |
|
|
|
bfb11d |
%prep
|
|
|
bfb11d |
%setup -q -n %{archivename}
|
|
|
bfb11d |
|
|
|
bfb11d |
%build
|
|
|
bfb11d |
%{nil}
|
|
|
bfb11d |
|
|
|
bfb11d |
%install
|
|
|
bfb11d |
# font
|
|
|
bfb11d |
%__install -d -m 0755 %{buildroot}%{_fontdir}
|
|
|
bfb11d |
for i in batang dotum gulim hline; do
|
|
|
bfb11d |
%__install -p -m 0644 ttf/$i.ttf %{buildroot}%{_fontdir}
|
|
|
bfb11d |
done
|
|
|
bfb11d |
|
|
|
bfb11d |
# fontconfig conf
|
|
|
bfb11d |
%__install -m 0755 -d %{buildroot}%{_fontconfig_templatedir}
|
|
|
bfb11d |
%__install -m 0755 -d %{buildroot}%{_fontconfig_confdir}
|
|
|
bfb11d |
cd ../
|
|
|
bfb11d |
for fconf in %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6}
|
|
|
bfb11d |
do
|
|
|
bfb11d |
%__install -m 0644 $fconf %{buildroot}%{_fontconfig_templatedir}/%{priority}-$(basename $fconf)
|
|
|
bfb11d |
%__ln_s %{_fontconfig_templatedir}/%{priority}-$(basename $fconf) \
|
|
|
bfb11d |
%{buildroot}%{_fontconfig_confdir}/%{priority}-$(basename $fconf)
|
|
|
bfb11d |
done
|
|
|
bfb11d |
cd -
|
|
|
bfb11d |
|
|
|
bfb11d |
# fonts.{scale,dir}
|
|
|
bfb11d |
%{_bindir}/ttmkfdir -d %{buildroot}%{_fontdir} \
|
|
|
bfb11d |
-o %{buildroot}%{_fontdir}/fonts.scale
|
|
|
bfb11d |
%{_bindir}/mkfontdir %{buildroot}%{_fontdir}
|
|
|
bfb11d |
|
|
|
bfb11d |
# ghostscript
|
|
|
bfb11d |
%__install -d -m 0755 %{buildroot}%{gsdir}
|
|
|
bfb11d |
%__install -p -m 0644 %{SOURCE1} %{buildroot}%{gsdir}/
|
|
|
bfb11d |
%__install -p -m 0644 %{SOURCE2} %{buildroot}%{gsdir}/
|
|
|
bfb11d |
|
|
|
bfb11d |
# catalogue
|
|
|
bfb11d |
%__install -d -m 0755 %{buildroot}%{catalogue}
|
|
|
bfb11d |
%__ln_s %{_fontdir} %{buildroot}%{catalogue}/%{fontname}
|
|
|
bfb11d |
|
|
|
bfb11d |
# convert Korean copyright file to utf8
|
|
|
bfb11d |
%{_bindir}/iconv -f EUC-KR -t UTF-8 COPYRIGHT.ks > COPYRIGHT.ko
|
|
|
bfb11d |
|
|
|
bfb11d |
%changelog
|
|
|
bfb11d |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.2-36
|
|
|
bfb11d |
- Mass rebuild 2013-12-27
|
|
|
bfb11d |
|
|
|
bfb11d |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-35
|
|
|
bfb11d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
bfb11d |
|
|
|
bfb11d |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-34
|
|
|
bfb11d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
bfb11d |
|
|
|
bfb11d |
* Wed Jul 4 2012 Daiki Ueno <dueno@redhat.com> - 2.2-33
|
|
|
bfb11d |
- fix <test> usage in fontconfig files (Closes: #837526)
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Feb 6 2012 Daiki Ueno <dueno@redhat.com> - 2.2-32
|
|
|
bfb11d |
- Update the priority.
|
|
|
bfb11d |
nhn-nanum-fonts -> 65-0, un-core-fonts -> 65-1, baekmuk-ttf-fonts -> 65-2
|
|
|
bfb11d |
- Drop buildroot cleanup.
|
|
|
bfb11d |
- Drop %%defattr(0644,root,root,0755) from %%files.
|
|
|
bfb11d |
|
|
|
bfb11d |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-31
|
|
|
bfb11d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-30
|
|
|
bfb11d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
bfb11d |
|
|
|
bfb11d |
* Wed May 26 2010 Akira TAGOH <tagoh@redhat.com> - 2.2-29
|
|
|
bfb11d |
- Improve the fontconfig config file to match ko-kr as well. (#586306)
|
|
|
bfb11d |
- sync NVR and fixes from RHEL-6.
|
|
|
bfb11d |
- Update the priority.
|
|
|
bfb11d |
|
|
|
bfb11d |
* Wed Apr 21 2010 Caius 'kaio' Chance <k at kaio.me> - 2.2-25
|
|
|
bfb11d |
- Resolves: rhbz#578017 (Remove binding="same" from conf files.)
|
|
|
bfb11d |
|
|
|
bfb11d |
* Wed Jan 13 2010 Caius 'kaio' Chance <k at kaio.me> - 2.2-24.el6
|
|
|
bfb11d |
- Fixed rpmlint errors.
|
|
|
bfb11d |
- Synchronized version number with another tree.
|
|
|
bfb11d |
|
|
|
bfb11d |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-22
|
|
|
bfb11d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
bfb11d |
|
|
|
bfb11d |
* Wed Apr 08 2009 Caius 'kaio' Chance <cchance@redhat.com> - 2.2-21.fc11
|
|
|
bfb11d |
- Resolves: rhbz#483327 (Fixed unowned directories.)
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-20
|
|
|
bfb11d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
bfb11d |
|
|
|
bfb11d |
* Tue Feb 03 2009 Caius Chance <cchance@redhat.com> - 2.2-19.fc11
|
|
|
bfb11d |
- Resolves: rhbz#483327
|
|
|
bfb11d |
- Reowned font directory by subpackage -common.
|
|
|
bfb11d |
- Splited ghostscript files to subpackage -ghostscript.
|
|
|
bfb11d |
- Updated paths in ghostscript files.
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Feb 02 2009 Caius Chance <cchance@redhat.com> - 2.2-18.fc11
|
|
|
bfb11d |
- Updated fontconfig .conf files based on fontpackages templates.
|
|
|
bfb11d |
|
|
|
bfb11d |
* Tue Jan 27 2009 Caius Chance <cchance@redhat.com> - 2.2-17.fc11
|
|
|
bfb11d |
- Resolves: rhbz#477332
|
|
|
bfb11d |
- Fixed obsoletion of baekmuk-ttf-common-fonts.
|
|
|
bfb11d |
|
|
|
bfb11d |
* Thu Jan 22 2009 Caius Chance <cchance@redhat.com> - 2.2-16.fc11
|
|
|
bfb11d |
- Resolves: rhbz#477332
|
|
|
bfb11d |
- Refined dependencies.
|
|
|
bfb11d |
|
|
|
bfb11d |
* Tue Jan 20 2009 Matthias Clasen <mclasen@redhat.com> - 2.2-15.fc11
|
|
|
bfb11d |
- Fix busted inter-subpackage dependencies
|
|
|
bfb11d |
|
|
|
bfb11d |
* Tue Jan 20 2009 Caius Chance <cchance@redhat.com> - 2.2-14.fc11
|
|
|
bfb11d |
- Resolves: rhbz#477332
|
|
|
bfb11d |
- Refined according to Mailhot's comments (477410) on liberaton fonts.
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Jan 19 2009 Caius Chance <cchance@redhat.com> - 2.2-13.fc11
|
|
|
bfb11d |
- Resolves: rhbz#477332
|
|
|
bfb11d |
- Package renaming for post-1.13 fontpackages.
|
|
|
bfb11d |
|
|
|
bfb11d |
* Fri Jan 16 2009 Caius Chance <cchance@redhat.com> - 2.2-12.fc11
|
|
|
bfb11d |
- Resolves: rhbz#477332 (Repatched buildsys error.)
|
|
|
bfb11d |
|
|
|
bfb11d |
* Fri Jan 16 2009 Caius Chance <cchance@redhat.com> - 2.2-11.fc11
|
|
|
bfb11d |
- Resolves: rhbz#477332 (Included macro _font_pkg and created fontconfig .conf files.)
|
|
|
bfb11d |
|
|
|
bfb11d |
* Fri Jan 09 2009 Caius Chance <cchance@redhat.com> - 2.2-10.fc11
|
|
|
bfb11d |
- Resolves: rhbz#477332 (Converted to new font packaging guidelines.)
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Jun 30 2008 Caius Chance <cchance@redhat.com> - 2.2-9.fc10
|
|
|
bfb11d |
- Refine obsoletes tag version-release specific.
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Jun 30 2008 Caius Chance <cchance@redhat.com> - 2.2-8.fc10
|
|
|
bfb11d |
- Resolves: rhbz#453080 (fonts-korean is deprecated and should be removed.)
|
|
|
bfb11d |
|
|
|
bfb11d |
* Wed Nov 14 2007 Jens Petersen <petersen@redhat.com> - 2.2-7
|
|
|
bfb11d |
- better url
|
|
|
bfb11d |
- use fontname and fontdir macros
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Sep 24 2007 Jens Petersen <petersen@redhat.com> - 2.2-6
|
|
|
bfb11d |
- convert Korean copyright file to utf8 (Mamoru Tasaka, #300651)
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Sep 24 2007 Jens Petersen <petersen@redhat.com> - 2.2-5
|
|
|
bfb11d |
- more fixes from Mamoru Tasaka, #300651:
|
|
|
bfb11d |
- make common subpackage own ghostscript conf.d
|
|
|
bfb11d |
- conflict with previous fonts-korean
|
|
|
bfb11d |
- update CID font maps
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Sep 24 2007 Jens Petersen <petersen@redhat.com> - 2.2-4
|
|
|
bfb11d |
- preserve timestamps of installed files (Mamoru Tasaka, #300651)
|
|
|
bfb11d |
- add a common subpackage for shared files (Mamoru Tasaka, #300651)
|
|
|
bfb11d |
|
|
|
bfb11d |
* Mon Sep 24 2007 Jens Petersen <petersen@redhat.com> - 2.2-3
|
|
|
bfb11d |
- do not provide ttfonts-ko in subpackages (Mamoru Tasaka, #300651)
|
|
|
bfb11d |
|
|
|
bfb11d |
* Sat Sep 22 2007 Jens Petersen <petersen@redhat.com> - 2.2-2
|
|
|
bfb11d |
- license is now designated Baekmuk
|
|
|
bfb11d |
|
|
|
bfb11d |
* Sat Sep 22 2007 Jens Petersen <petersen@redhat.com> - 2.2-1
|
|
|
bfb11d |
- new package separated from fonts-korean (#253155)
|