Projects
Mega:24.03:SP1:Everything
fontconfig
_service:tar_scm:fontconfig.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:fontconfig.spec of Package fontconfig
%global freetype_version 2.9.1 Name: fontconfig Version: 2.15.0 Release: 1 Summary: Fontconfig is a library for configuring and customizing font access License: MIT and Public Domain and UCD URL: http://fontconfig.org Source0: http://fontconfig.org/release/%{name}-%{version}.tar.xz Source1: fc-cache Source2: FcConfigGetFilename.3 Patch6000: backport-fontconfig-disable-network-required-test.patch %ifarch sw_64 Patch6001: fontconfig-2.13.94-sw.patch %endif BuildRequires: libxml2-devel freetype-devel >= %{freetype_version} fontpackages-devel libuuid-devel BuildRequires: autoconf automake libtool gettext itstool gperf Requires: fontpackages-filesystem freetype >= 2.9.1 grep coreutils glibc font(:lang=en) Suggests: dejavu-sans-fonts Provides: %{name}-devel-doc Obsoletes: %{name}-devel-doc %description Fontconfig provide different font according to requirements specified by applications,discover new fonts when installed automatically be used in concert with the X Render Extension and FreeType to implement high quality, anti-aliased and subpixel rendered text on a display %package devel Summary: Font configuration and customization library Requires: %{name} = %{version}-%{release} freetype-devel >= %{freetype_version} pkgconfig gettext %description devel The fontconfig-devel package includes the header files,and developer docs for the fontconfig package. Install fontconfig-devel if you want to develop programs which will use fontconfig. %package help Summary: Development Documentation files for fontconfig library Buildarch: noarch Requires: %{name}-devel = %{version}-%{release} %description help The fontconfig-devel-doc package contains the documentation files which is useful for developing applications that uses fontconfig. %prep %autosetup -n %{name}-%{version} -p1 cp %{SOURCE2} $RPM_BUILD_DIR/%{name}-%{version}/doc %build export HASDOCBOOK=no autoreconf %configure --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/local/share/fonts \ --enable-libxml2 \ --disable-static --with-cache-dir=/usr/lib/fontconfig/cache %make_build %install %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' ln -s %{_fontconfig_templatedir}/25-unhint-nonlatin.conf $RPM_BUILD_ROOT%{_fontconfig_confdir}/ mv $RPM_BUILD_ROOT%{_docdir}/fontconfig/* . rmdir $RPM_BUILD_ROOT%{_docdir}/fontconfig/ mv $RPM_BUILD_ROOT%{_bindir}/fc-cache $RPM_BUILD_ROOT%{_bindir}/fc-cache-%{__isa_bits} install -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/fc-cache %find_lang %{name} %find_lang %{name}-conf cat %{name}-conf.lang >> %{name}.lang %check make check %post %{?ldconfig: %ldconfig} umask 0022 install -d /usr/lib/fontconfig/cache [[ -d %{_localstatedir}/cache/fontconfig ]] && rm -rf %{_localstatedir}/cache/fontconfig/* 2> /dev/null || : HOME=/root /usr/bin/fc-cache -f %ldconfig_postun %transfiletriggerin -- /usr/share/fonts /usr/share/X11/fonts/Type1 /usr/share/X11/fonts/TTF /usr/local/share/fonts HOME=/root /usr/bin/fc-cache -s %transfiletriggerpostun -- /usr/share/fonts /usr/share/X11/fonts/Type1 /usr/share/X11/fonts/TTF /usr/local/share/fonts HOME=/root /usr/bin/fc-cache -s %files -f %{name}.lang %defattr(-,root,root) %doc README.md AUTHORS %doc fontconfig-user.txt fontconfig-user.html %doc %{_fontconfig_confdir}/README %license COPYING %config %{_fontconfig_masterdir}/fonts.conf %config(noreplace) %{_fontconfig_confdir}/*.conf %dir /usr/lib/fontconfig/cache %{_libdir}/libfontconfig.so.* %{_bindir}/fc-* %{_fontconfig_templatedir}/*.conf %{_datadir}/xml/fontconfig %files devel %{_libdir}/libfontconfig.so %{_libdir}/pkgconfig/* %{_includedir}/fontconfig %{_datadir}/gettext/its/fontconfig.* %files help %doc fontconfig-devel.txt fontconfig-devel %{_mandir}/man1/* %{_mandir}/man5/* %{_mandir}/man3/* %changelog * Mon Jan 08 2024 zhangpan <zhangpan103@h-partners.com> - 2.15.0-1 - update to 2.15.0 * Thu Feb 02 2023 zhouwenpei <zhouwenpei1@h-partners.com> - 2.14.2-1 - update to 2.14.2 * Thu Oct 20 2022 wuzx<wuzx1226@qq.com> - 2.13.94-3 - add sw64 patch * Mon Jun 13 2022 wuchaochao <cyanrose@yeah.net> - 2.13.94-2 - fix changelog * Fri Dec 24 2021 liuyumeng <liuyumeng5@huawei.com> - 2.13.94-1 - update to fontcinfig-2.13.94-1 * Tue Oct 26 2021 caodongxia<caodongxia@huawei.com> - 2.13.92-2 - Remove modify-test-err.patch * Fri Jun 12 2020 hanhui<hanhui15@huawei.com> - 2.13.92-1 - Type:requirement - Id:NA - SUG:NA - DESC:upgrade to 2.13.92 * Thu Apr 9 2020 wuyue<wuyue1@huawei.com> - 2.13.1-4 - Type:bugfix - Id:NA - SUG:NA - DESC:remove 25-no-bitmap-fedora.conf and 25-no-bitmap.conf * Thu Jan 9 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.13.1-3 - Type:enhancement - ID:NA - SUG:NA - DESC:delete Patches * Wed Sep 11 2019 openEuler jimmy<dukaitian@huawei.com> - 2.13.1-2 - Package init jimmy
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2