ef5eab3
%global		priority	69
ea8b3d0
%global		fontname	knm-new-fixed
ea8b3d0
%global		fontconf	%{priority}-%{fontname}.conf
ea8b3d0
%global		catalogue	%{_sysconfdir}/X11/fontpath.d
ea8b3d0
ea8b3d0
Name:		%{fontname}-fonts
ea8b3d0
Version:	1.1
651cd91
Release:	30%{?dist}
ea8b3d0
ea8b3d0
Summary:	12x12 JIS X 0208 Bitmap fonts
ea8b3d0
License:	GPL+
ea8b3d0
ea8b3d0
## the following upstream URL is a dead link anymore.
ea8b3d0
#URL:		http://www.din.or.jp/~storm/fonts/
ea8b3d0
#Source0:	http://www.din.or.jp/~storm/fonts/knm_new.tar.gz
ea8b3d0
Source0:	knm_new.tar.gz
ea8b3d0
Source1:	%{name}-fontconfig.conf
ea8b3d0
BuildArch:	noarch
ea8b3d0
BuildRequires:	mkfontdir fontpackages-devel
ea8b3d0
ea8b3d0
Requires:	fontpackages-filesystem
ea8b3d0
Conflicts:	fonts-japanese <= 0.20061016-11.fc8
ea8b3d0
Obsoletes:	knm_new <= 1.1-16 knm_new-fonts < 1.1-7
ea8b3d0
ea8b3d0
%description
ea8b3d0
This package provides 12x12 Japanese bitmap fonts for JIS X 0208.
ea8b3d0
The JIS X 0208 character set contains the most often used Kanji glyphs.
ea8b3d0
ea8b3d0
ea8b3d0
%prep
ea8b3d0
%setup -q -T -c -a 0
ea8b3d0
ea8b3d0
%build
ea8b3d0
ea8b3d0
%install
ea8b3d0
rm -rf $RPM_BUILD_ROOT
ea8b3d0
ea8b3d0
install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
ea8b3d0
install -m 0755 -d $RPM_BUILD_ROOT%{catalogue}
ea8b3d0
ea8b3d0
install -m 0644 -p fonts/*.pcf.gz $RPM_BUILD_ROOT%{_fontdir}/
ea8b3d0
ea8b3d0
install -m 0755 -d	$RPM_BUILD_ROOT%{_fontconfig_templatedir}	\
ea8b3d0
			$RPM_BUILD_ROOT%{_fontconfig_confdir}
ea8b3d0
install -m 0644 -p	%{SOURCE1}	\
ea8b3d0
			$RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}
ea8b3d0
ea8b3d0
ln -s	%{_fontconfig_templatedir}/%{fontconf}	\
ea8b3d0
	$RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf}
ea8b3d0
ea8b3d0
mkfontdir $RPM_BUILD_ROOT%{_fontdir}
ea8b3d0
ea8b3d0
# Install catalogue symlink
ea8b3d0
ln -s -f %{_fontdir} $RPM_BUILD_ROOT%{catalogue}/%{fontname}
ea8b3d0
ea8b3d0
ea8b3d0
%_font_pkg -f %{fontconf} *.pcf.gz
ea8b3d0
ea8b3d0
%lang(ja) %doc fonts/readme fonts/changes
ea8b3d0
%doc fonts/gtkrc.sample
ea8b3d0
%verify(not md5 size mtime) %{_fontdir}/fonts.dir
ea8b3d0
%{catalogue}/*
ea8b3d0
ea8b3d0
ea8b3d0
%changelog
651cd91
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-30
651cd91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
651cd91
7e82d15
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-29
7e82d15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7e82d15
0aee186
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-28
0aee186
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
0aee186
b6f74a7
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-27
b6f74a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b6f74a7
39a5714
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-26
39a5714
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
39a5714
027e1b5
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-25
027e1b5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
027e1b5
22701fb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-24
22701fb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
22701fb
45388a8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-23
45388a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
45388a8
c2792ee
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-22
c2792ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c2792ee
0a1585e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-21
0a1585e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0a1585e
d999dbf
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-20
d999dbf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d999dbf
87641fc
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-19
87641fc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
87641fc
09f4d42
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-18
09f4d42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
09f4d42
4804087
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-17
4804087
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4804087
7940b42
* Wed Jul  4 2012 Akira TAGOH <tagoh@redhat.com> - 1.1-16
7940b42
- Correct fontconfig config file. (#837537)
7940b42
a2029da
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-15
a2029da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a2029da
afc31fe
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-14
afc31fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
afc31fe
37607c7
* Tue May 25 2010 Akira TAGOH <tagoh@redhat.com> - 1.1-13
37607c7
- Improve the fontconfig config file to match ja as well.
37607c7
37607c7
* Mon Apr 19 2010 Akira TAGOH <tagoh@redhat.com> - 1.1-12
37607c7
- Get rid of compare="contains".
37607c7
2c6653e
* Mon Apr 19 2010 Akira TAGOH <tagoh@redhat.com> - 1.1-11
2c6653e
- Get rid of binding="same" from the fontconfig config file. (#578027)
2c6653e
ef5eab3
* Fri Dec  4 2009 Akira TAGOH <tagoh@redhat.com> - 1.1-10
ef5eab3
- revert the previous change and set the priority to 69 to ensure loading
ef5eab3
  the rule later according to the result of
ef5eab3
  https://bugzilla.redhat.com/show_bug.cgi?id=532237#c6
ef5eab3
  (#532237)
ef5eab3
d268691
* Thu Oct 29 2009 Akira TAGOH <tagoh@redhat.com> - 1.1-9
d268691
- change the priority to 65 to make this the less priority.
d268691
ea8b3d0
* Tue Oct 20 2009 Akira TAGOH <tagoh@redhat.com> - 1.1-8
ea8b3d0
- Improve the spec file etc to pass the package review.
ea8b3d0
ea8b3d0
* Tue Oct 13 2009 Akira TAGOH <tagoh@redhat.com> - 1.1-7
ea8b3d0
- Renaming to satisfy the naming schema in the fontpackages policy.
ea8b3d0
ea8b3d0
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
ea8b3d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ea8b3d0
ea8b3d0
* Thu Mar 26 2009 Akira TAGOH <tagoh@redhat.com> - 1.1-5
ea8b3d0
- Clean up a spec file.
ea8b3d0
- Rebuild to correct autoprovides (#491966)
ea8b3d0
ea8b3d0
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-4
ea8b3d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ea8b3d0
ea8b3d0
* Tue Oct 30 2007 Akira TAGOH <tagoh@redhat.com> - 1.1-3
ea8b3d0
- Remove the upstream's dead link from the spec file. (#353941)
ea8b3d0
ea8b3d0
* Fri Sep  7 2007 Akira TAGOH <tagoh@redhat.com> - 1.1-2
ea8b3d0
- clean up
ea8b3d0
ea8b3d0
* Thu Aug 30 2007 Akira TAGOH <tagoh@redhat.com> - 1.1-1
ea8b3d0
- Split up from fonts-japanese.
ea8b3d0