%global fontname un-extra %global fontconf 66-0-%{fontname} %global archivename un-fonts-extra %global alphatag 080608 %define _fontdir %{_datadir}/fonts %define _fontconfig_confdir %{_sysconfdir}/fonts/conf.d %define _fontconfig_templatedir %{_datadir}/fontconfig/conf.avail Name: %{fontname}-fonts Version: 1.0.2 Release: 1 Summary: Un Extra family of Korean TrueType fonts Group: User Interface/X License: GPLv2 URL: http://kldp.net/projects/unfonts/ Source0: http://kldp.net/frs/download.php/4696/%{archivename}-%{version}-%{alphatag}.tar.gz Source1: %{name}-bom-fontconfig.conf Source2: %{name}-jamobatang-fontconfig.conf Source3: %{name}-jamodotum-fontconfig.conf Source4: %{name}-jamonovel-fontconfig.conf Source5: %{name}-jamosora-fontconfig.conf Source6: %{name}-pen-fontconfig.conf Source7: %{name}-penheulim-fontconfig.conf Source8: %{name}-pilgia-fontconfig.conf Source9: %{name}-shinmun-fontconfig.conf Source10: %{name}-taza-fontconfig.conf Source11: %{name}-vada-fontconfig.conf Source12: %{name}-yetgul-fontconfig.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch %description This is just a dummy to satisfy RPM. %package -n %{fontname}-bom-fonts Summary: Un Core fonts - UnBom Group: User Interface/X Requires: fontconfig %description -n %{fontname}-bom-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes UnBom, a decorative font. %package -n %{fontname}-jamobatang-fonts Summary: Un Core fonts - UnJamoBatang Group: User Interface/X Requires: fontconfig %description -n %{fontname}-jamobatang-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes the UnJamoBatang font. %package -n %{fontname}-jamodotum-fonts Summary: Un Core fonts - UnJamoDotum Group: User Interface/X Requires: fontconfig %description -n %{fontname}-jamodotum-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes the UnJamoDotum font. %package -n %{fontname}-jamonovel-fonts Summary: Un Core fonts - UnJamoNovel Group: User Interface/X Requires: fontconfig %description -n %{fontname}-jamonovel-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes the UnJamoNovel font. %package -n %{fontname}-jamosora-fonts Summary: Un Core fonts - UnJamoSora Group: User Interface/X Requires: fontconfig %description -n %{fontname}-jamosora-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes the UnJamoSora font. %package -n %{fontname}-pen-fonts Summary: Un Core fonts - UnPen Group: User Interface/X Requires: fontconfig %description -n %{fontname}-pen-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes UnPen, a script font. %package -n %{fontname}-penheulim-fonts Summary: Un Core fonts - UnPenheulim Group: User Interface/X Requires: fontconfig %description -n %{fontname}-penheulim-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes UnPenheulim, a script font. %package -n %{fontname}-pilgia-fonts Summary: Un Core fonts - UnPilgia Group: User Interface/X Requires: fontconfig %description -n %{fontname}-pilgia-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes UnPilgia, a script font. %package -n %{fontname}-shinmun-fonts Summary: Un Core fonts - UnShinmun Group: User Interface/X Requires: fontconfig %description -n %{fontname}-shinmun-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes the UnShinmun font. %package -n %{fontname}-taza-fonts Summary: Un Core fonts - UnTaza Group: User Interface/X Requires: fontconfig %description -n %{fontname}-taza-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes UnTaza, a typewriter font. %package -n %{fontname}-vada-fonts Summary: Un Core fonts - UnVada Group: User Interface/X Requires: fontconfig %description -n %{fontname}-vada-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes the UnVada font. %package -n %{fontname}-yetgul-fonts Summary: Un Core fonts - UnYetgul Group: User Interface/X Requires: fontconfig %description -n %{fontname}-yetgul-fonts The UN set of Korean TrueType fonts is derived from the HLaTeX Type1 fonts made by Koaunghi Un in 1998. They were converted to TrueType with FontForge(PfaEdit) by Won-kyu Park in 2003. The Un Extra set is composed of: - UnPen, UnPenheulim: script - UnTaza: typewriter style - UnBom: decorative - UnShinmun - UnYetgul: old Korean printing style - UnJamoSora, UnJamoNovel, UnJamoDotum, UnJamoBatang - UnVada - UnPilgia: script This package includes UnYetgul, an old Korean printing font. %prep %setup -q -n un-fonts %build %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_fontdir}/%{fontname} chmod 0755 ${RPM_BUILD_ROOT}%{_fontdir}/%{fontname} cp *.ttf ${RPM_BUILD_ROOT}%{_fontdir}/%{fontname}/ chmod 0644 ${RPM_BUILD_ROOT}%{_fontdir}/%{fontname}/* mkdir -p ${RPM_BUILD_ROOT}%{_fontconfig_confdir} chmod 0755 ${RPM_BUILD_ROOT}%{_fontconfig_confdir} mkdir -p ${RPM_BUILD_ROOT}%{_fontconfig_templatedir} chmod 0755 ${RPM_BUILD_ROOT}%{_fontconfig_templatedir} cp %{SOURCE1} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-bom.conf cp %{SOURCE2} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-jamobatang.conf cp %{SOURCE3} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-jamodotum.conf cp %{SOURCE4} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-jamonovel.conf cp %{SOURCE5} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-jamosora.conf cp %{SOURCE6} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-pen.conf cp %{SOURCE7} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-penheulim.conf cp %{SOURCE8} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-pilgia.conf cp %{SOURCE9} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-shinmun.conf cp %{SOURCE10} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-taza.conf cp %{SOURCE11} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-vada.conf cp %{SOURCE12} ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/%{fontconf}-yetgul.conf chmod 0644 ${RPM_BUILD_ROOT}%{_fontconfig_templatedir}/*.conf for f in %{fontconf}-bom.conf \ %{fontconf}-jamobatang.conf \ %{fontconf}-jamodotum.conf \ %{fontconf}-jamonovel.conf \ %{fontconf}-jamosora.conf \ %{fontconf}-pen.conf \ %{fontconf}-penheulim.conf \ %{fontconf}-pilgia.conf \ %{fontconf}-shinmun.conf \ %{fontconf}-taza.conf \ %{fontconf}-vada.conf \ %{fontconf}-yetgul.conf ; do ln -s %{_fontconfig_templatedir}/${f} ${RPM_BUILD_ROOT}%{_fontconfig_confdir}/${f} done %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files -n %{fontname}-bom-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-bom.conf %{_fontconfig_templatedir}/%{fontconf}-bom.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnBom.ttf %files -n %{fontname}-jamobatang-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-jamobatang.conf %{_fontconfig_templatedir}/%{fontconf}-jamobatang.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnJamoBatang.ttf %files -n %{fontname}-jamodotum-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-jamodotum.conf %{_fontconfig_templatedir}/%{fontconf}-jamodotum.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnJamoDotum.ttf %files -n %{fontname}-jamonovel-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-jamonovel.conf %{_fontconfig_templatedir}/%{fontconf}-jamonovel.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnJamoNovel.ttf %files -n %{fontname}-jamosora-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-jamosora.conf %{_fontconfig_templatedir}/%{fontconf}-jamosora.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnJamoSora.ttf %files -n %{fontname}-pen-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-pen.conf %{_fontconfig_templatedir}/%{fontconf}-pen.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnPen.ttf %files -n %{fontname}-penheulim-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-penheulim.conf %{_fontconfig_templatedir}/%{fontconf}-penheulim.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnPenheulim.ttf %files -n %{fontname}-pilgia-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-pilgia.conf %{_fontconfig_templatedir}/%{fontconf}-pilgia.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnPilgia.ttf %files -n %{fontname}-shinmun-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-shinmun.conf %{_fontconfig_templatedir}/%{fontconf}-shinmun.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnShinmun.ttf %files -n %{fontname}-taza-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-taza.conf %{_fontconfig_templatedir}/%{fontconf}-taza.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnTaza.ttf %files -n %{fontname}-vada-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-vada.conf %{_fontconfig_templatedir}/%{fontconf}-vada.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnVada.ttf %files -n %{fontname}-yetgul-fonts %defattr(-,root,system,-) %doc COPYING README %{_fontconfig_confdir}/%{fontconf}-yetgul.conf %{_fontconfig_templatedir}/%{fontconf}-yetgul.conf %dir %{_fontdir}/%{fontname} %{_fontdir}/%{fontname}/UnYetgul.ttf %changelog * Thu Dec 02 2010 Michael Perzl - 1.0.2-1 - first version for AIX V5.1 and higher