Blame SPECS/ipa-pmincho-fonts.spec

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