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