4618ee
%global		priority	65-2
f2e5f6
%global		fontname	ipa-pmincho
f2e5f6
%global		fontconf	%{priority}-%{fontname}.conf
ec0812
%global		archiveversion	00303
f2e5f6
%global		archivename	ipamp%{archiveversion}
f2e5f6
f2e5f6
Name:		%{fontname}-fonts
ec0812
Version:	003.03
e65a77
Release:	6%{?dist}
f2e5f6
Summary:	Japanese Proportional Mincho-typeface OpenType font by IPA
f2e5f6
f2e5f6
Group:		User Interface/X
f2e5f6
License:	IPA
f2e5f6
URL:		http://ossipedia.ipa.go.jp/ipafont/
f2e5f6
Source0:	http://info.openlab.ipa.go.jp/ipafont/fontdata/%{archivename}.zip
f2e5f6
Source1:	%{name}-fontconfig.conf
f2e5f6
f2e5f6
BuildArch:	noarch
f2e5f6
BuildRequires:	fontpackages-devel
f2e5f6
Requires:	fontpackages-filesystem
f2e5f6
f2e5f6
%description
f2e5f6
IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004
f2e5f6
compliant, provided by Information-technology Promotion Agency, Japan.
f2e5f6
f2e5f6
This package contains Proportional Mincho style font.
f2e5f6
f2e5f6
%prep
f2e5f6
%setup -q -n %{archivename}
f2e5f6
f2e5f6
f2e5f6
%build
f2e5f6
f2e5f6
%install
f2e5f6
install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
192037
install -m 0644 -p *.ttf $RPM_BUILD_ROOT%{_fontdir}
f2e5f6
f2e5f6
install -m 0755 -d	$RPM_BUILD_ROOT%{_fontconfig_templatedir}	\
f2e5f6
			$RPM_BUILD_ROOT%{_fontconfig_confdir}
f2e5f6
install -m 0644 -p	%{SOURCE1}	\
f2e5f6
			$RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}
f2e5f6
f2e5f6
ln -s	%{_fontconfig_templatedir}/%{fontconf}	\
f2e5f6
	$RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf}
f2e5f6
f2e5f6
192037
%_font_pkg -f %{fontconf} *.ttf
0b36de
f2e5f6
%doc Readme_%{archivename}.txt IPA_Font_License_Agreement_v1.0.txt
f2e5f6
f2e5f6
f2e5f6
%changelog
e65a77
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.03-6
e65a77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e65a77
606a74
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.03-5
606a74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
606a74
76d043
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.03-4
76d043
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
76d043
2849c4
* Fri Nov 23 2012 Akira TAGOH <tagoh@redhat.com>
2849c4
- the spec file cleanup
2849c4
9a419c
* Fri Aug 17 2012 Akira TAGOH <tagoh@redhat.com> - 003.03-3
9a419c
- Enable autohinting explicitly since the own hinting seems broken.
9a419c
eeb7b7
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.03-2
eeb7b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
eeb7b7
ec0812
* Fri Feb 03 2012 Akira TAGOH <tagoh@redhat.com> - 003.03-1
ec0812
- New upstream release.
ec0812
7bbe89
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.02-6
7bbe89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7bbe89
60d392
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.02-5
60d392
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
60d392
4618ee
* Tue May 25 2010 Akira TAGOH <tagoh@redhat.com> - 003.02-4
4618ee
- Improve the fontconfig config file to match ja as well.
4618ee
4618ee
* Mon Apr 19 2010 Akira TAGOH <tagoh@redhat.com> - 003.02-3
4618ee
- Get rid of compare="contains".
4618ee
4c55e6
* Mon Apr 19 2010 Akira TAGOH <tagoh@redhat.com> - 003.02-2
4c55e6
- Get rid of binding="same" from the fontconfig config file. (#578025)
4c55e6
192037
* Tue Feb 16 2010 Akira TAGOH <tagoh@redhat.com> - 003.02-1
192037
- New upstream release.
192037
c01cec
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 003.01-4
c01cec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c01cec
7133e0
* Fri Jun  5 2009 Akira TAGOH <tagoh@redhat.com> - 003.01-3
7133e0
- Disable hinting.
7133e0
f2e5f6
* Wed Apr 22 2009 Akira TAGOH <tagoh@redhat.com> - 003.01-2
f2e5f6
- Correct the source URL.
f2e5f6
f2e5f6
* Tue Apr 21 2009 Akira TAGOH <tagoh@redhat.com> - 003.01-1
f2e5f6
- Initial package.
f2e5f6