forked from pool/un-fonts
This commit is contained in:
commit
3ed4824cb4
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
un-fonts-core-1.0.2-080608.tar.bz2
Normal file
3
un-fonts-core-1.0.2-080608.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cfda42c86c0212304b84e31d6ec4a02a78b51791f694198ce11b631f4977fd70
|
||||
size 17685115
|
3
un-fonts-extra-1.0.2-080608.tar.bz2
Normal file
3
un-fonts-extra-1.0.2-080608.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0c2202a6a30e64679d00e697ac944a44925ca9faa1da99c04dc57671ae3c6e99
|
||||
size 10157216
|
56
un-fonts.changes
Normal file
56
un-fonts.changes
Normal file
@ -0,0 +1,56 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 30 14:31:02 UTC 2012 - pgajdos@suse.com
|
||||
|
||||
- renamed to un-fonts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 8 18:29:00 CEST 2010 - tiwai@suse.de
|
||||
|
||||
- remove unnecessary buildrequires for too old distros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 8 14:43:53 CET 2009 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.0.2-080608
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 08 14:46:36 CEST 2006 - mfabian@suse.de
|
||||
|
||||
- move fonts to /usr/share/fonts because of the move to Xorg X11R7.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 01 15:58:44 CET 2006 - mfabian@suse.de
|
||||
|
||||
- add "Provides: locale(ko)".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:48:51 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 03 20:32:57 CET 2004 - mfabian@suse.de
|
||||
|
||||
- use new macro "%run_suseconfig_fonts -c"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 18:11:03 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- Bugzilla #45156: add "Provides: scalable-font-ko".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 13 15:58:52 CEST 2004 - mfabian@suse.de
|
||||
|
||||
- update to 1.0.20040813
|
||||
(un-fonts-core 1.0 and un-fonts-extra 1.0.1).
|
||||
- Bugzilla #39451: run SuSEconfig.fonts only if it exists.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 3 17:17:53 CET 2004 - mfabian@suse.de
|
||||
|
||||
- use %suseconfig_fonts_prereq
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 1 19:37:39 CET 2004 - mfabian@suse.de
|
||||
|
||||
- new package: version 0.20040301.
|
75
un-fonts.spec
Normal file
75
un-fonts.spec
Normal file
@ -0,0 +1,75 @@
|
||||
#
|
||||
# spec file for package un-fonts
|
||||
#
|
||||
# Copyright (c) 2012 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: un-fonts
|
||||
%define ttf_fontdir /usr/share/fonts/truetype
|
||||
Provides: scalable-font-ko
|
||||
PreReq: %suseconfig_fonts_prereq
|
||||
Provides: locale(ko)
|
||||
%define date 080608
|
||||
%define ver 1.0.2
|
||||
Version: 1.0.20%{date}
|
||||
Release: 0
|
||||
Url: http://kldp.net/projects/unfonts/download
|
||||
Source0: %{name}-core-%{ver}-%{date}.tar.bz2
|
||||
Source1: %{name}-extra-%{ver}-%{date}.tar.bz2
|
||||
Source10: update-archive
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: Korean TrueType fonts
|
||||
License: GPL-2.0+
|
||||
Group: System/X11/Fonts
|
||||
# FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version
|
||||
Obsoletes: unfonts <= %{version}
|
||||
Provides: unfonts == %{version}
|
||||
|
||||
%description
|
||||
Collection of Korean TrueType fonts.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
KoaungHi Un
|
||||
Won-Kyu Park <wkpark@chem.skku.ac.kr>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name} -b 1
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
|
||||
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
%run_suseconfig_fonts -c
|
||||
|
||||
%postun
|
||||
%run_suseconfig_fonts -c
|
||||
|
||||
%files
|
||||
%defattr(-, root,root)
|
||||
%doc README COPYING
|
||||
%{ttf_fontdir}
|
||||
|
||||
%changelog
|
58
update-archive
Normal file
58
update-archive
Normal file
@ -0,0 +1,58 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -x
|
||||
|
||||
# They're available at the moment at (will be available as well later somewhere
|
||||
# at http://kldp.net/prjects/....)
|
||||
# http://chem.skku.ac.kr/~wkpark/project/font/GSUB (UnBatang with GSUB)
|
||||
# http://chem.skku.ac.kr/~wkpark/project/font/UnFonts (the rest of the series)
|
||||
#
|
||||
# BTW, one of Un-series fonts (UnBatang) has to be downloaded
|
||||
# from my site instead of PARK Won-Kyu's site. We worked together on adding
|
||||
# opentype tables for Korean to UnBatang, but somehow one at his site
|
||||
# doesn't work. All other Un-series fonts can be downloaded from his site
|
||||
# whose address I gave you in my previous email. The address to download
|
||||
# UnBatang is
|
||||
#
|
||||
# http://i18nl10n.com/korean/UnBatang.ttf
|
||||
|
||||
NAME=unfonts
|
||||
mkdir $NAME
|
||||
|
||||
# http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnBatang.ttf
|
||||
# has the same family and postscript name as
|
||||
# http://chem.skku.ac.kr/~wkpark/project/font/GSUB/UnbatangOdal/UnBatangOdal_0428.ttf
|
||||
# can use only one. Which one?
|
||||
|
||||
# broken?
|
||||
# (only 608k and it doesn't work with ftview:
|
||||
# mfabian@magellan:~$ ftview 20 /usr/X11R6/lib/X11/fonts/truetype/UnBatang.ttf
|
||||
# could not find/open any font file
|
||||
# error = 0x0002
|
||||
#
|
||||
# http://i18nl10n.com/korean/UnBatang.ttf
|
||||
|
||||
pushd $NAME
|
||||
for i in \
|
||||
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnBatangBold.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnBom.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnDotum.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnDotumBold.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnGraphic.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnGungseo.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnPen.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnPenheulim.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnPilgi.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnPilgiBold.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnShinmun.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/UnFonts/UnYetgul.ttf \
|
||||
http://chem.skku.ac.kr/~wkpark/project/font/GSUB/UnbatangOdal/UnBatangOdal_0428.ttf
|
||||
do
|
||||
wget $i
|
||||
done
|
||||
popd
|
||||
|
||||
tar jcvf $NAME.tar.bz2.new $NAME
|
||||
rm $NAME/*.ttf
|
||||
rmdir $NAME
|
Loading…
x
Reference in New Issue
Block a user