代码拉取完成,页面将自动刷新
%define _x11fontdir %{_datadir}/X11/fonts
Name: libfontenc
Version: 1.1.4
Release: 2
License: MIT
URL: https://www.x.org
Source0: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.bz2
Summary: X.Org X11 libfontenc runtime library
BuildRequires: pkgconfig xorg-x11-util-macros xorg-x11-proto-devel zlib-devel xorg-x11-font-utils
%description
X.Org X11 libfontenc runtime library
%package devel
Summary: X.Org X11 libfontenc development package
Requires: %{name} = %{version}-%{release}
%description devel
X.Org X11 libfontenc development package
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -Os"
%configure --with-fontrootdir=%{_x11fontdir}
%make_build
%install
%make_install
%delete_la_and_a
%ldconfig_scriptlets
%check
make check
%files
%defattr(-,root,root)
%license COPYING
%{_libdir}/libfontenc.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/X11/fonts/fontenc.h
%{_libdir}/libfontenc.so
%{_libdir}/pkgconfig/fontenc.pc
%files help
%defattr(-,root,root)
%doc README.md
%changelog
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change the directory of the license file
* Sat Sep 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.4-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。