update code

This commit is contained in:
zhuchunyi 2019-11-06 19:04:21 +08:00
parent 2196e83e8d
commit a5cf989f43

View File

@ -3,7 +3,7 @@
%define catalogue %{_sysconfdir}/X11/fontpath.d %define catalogue %{_sysconfdir}/X11/fontpath.d
Name: %{fontname}-fonts Name: %{fontname}-fonts
Version: 0.2.20080216.1 Version: 0.2.20080216.1
Release: 60 Release: 61
Summary: a full-sized CJK unicode truetype font set Summary: a full-sized CJK unicode truetype font set
License: Arphic License: Arphic
URL: https://www.freedesktop.org/wiki/Software/CJKUnifonts URL: https://www.freedesktop.org/wiki/Software/CJKUnifonts
@ -11,19 +11,19 @@ Source0: https://ftp.debian.org/debian/pool/main/t/ttf-arphic-ukai/ttf-arphic-uk
Source1: 90-ttf-arphic-ukai-embolden.conf Source1: 90-ttf-arphic-ukai-embolden.conf
BuildArch: noarch BuildArch: noarch
BuildRequires: fontpackages-devel BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem Requires: fontpackages-filesystem
Obsoletes: cjkuni-fonts-common < %{version}-42 Obsoletes: cjkuni-fonts-common < %{version}-42
%description %description
This project aims to provide a full-sized CJK unicode truetype font This project aims to provide a full-sized CJK unicode truetype font
set, supporting all CJK characters in Unicode plane 0 (BMP) and set, supporting all CJK characters in Unicode plane 0 (BMP) and
plane 2. These fonts are under heavy development, new releases plane 2. These fonts are under heavy development, new releases
containing more glyphs every time are released on a flexible base. containing more glyphs every time are released on a flexible base.
%package_help %package_help
%prep %prep
%setup -q -c -n %{name}-%{version} %setup -q -c -n %{name}-%{version}
%build %build
@ -45,7 +45,7 @@ ln -s %{_fontdir}/ %{buildroot}%{catalogue}/%{name}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc ../%{name}-%{version}/license %license ../%{name}-%{version}/license
%{_sysconfdir}/fonts/conf.d/90-ttf-arphic-ukai-embolden.conf %{_sysconfdir}/fonts/conf.d/90-ttf-arphic-ukai-embolden.conf
%{_datadir}/fontconfig/conf.avail/90-ttf-arphic-ukai-embolden.conf %{_datadir}/fontconfig/conf.avail/90-ttf-arphic-ukai-embolden.conf
%{catalogue}/%{name} %{catalogue}/%{name}
@ -61,6 +61,12 @@ ln -s %{_fontdir}/ %{buildroot}%{catalogue}/%{name}
%doc ../%{name}-%{version}/TODO %doc ../%{name}-%{version}/TODO
%changelog %changelog
* Mon Oct 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.2.20080216.1-61
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the location of license
* Sat Sep 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.2.20080216.1-60 * Sat Sep 28 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.2.20080216.1-60
- Type:bugfix - Type:bugfix
- Id:NA - Id:NA