Blame SPECS/ipa-pgothic-fonts.spec

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