Blob Blame History Raw
%global		priority	65
%global		fontname	ipa-pmincho
%global		fontconf	%{priority}-%{fontname}.conf
%global		archiveversion	00301
%global		archivename	ipamp%{archiveversion}

Name:		%{fontname}-fonts
Version:	003.01
Release:	3%{?dist}
Summary:	Japanese Proportional Mincho-typeface OpenType font by IPA

Group:		User Interface/X
License:	IPA
Source1:	%{name}-fontconfig.conf
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildArch:	noarch
BuildRequires:	fontpackages-devel
Requires:	fontpackages-filesystem

IPA Font is a Japanese OpenType fonts that is JIS X 0213:2004
compliant, provided by Information-technology Promotion Agency, Japan.

This package contains Proportional Mincho style font.

%setup -q -n %{archivename}



install -m 0755 -d $RPM_BUILD_ROOT%{_fontdir}
install -m 0644 -p *.otf $RPM_BUILD_ROOT%{_fontdir}

install -m 0755 -d	$RPM_BUILD_ROOT%{_fontconfig_templatedir}	\
install -m 0644 -p	%{SOURCE1}	\

ln -s	%{_fontconfig_templatedir}/%{fontconf}	\


%_font_pkg -f %{fontconf} *.otf

%doc Readme_%{archivename}.txt IPA_Font_License_Agreement_v1.0.txt

* Fri Jun  5 2009 Akira TAGOH <> - 003.01-3
- Disable hinting.

* Wed Apr 22 2009 Akira TAGOH <> - 003.01-2
- Correct the source URL.

* Tue Apr 21 2009 Akira TAGOH <> - 003.01-1
- Initial package.