Compare commits

..

No commits in common. "cf103355098b776ecbc65e9f7b7301bfa5ff84f4" and "ceeef518022a0dc4f202d001845b3384b6e1bc66" have entirely different histories.

2 changed files with 34 additions and 45 deletions

View File

@ -4,8 +4,8 @@
Summary: X.Org X11 fonts
Name: xorg-x11-fonts
Version: 7.5
Release: 26
License: MIT and Lucida-Bitmap-Fonts and Public Domain
Release: 22
License: MIT and Lucida and Public Domain
URL: http://www.x.org
BuildArch: noarch
@ -75,8 +75,8 @@ Contains a set of 100dpi fonts in the ISO8859-15 encoding which provide Euro sup
%package others
Summary: Other X.Org X11 fonts
Requires(post): fontconfig mkfontdir mkfontscale
Requires(postun): fontconfig mkfontdir mkfontscale
Requires(post): fontconfig mkfontdir mkfontscale ttmkfdir
Requires(postun): fontconfig mkfontdir mkfontscale ttmkfdir
Obsoletes: xorg-x11-fonts-cyrillic
Obsoletes: xorg-x11-fonts-ethiopic
@ -90,6 +90,7 @@ Obsoletes: xorg-x11-fonts-ISO8859-9-75dpi
Obsoletes: xorg-x11-fonts-ISO8859-9-100dpi
Provides: xorg-x11-fonts-cyrillic
Provides: xorg-x11-fonts-ethiopic
Provides: xorg-x11-fonts-Type1
Provides: xorg-x11-fonts-ISO8859-14-75dpi
Provides: xorg-x11-fonts-ISO8859-14-100dpi
@ -183,6 +184,9 @@ done
%postun
{
if [ "$1" = "0" -a -d %{_x11fontdir}/misc ]; then
xorg-x11-fonts-update-dirs --skip-fontscale %{_x11fontdir}/misc
fi
if [ "$1" = "0" -a -d %{_x11fontdir}/75dpi ]; then
mkfontdir %{_x11fontdir}/75dpi
fi
@ -193,6 +197,8 @@ done
%post others
{
xorg-x11-fonts-update-dirs --skip-fontscale --need-ttmkfdir %{_x11fontdir}/TTF
xorg-x11-fonts-update-dirs %{_x11fontdir}/OTF
xorg-x11-fonts-update-dirs %{_x11fontdir}/Type1
mkfontdir %{_x11fontdir}/75dpi
mkfontdir %{_x11fontdir}/100dpi
@ -201,6 +207,14 @@ done
%postun others
{
FONTDIR=%{_x11fontdir}/TTF
if [ "$1" = "0" -a -d $FONTDIR ]; then
xorg-x11-fonts-update-dirs --skip-fontscale --need-ttmkfdir $FONTDIR
fi
FONTDIR=%{_x11fontdir}/OTF
if [ "$1" = "0" -a -d $FONTDIR ]; then
xorg-x11-fonts-update-dirs $FONTDIR
fi
FONTDIR=%{_x11fontdir}/Type1
if [ "$1" = "0" -a -d $FONTDIR ]; then
xorg-x11-fonts-update-dirs $FONTDIR
@ -346,22 +360,22 @@ done
%{_x11fontdir}/100dpi/lut[BR]S??-ISO8859-15.pcf*
%files others
%exclude %{_catalogue}/xorg-x11-fonts-TTF
%exclude %{_catalogue}/xorg-x11-fonts-OTF
%exclude %dir %{_x11fontdir}/TTF
%exclude %{_x11fontdir}/TTF/GohaTibebZemen.ttf
%exclude %{_x11fontdir}/TTF/encodings.dir
%exclude %{_x11fontdir}/TTF/fonts.dir
%exclude %{_x11fontdir}/TTF/fonts.alias
%exclude %{_x11fontdir}/TTF/fonts.scale
%exclude %{_x11fontdir}/TTF/fonts.cache-*
%exclude %dir %{_x11fontdir}/OTF
%exclude %{_x11fontdir}/OTF/GohaTibebZemen.otf
%exclude %{_x11fontdir}/OTF/encodings.dir
%exclude %{_x11fontdir}/OTF/fonts.dir
%exclude %{_x11fontdir}/OTF/fonts.alias
%exclude %{_x11fontdir}/OTF/fonts.scale
%exclude %{_x11fontdir}/OTF/fonts.cache-*
%{_catalogue}/xorg-x11-fonts-TTF
%{_catalogue}/xorg-x11-fonts-OTF
%dir %{_x11fontdir}/TTF
%{_x11fontdir}/TTF/GohaTibebZemen.ttf
%ghost %verify(not md5 size mtime) %{_x11fontdir}/TTF/encodings.dir
%ghost %verify(not md5 size mtime) %{_x11fontdir}/TTF/fonts.dir
%ghost %verify(not md5 size mtime) %{_x11fontdir}/TTF/fonts.alias
%ghost %verify(not md5 size mtime) %{_x11fontdir}/TTF/fonts.scale
%ghost %verify(not md5 size mtime) %{_x11fontdir}/TTF/fonts.cache-*
%dir %{_x11fontdir}/OTF
%{_x11fontdir}/OTF/GohaTibebZemen.otf
%ghost %verify(not md5 size mtime) %{_x11fontdir}/OTF/encodings.dir
%ghost %verify(not md5 size mtime) %{_x11fontdir}/OTF/fonts.dir
%ghost %verify(not md5 size mtime) %{_x11fontdir}/OTF/fonts.alias
%ghost %verify(not md5 size mtime) %{_x11fontdir}/OTF/fonts.scale
%ghost %verify(not md5 size mtime) %{_x11fontdir}/OTF/fonts.cache-*
%{_catalogue}/xorg-x11-fonts-cyrillic
%dir %{_x11fontdir}/cyrillic
@ -527,27 +541,6 @@ done
%{_x11fontdir}/75dpi/lut[BR]S??-ISO8859-15.pcf*
%changelog
* Fri Jun 14 2024 xinghe <xinghe2@h-partners.com> - 7.5-26
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix license
* Tue Oct 25 2022 wangkerong <wangkerong@h-partners.com> - 7.5-25
- rebuild for next release
* Thu Feb 6 2020 openEuler Buildteam <buildteam@openeuler.org> - 7.5-24
- Type:enhancement
- Id:NA
- SUG:NA
- DESC: remove ethiopic OTF fonts
* Thu Jan 16 2020 Shuaishuai Song <songshuaishuai2@openeuler.org> - 7.5-23
- Type:enhancement
- Id:NA
- SUG:NA
- DESC: remove ethiopic TTF fonts
* Thu Jan 09 2020 openEuler Buildteam <buildteam@openeuler.org> - 7.5-22
- Type:enhancement
- Id:NA

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: eurolinux-enterprise-linux-sources/xorg-x11-fonts
tag_prefix:
seperator: .