|
|
96420e |
%global fontname cjkuni-uming
|
|
|
96420e |
%global fontconf 65-0-ttf-arphic-uming.conf
|
|
|
96420e |
%global fontconf3 90-ttf-arphic-uming-embolden.conf
|
|
|
96420e |
|
|
|
96420e |
%global catalogue %{_sysconfdir}/X11/fontpath.d
|
|
|
96420e |
|
|
|
96420e |
%global common_desc \
|
|
|
96420e |
CJK Unifonts are Unicode TrueType fonts derived from original fonts made \
|
|
|
96420e |
available by Arphic Technology under "Arphic Public License" and extended by \
|
|
|
96420e |
the CJK Unifonts project.
|
|
|
96420e |
|
|
|
96420e |
%global umingbuilddir %{name}-%{version}
|
|
|
96420e |
|
|
|
96420e |
Name: %{fontname}-fonts
|
|
|
96420e |
Version: 0.2.20080216.1
|
|
|
96420e |
Release: 53%{?dist}
|
|
|
96420e |
Summary: Chinese Unicode TrueType font in Ming face
|
|
|
96420e |
|
|
|
96420e |
Group: User Interface/X
|
|
|
96420e |
License: Arphic
|
|
|
96420e |
URL: http://www.freedesktop.org/wiki/Software/CJKUnifonts
|
|
|
96420e |
Source0: http://ftp.debian.org/debian/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_%{version}.orig.tar.gz
|
|
|
96420e |
Source1: %{name}-fontconfig.conf
|
|
|
96420e |
Source3: %{fontconf3}
|
|
|
96420e |
|
|
|
96420e |
BuildArch: noarch
|
|
|
96420e |
BuildRequires: fontpackages-devel
|
|
|
96420e |
Requires: fontpackages-filesystem
|
|
|
96420e |
Obsoletes: cjkuni-fonts-common < 0.2.20080216.1-42
|
|
|
96420e |
Provides: cjkuni-fonts-common = 0.2.20080216.1-42
|
|
|
96420e |
|
|
|
96420e |
%description
|
|
|
96420e |
%common_desc
|
|
|
96420e |
|
|
|
96420e |
CJK Unifonts in Ming face.
|
|
|
96420e |
|
|
|
96420e |
%prep
|
|
|
96420e |
%setup -q -c -n %{name}-%{version}
|
|
|
96420e |
|
|
|
96420e |
|
|
|
96420e |
%build
|
|
|
96420e |
%{nil}
|
|
|
96420e |
|
|
|
96420e |
%install
|
|
|
96420e |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
96420e |
install -m 0644 -p *.ttc %{buildroot}%{_fontdir}
|
|
|
96420e |
|
|
|
96420e |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
96420e |
%{buildroot}%{_fontconfig_confdir}
|
|
|
96420e |
|
|
|
96420e |
install -m 0644 -p %{SOURCE1} \
|
|
|
96420e |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
96420e |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
96420e |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
96420e |
|
|
|
96420e |
|
|
|
96420e |
install -m 0644 -p %{SOURCE3} \
|
|
|
96420e |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf3}
|
|
|
96420e |
ln -s %{_fontconfig_templatedir}/%{fontconf3} \
|
|
|
96420e |
%{buildroot}%{_fontconfig_confdir}/%{fontconf3}
|
|
|
96420e |
|
|
|
96420e |
# catalogue
|
|
|
96420e |
install -m 0755 -d %{buildroot}%{catalogue}
|
|
|
96420e |
ln -s %{_fontdir}/ %{buildroot}%{catalogue}/%{name}
|
|
|
96420e |
|
|
|
96420e |
|
|
|
96420e |
%_font_pkg -f *.conf *.ttc
|
|
|
96420e |
|
|
|
96420e |
%defattr(-,root,root,-)
|
|
|
96420e |
%doc ../%{umingbuilddir}/license
|
|
|
96420e |
%doc ../%{umingbuilddir}/CONTRIBUTERS
|
|
|
96420e |
%doc ../%{umingbuilddir}/FONTLOG
|
|
|
96420e |
%doc ../%{umingbuilddir}/KNOWN_ISSUES
|
|
|
96420e |
%doc ../%{umingbuilddir}/NEWS
|
|
|
96420e |
%doc ../%{umingbuilddir}/README
|
|
|
96420e |
%{catalogue}/%{name}
|
|
|
96420e |
|
|
|
96420e |
%changelog
|
|
|
96420e |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.2.20080216.1-53
|
|
|
96420e |
- Mass rebuild 2013-12-27
|
|
|
96420e |
|
|
|
96420e |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.20080216.1-52
|
|
|
96420e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
96420e |
|
|
|
96420e |
* Tue Nov 13 2012 Peng Wu <pwu@redhat.com> - 0.2.20080216.1-51
|
|
|
96420e |
- Improves spec file
|
|
|
96420e |
|
|
|
96420e |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.20080216.1-50
|
|
|
96420e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
96420e |
|
|
|
96420e |
* Tue Jul 10 2012 Peng Wu <pwu@redhat.com> - 0.2.20080216.1-49
|
|
|
96420e |
- Fixes fontconf
|
|
|
96420e |
|
|
|
96420e |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.20080216.1-48
|
|
|
96420e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
96420e |
|
|
|
96420e |
* Wed Mar 16 2011 Peng Wu <pwu@redhat.com> - 0.2.20080216.1-47
|
|
|
96420e |
- Clean up spec.
|
|
|
96420e |
Remove fonts.dir, fonts.scale and 25-ttf-arphic-uming-render.conf.
|
|
|
96420e |
|
|
|
96420e |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.20080216.1-46
|
|
|
96420e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
96420e |
|
|
|
96420e |
* Tue Jul 20 2010 Peng Wu <pwu@redhat.com> - 0.2.20080216.1-45
|
|
|
96420e |
- Fixes font_pkg macro usage.
|
|
|
96420e |
|
|
|
96420e |
* Mon Jul 19 2010 Peng Wu <pwu@redhat.com> - 0.2.20080216.1-44
|
|
|
96420e |
- Clean up the spec.
|
|
|
96420e |
|
|
|
96420e |
* Mon Jul 12 2010 Peng Wu <pwu@redhat.com> - 0.2.20080216.1-43
|
|
|
96420e |
- The Initial Version.
|
|
|
96420e |
Split from cjkuni-fonts.
|