代码拉取完成,页面将自动刷新
%bcond_without ucs2any
%global _x11fontdir %{_datadir}/X11/fonts
Summary: X.Org X11 font utilities
Name: xorg-x11-font-utils
Epoch: 2
Version: 1.4.1
Release: 3
%if %{with ucs2any}
License: MIT AND BSD-2-Clause AND MIT-open-group AND Unicode-TOU
%else
License: MIT AND BSD-2-Clause AND MIT-open-group
%endif
URL: https://www.x.org
Source0: https://www.x.org/releases/individual/font/font-util-%{version}.tar.xz
Source5: xorg-x11-fonts-update-dirs
Source6: xorg-x11-fonts-update-dirs.1
Patch0: font-util-remove-font-mapdir.patch
BuildRequires: gcc make
BuildRequires: pkgconfig(xorg-macros) >= 1.8
Provides: font-util = %{epoch}:%{version}-%{release}
Obsoletes: font-util < %{epoch}:%{version}-%{release}
# Imported by Source5
Requires: /usr/bin/mkfontscale
Requires: /usr/bin/ttmkfdir
Requires: /usr/bin/mkfontdir
Requires: /usr/bin/fc-cache
%if %{with ucs2any}
Provides: ucs2any = %{epoch}:%{version}-%{release}
Obsoletes: ucs2any < %{epoch}:%{version}-%{release}
%endif
%description
X.Org X11 font utilities required for font installation, conversion, and generation.
%package_help
%prep
%setup -q -n font-util-%{version}
%if %{without ucs2any}
%patch -P0 -p1
%endif
%build
%configure --with-fontrootdir=%{_x11fontdir}
%make_build
%install
%make_install
%if %{without ucs2any}
pushd %{buildroot}
rm -frv %{_bindir}/ucs2any %{_x11fontdir} %{_mandir}/man1/ucs2any.1*
popd
%endif
install -m 744 -D %{S:5} %{buildroot}%{_bindir}/xorg-x11-fonts-update-dirs
sed -i "s:@DATADIR@:%{_datadir}:" %{buildroot}%{_bindir}/xorg-x11-fonts-update-dirs
mkdir -p %{buildroot}%{_mandir}/man1/
install -m 744 -p -D %{S:6} %{buildroot}%{_mandir}/man1/xorg-x11-fonts-update-dirs.1
rm -f %{buildroot}%{_bindir}/bdftruncate
rm -f %{buildroot}%{_mandir}/man1/bdftruncate.1
%files
%doc README.md
%license COPYING
%{_bindir}/xorg-x11-fonts-update-dirs
%{_datadir}/aclocal/fontutil.m4
%{_libdir}/pkgconfig/fontutil.pc
%if %{with ucs2any}
%{_bindir}/ucs2any
%dir %{_x11fontdir}
%dir %{_x11fontdir}/util
%{_x11fontdir}/util/map-*
%endif
%files help
%if %{with ucs2any}
%{_mandir}/man1/ucs2any.1*
%endif
%{_mandir}/man1/xorg-x11-fonts-update-dirs.1*
%changelog
* Mon Dec 16 2024 Funda Wang <[email protected]> - 2:1.4.1-3
- pull executable dependencies for xorg-x11-fonts-update-dirs
* Wed Dec 04 2024 Funda Wang <[email protected]> - 2:1.4.1-2
- build ucs2any conditioned due to license
* Tue Aug 20 2024 Funda Wang <[email protected]> - 2:1.4.1-1
- update to 1.4.1
- deaggregation of xorg-x11-*
* Thu Aug 01 2024 lingsheng <[email protected]> - 1:7.5-45
- Replace tabs with spaces, fix changelog version
* Tue Oct 25 2022 wangkerong <[email protected]> - 1:7.5-44
- rebuild for next release
* Fri Jul 24 2020 chengguipeng <[email protected]> - 1:7.5-43
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:Upgrade to 7.5-43
* Thu Jan 09 2020 openEuler Buildteam <[email protected]> - 1:7.5-42
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:optimization the spec
* Thu Sep 12 2019 openEuler Buildteam <[email protected]> - 1:7.5-41
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。