From 48f25a4f9d1a9fd4f838ddd7eaa97d69638245f6 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Oct 29 2009 06:37:08 +0000 Subject: initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..ed78421 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +knm_new.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..feecab0 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +knm-new-fixed-fonts-1_1-8_fc13:F-12:knm-new-fixed-fonts-1.1-8.fc13.src.rpm:1256796979 diff --git a/knm-new-fixed-fonts-fontconfig.conf b/knm-new-fixed-fonts-fontconfig.conf new file mode 100644 index 0000000..0cbb6b6 --- /dev/null +++ b/knm-new-fixed-fonts-fontconfig.conf @@ -0,0 +1,22 @@ + + + + + + ja-jp + + + monospace + + + Fixed + + + + Fixed + + monospace + + + + diff --git a/knm-new-fixed-fonts.spec b/knm-new-fixed-fonts.spec new file mode 100644 index 0000000..8afce3c --- /dev/null +++ b/knm-new-fixed-fonts.spec @@ -0,0 +1,95 @@ +%global priority 69 +%global fontname knm-new-fixed +%global fontconf %{priority}-%{fontname}.conf +%global catalogue %{_sysconfdir}/X11/fontpath.d + +Name: %{fontname}-fonts +Version: 1.1 +Release: 8%{?dist} + +Summary: 12x12 JIS X 0208 Bitmap fonts +Group: User Interface/X +License: GPL+ + +## the following upstream URL is a dead link anymore. +#URL: http://www.din.or.jp/~storm/fonts/ +#Source0: http://www.din.or.jp/~storm/fonts/knm_new.tar.gz +Source0: knm_new.tar.gz +Source1: %{name}-fontconfig.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: mkfontdir fontpackages-devel + +Requires: fontpackages-filesystem +Conflicts: fonts-japanese <= 0.20061016-11.fc8 +Obsoletes: knm_new <= 1.1-16 knm_new-fonts < 1.1-7 + +%description +This package provides 12x12 Japanese bitmap fonts for JIS X 0208. +The JIS X 0208 character set contains the most often used Kanji glyphs. + + +%prep +%setup -q -T -c -a 0 + +%build + +%install +rm -rf $RPM_BUILD_ROOT + +install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir} +install -m 0755 -d $RPM_BUILD_ROOT%{catalogue} + +install -m 0644 -p fonts/*.pcf.gz $RPM_BUILD_ROOT%{_fontdir}/ + +install -m 0755 -d $RPM_BUILD_ROOT%{_fontconfig_templatedir} \ + $RPM_BUILD_ROOT%{_fontconfig_confdir} +install -m 0644 -p %{SOURCE1} \ + $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf} + +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + $RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf} + +mkfontdir $RPM_BUILD_ROOT%{_fontdir} + +# Install catalogue symlink +ln -s -f %{_fontdir} $RPM_BUILD_ROOT%{catalogue}/%{fontname} + + +%clean +rm -rf $RPM_BUILD_ROOT + +%_font_pkg -f %{fontconf} *.pcf.gz + +%lang(ja) %doc fonts/readme fonts/changes +%doc fonts/gtkrc.sample +%verify(not md5 size mtime) %{_fontdir}/fonts.dir +%{catalogue}/* + + +%changelog +* Tue Oct 20 2009 Akira TAGOH - 1.1-8 +- Improve the spec file etc to pass the package review. + +* Tue Oct 13 2009 Akira TAGOH - 1.1-7 +- Renaming to satisfy the naming schema in the fontpackages policy. + +* Fri Jul 24 2009 Fedora Release Engineering - 1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Mar 26 2009 Akira TAGOH - 1.1-5 +- Clean up a spec file. +- Rebuild to correct autoprovides (#491966) + +* Wed Feb 25 2009 Fedora Release Engineering - 1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Oct 30 2007 Akira TAGOH - 1.1-3 +- Remove the upstream's dead link from the spec file. (#353941) + +* Fri Sep 7 2007 Akira TAGOH - 1.1-2 +- clean up + +* Thu Aug 30 2007 Akira TAGOH - 1.1-1 +- Split up from fonts-japanese. + diff --git a/sources b/sources index e69de29..afacf9e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +065920714d022cfd225feb6d80b03238 knm_new.tar.gz