From: Bowon Ryu Date: Thu, 14 Feb 2019 10:04:20 +0000 (+0900) Subject: Merge branch 'upstream' into tizen X-Git-Tag: accepted/tizen/unified/20190225.232728~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0b1836619d3b81654b014252fbb0e7b24373d456;hp=2ed73cdd0f0785ca235adf7800e6e43137117a4c;p=platform%2Fupstream%2Ffontconfig.git Merge branch 'upstream' into tizen Change-Id: Ib7fd24e86a79df725eff04fed366a7d111f781be --- diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..40751ee --- /dev/null +++ b/autogen.sh @@ -0,0 +1,155 @@ +#!/bin/sh +# fontconfig/autogen.sh +# +# Copyright © 2000 Keith Packard +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of the author(s) not be used in +# advertising or publicity pertaining to distribution of the software without +# specific, written prior permission. The authors make no +# representations about the suitability of this software for any purpose. It +# is provided "as is" without express or implied warranty. +# +# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + +# Run this to generate all the initial makefiles, etc. + +set -e + +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +case "$1" in +--noconf*) + AUTOGEN_SUBDIR_MODE="true" + shift + ;; +esac + +ORIGDIR=`pwd` +cd $srcdir +PROJECT=Fontconfig +TEST_TYPE=-f +FILE=fontconfig/fontconfig.h +ACLOCAL=${ACLOCAL-aclocal} +ACLOCAL_FLAGS="-I m4" +LIBTOOLIZE=${LIBTOOLIZE-libtoolize} +AUTOMAKE=${AUTOMAKE-automake} +AUTOHEADER=${AUTOHEADER-autoheader} +AUTOCONF=${AUTOCONF-autoconf} +GPERF=${GPERF-gperf} +LIBTOOLIZE_FLAGS="--copy --force" + +DIE=0 + +($GPERF --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have gperf installed to compile $PROJECT." + echo "Install the appropriate package for your distribution." + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +have_libtool=false +if $LIBTOOLIZE --version < /dev/null > /dev/null 2>&1 ; then + libtool_version=`$LIBTOOLIZE --version | sed 's/^.* \([0-9][.][0-9.]*\)[^ ]*$/\1/'` + case $libtool_version in + 1.4*|1.5*|1.6*|1.7*|2*) + have_libtool=true + ;; + esac +fi +if $have_libtool ; then : ; else + echo + echo "You must have libtool 1.4 installed to compile $PROJECT." + echo "Install the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +fi + +($AUTOCONF --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have autoconf installed to compile $PROJECT." + echo "libtool the appropriate package for your distribution," + echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/" + DIE=1 +} + +have_automake=false +need_libtoolize=true +if $AUTOMAKE --version < /dev/null > /dev/null 2>&1 ; then + automake_version=`$AUTOMAKE --version | grep 'automake (GNU automake)' | sed 's/^[^0-9]*\(.*\)/\1/'` + case $automake_version in + 1.2*|1.3*|1.4) + ;; + 1.4*) + have_automake=true + need_libtoolize=false + ;; + *) + have_automake=true + ;; + esac +fi +if $have_automake ; then : ; else + echo + echo "You must have automake 1.4-p1 installed to compile $PROJECT." + echo "Get ftp://ftp.gnu.org/pub/gnu/automake/automake-1.4-p1.tar.gz" + echo "(or a newer version if it is available)" + DIE=1 +fi + +if test "$DIE" -eq 1; then + exit 1 +fi + +test $TEST_TYPE $FILE || { + echo "You must run this script in the top-level $PROJECT directory" + exit 1 +} + +if test -z "$AUTOGEN_SUBDIR_MODE" -a -z "$NOCONFIGURE"; then + if test -z "$*"; then + echo "I am going to run ./configure with no arguments - if you wish " + echo "to pass any to it, please specify them on the $0 command line." + fi +fi + +echo Running $ACLOCAL $ACLOCAL_FLAGS +$ACLOCAL $ACLOCAL_FLAGS + +# optionally run autoheader +if $AUTOHEADER --version < /dev/null > /dev/null 2>&1; then + echo Running $AUTOHEADER + $AUTOHEADER +fi + +case $need_libtoolize in + true) + echo Running $LIBTOOLIZE $LIBTOOLIZE_FLAGS + $LIBTOOLIZE $LIBTOOLIZE_FLAGS + ;; +esac + +echo Running $AUTOMAKE -a $am_opt +$AUTOMAKE -a $am_opt +echo Running $AUTOCONF +$AUTOCONF +cd $ORIGDIR + +if test -z "$AUTOGEN_SUBDIR_MODE" -a -z "$NOCONFIGURE"; then + echo Running $srcdir/configure "$@" + $srcdir/configure "$@" + + echo + echo "Now type 'make' to compile $PROJECT." +fi diff --git a/fc-cache/Makefile.am b/fc-cache/Makefile.am index 0e10786..f0354d4 100644 --- a/fc-cache/Makefile.am +++ b/fc-cache/Makefile.am @@ -51,6 +51,9 @@ EXTRA_DIST=fc-cache.sgml $(BUILT_MANS) CLEANFILES = fc_cache_LDADD = ${top_builddir}/src/libfontconfig.la +### TIZEN_ONLY(20170811): Apply ASLR to executable files. +fc_cache_LDFLAGS = -pie +fc_cache_CFLAGS = -fPIE if USEDOCBOOK diff --git a/fc-cat/Makefile.am b/fc-cat/Makefile.am index 04c1cc4..75540d2 100644 --- a/fc-cat/Makefile.am +++ b/fc-cat/Makefile.am @@ -42,6 +42,9 @@ EXTRA_DIST=fc-cat.sgml ${BUILT_MANS} CLEANFILES = fc_cat_LDADD = ${top_builddir}/src/libfontconfig.la +### TIZEN_ONLY(20170811): Apply ASLR to executable files. +fc_cat_LDFLAGS = -pie +fc_cat_CFLAGS = -fPIE if USEDOCBOOK diff --git a/fc-conflist/Makefile.am b/fc-conflist/Makefile.am index 6938ca7..488851c 100644 --- a/fc-conflist/Makefile.am +++ b/fc-conflist/Makefile.am @@ -42,6 +42,9 @@ EXTRA_DIST=fc-conflist.sgml $(BUILT_MANS) CLEANFILES = fc_conflist_LDADD = ${top_builddir}/src/libfontconfig.la $(FREETYPE_LIBS) +### TIZEN_ONLY(20190107): Apply ASLR to executable files. +fc_conflist_LDFLAGS = -pie +fc_conflist_CFLAGS = -fPIE if USEDOCBOOK diff --git a/fc-list/Makefile.am b/fc-list/Makefile.am index c58540e..2da76e9 100644 --- a/fc-list/Makefile.am +++ b/fc-list/Makefile.am @@ -42,6 +42,9 @@ EXTRA_DIST=fc-list.sgml $(BUILT_MANS) CLEANFILES = fc_list_LDADD = ${top_builddir}/src/libfontconfig.la +### TIZEN_ONLY(20170811): Apply ASLR to executable files. +fc_list_LDFLAGS = -pie +fc_list_CFLAGS = -fPIE if USEDOCBOOK diff --git a/fc-match/Makefile.am b/fc-match/Makefile.am index 84afb8b..5e69738 100644 --- a/fc-match/Makefile.am +++ b/fc-match/Makefile.am @@ -42,6 +42,9 @@ EXTRA_DIST=fc-match.sgml $(BUILT_MANS) CLEANFILES = fc_match_LDADD = ${top_builddir}/src/libfontconfig.la +### TIZEN_ONLY(20170811): Apply ASLR to executable files. +fc_match_LDFLAGS = -pie +fc_match_CFLAGS = -fPIE if USEDOCBOOK diff --git a/fc-pattern/Makefile.am b/fc-pattern/Makefile.am index c456247..814df88 100644 --- a/fc-pattern/Makefile.am +++ b/fc-pattern/Makefile.am @@ -42,6 +42,9 @@ EXTRA_DIST=fc-pattern.sgml $(BUILT_MANS) CLEANFILES = fc_pattern_LDADD = ${top_builddir}/src/libfontconfig.la +### TIZEN_ONLY(20170811): Apply ASLR to executable files. +fc_pattern_LDFLAGS = -pie +fc_pattern_CFLAGS = -fPIE if USEDOCBOOK diff --git a/fc-query/Makefile.am b/fc-query/Makefile.am index 73b3f11..44e97f4 100644 --- a/fc-query/Makefile.am +++ b/fc-query/Makefile.am @@ -42,6 +42,9 @@ EXTRA_DIST=fc-query.sgml $(BUILT_MANS) CLEANFILES = fc_query_LDADD = ${top_builddir}/src/libfontconfig.la +### TIZEN_ONLY(20170811): Apply ASLR to executable files. +fc_query_LDFLAGS = -pie +fc_query_CFLAGS = -fPIE if USEDOCBOOK diff --git a/fc-scan/Makefile.am b/fc-scan/Makefile.am index 471a42f..b1711fc 100644 --- a/fc-scan/Makefile.am +++ b/fc-scan/Makefile.am @@ -42,6 +42,9 @@ EXTRA_DIST=fc-scan.sgml $(BUILT_MANS) CLEANFILES = fc_scan_LDADD = ${top_builddir}/src/libfontconfig.la +### TIZEN_ONLY(20170811): Apply ASLR to executable files. +fc_scan_LDFLAGS = -pie +fc_scan_CFLAGS = -fPIE if USEDOCBOOK diff --git a/fc-validate/Makefile.am b/fc-validate/Makefile.am index c485aa5..3c3370c 100644 --- a/fc-validate/Makefile.am +++ b/fc-validate/Makefile.am @@ -42,6 +42,9 @@ EXTRA_DIST=fc-validate.sgml $(BUILT_MANS) CLEANFILES = fc_validate_LDADD = ${top_builddir}/src/libfontconfig.la $(FREETYPE_LIBS) +### TIZEN_ONLY(20170811): Apply ASLR to executable files. +fc_validate_LDFLAGS = -pie +fc_validate_CFLAGS = -fPIE if USEDOCBOOK diff --git a/fonts.conf.in b/fonts.conf.in index 2019923..7991405 100644 --- a/fonts.conf.in +++ b/fonts.conf.in @@ -32,7 +32,7 @@ @FC_FONTPATH@ fonts - ~/.fonts + ~/share/fonts - ~/.fontconfig + ~/.cache/fontconfig + + + + + + + + false + + + + + + diff --git a/m4/.gitkeep b/m4/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/new-version.sh b/new-version.sh new file mode 100644 index 0000000..eecfd81 --- /dev/null +++ b/new-version.sh @@ -0,0 +1,139 @@ +#!/bin/sh +# fontconfig/new-version.sh +# +# Copyright © 2000 Keith Packard +# +# Permission to use, copy, modify, distribute, and sell this software and its +# documentation for any purpose is hereby granted without fee, provided that +# the above copyright notice appear in all copies and that both that +# copyright notice and this permission notice appear in supporting +# documentation, and that the name of the author(s) not be used in +# advertising or publicity pertaining to distribution of the software without +# specific, written prior permission. The authors make no +# representations about the suitability of this software for any purpose. It +# is provided "as is" without express or implied warranty. +# +# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR +# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +# PERFORMANCE OF THIS SOFTWARE. + +if [ "x`git status -s -uno`" != "x" ]; then + echo 'Uncommited changes in repository' 1>&2 + exit 1 +fi + +version="$1" +case "$version" in +2.[0-9.]*) + ;; +*) + echo 'Invalid version number:' "$version" 1>&2 + exit 1 + ;; +esac + +eval `echo $version | + awk -F. '{ printf ("major=%d\nminor=%d\nrevision=%d\n", + $1, $2, $3); }'` + +# Update the version numbers + +sed -i configure.ac -e "/^AC_INIT(/s/2\.[0-9.]*/$version/" + +sed -i fontconfig/fontconfig.h \ + -e "/^#define FC_MAJOR/s/[0-9][0-9]*/$major/" \ + -e "/^#define FC_MINOR/s/[0-9][0-9]*/$minor/" \ + -e "/^#define FC_REVISION/s/[0-9][0-9]*/$revision/" + +# +# Compute pretty form of new version number +# +version_note=`echo $version | awk -F. '{ + if ($3 > 90) + printf ("%d.%d.%d (%d.%d RC%d)\n", + $1, $2, $3, $1, $2 + 1, $3 - 90); + else if ($3 == 0) + printf ("%d.%d\n", $1, $2); + else + printf ("%d.%d.%d\n", $1, $2, $3); }'` + +# +# Find previous version in README +# +last_note=`grep '^2\.[0-9.]*' README | + head -1 | + sed 's/ (2\.[0-9]* RC[0-9]*)//'` +case $last_note in +2.*.*) + last=$last_note + ;; +2.*) + last="$last_note.0" + ;; +*) + echo 'cannot find previous changelog' 1>&2 + exit 1 +esac + +# +# Format the current date for the README header +# +date=`date '+%Y-%m-%d'` + +# +# Update the readme file +# +if [ $version != $last ]; then + # + # header + # + (sed '/^2\.[0-9.]*/,$d' README | + sed -r -e "s/Version.*/Version $version_note/" \ + -e "s/[0-9]{4}\-[0-9]{2}\-[0-9]{2}$/$date/" | awk ' + /^[ \t]/ { + gsub ("^[ \t]*", ""); + gsub ("[ \t]*$", ""); + space=(70 - length) / 2; + for (i = 0; i < space; i++) + printf (" "); + print + next + } + { + print + }' + + # + # changelog + # + + echo $version_note + echo + git log --pretty=short $last.. | git shortlog | cat + + # + # previous changelogs + # + + sed -n '/^2\.[0-9.]*/,$p' README) > README.tmp || + (echo "README update failed"; exit 1) + + mv README.tmp README +fi + +$test git commit -m"Bump version to $version" \ + configure.ac \ + fontconfig/fontconfig.h \ + README + +# tag the tree +$test git tag -s -m "Version $version" $version + +# Make distributed change log + +git log --stat $last.. > ChangeLog-$version + diff --git a/packaging/baselibs.conf b/packaging/baselibs.conf new file mode 100644 index 0000000..ce12525 --- /dev/null +++ b/packaging/baselibs.conf @@ -0,0 +1,6 @@ +fontconfig + +/usr/bin/fc-cache -> /usr/bin/fc-cache + +/usr/bin/fc-cat -> /usr/bin/fc-cat + +/usr/bin/fc-list -> /usr/bin/fc-list + +/usr/bin/fc-match -> /usr/bin/fc-match +fontconfig-devel diff --git a/packaging/fontconfig.changes b/packaging/fontconfig.changes new file mode 100644 index 0000000..168fc0d --- /dev/null +++ b/packaging/fontconfig.changes @@ -0,0 +1,6 @@ +* Tue Mar 19 2013 Anas Nashif submit/trunk/20130129.151905@e5146b6 +- Fixed package groups + +* Tue Jan 29 2013 Anas Nashif upstream/2.10.91@8457e13 +- Update to 2.10.91 + diff --git a/packaging/fontconfig.conf b/packaging/fontconfig.conf new file mode 100644 index 0000000..dbec49d --- /dev/null +++ b/packaging/fontconfig.conf @@ -0,0 +1,3 @@ +d /opt/share/fonts 0755 app_fw users +t /opt/share/fonts - - - - security.SMACK64="User::App::Shared" +t /opt/share/fonts - - - - security.SMACK64TRANSMUTE="TRUE" diff --git a/packaging/fontconfig.manifest b/packaging/fontconfig.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/fontconfig.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/fontconfig.spec b/packaging/fontconfig.spec new file mode 100644 index 0000000..b604553 --- /dev/null +++ b/packaging/fontconfig.spec @@ -0,0 +1,160 @@ +%global freetype_version 2.9.0 + +Name: fontconfig +Summary: Font configuration and customization library +Version: 2.13.0 +Release: 1 +Group: Graphics & UI Framework/Fonts +License: MIT +URL: http://fontconfig.org +Source0: http://fontconfig.org/release/fontconfig-%{version}.tar.gz +Source100: fontconfig.conf +Source1001: fontconfig.manifest +BuildRequires: pkgconfig(freetype2) >= %{freetype_version} +BuildRequires: gawk +BuildRequires: expat-devel +BuildRequires: perl +BuildRequires: gperf +BuildRequires: python +BuildRequires: systemd-devel +BuildRequires: gettext-tools +BuildRequires: libuuid-devel +BuildRequires: pkgconfig(libtzplatform-config) +Requires(pre): %{TZ_SYS_BIN}/fc-cache, %{TZ_SYS_BIN}/mkdir %{TZ_SYS_BIN}/rm, %{TZ_SYS_BIN}/grep, %{TZ_SYS_BIN}/chsmack +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description +Fontconfig is designed to locate fonts within the +system and select them according to requirements specified by +applications. + +%package devel +Summary: Font configuration and customization library +Group: Graphics & UI Framework/Fonts +Requires: %{name} = %{version} +Requires: fontconfig = %{version} +Requires: freetype-devel >= %{freetype_version} +Requires: pkg-config + +%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. + +%prep +%setup -q +cp %{SOURCE1001} . + +%build +# We don't want to rebuild the docs, but we want to install the included ones. +export HASDOCBOOK=no + +%reconfigure --disable-static \ + --with-expat=%{_prefix} \ + --with-expat-include=%{_includedir} \ + --with-expat-lib=%{_libdir} \ + --with-freetype-config=%{TZ_SYS_BIN}/freetype-config \ + --with-add-fonts=%{TZ_SYS_RO_SHARE}/fonts,%{TZ_SYS_RO_SHARE}/app_fonts,%{TZ_SYS_RO_SHARE}/fallback_fonts,%{TZ_SYS_SHARE}/fonts \ + --with-cache-dir=%{TZ_SYS_VAR}/cache/fontconfig \ + --with-baseconfigdir=%{TZ_SYS_RO_ETC}/fonts \ + --with-configdir=%{TZ_SYS_RO_ETC}/fonts/conf.d \ + --with-templatedir=%{TZ_SYS_RO_ETC}/fonts/conf.avail \ + --with-xmldir=%{TZ_SYS_RO_ETC}/fonts \ + --disable-docs + +make %{?jobs:-j%jobs} + +#make check +%install +rm -rf %{buildroot} + +%make_install + +mkdir -p %{buildroot}%{_tmpfilesdir} +install -m 0644 %SOURCE100 %{buildroot}%{_tmpfilesdir}/fontconfig.conf + +# All font packages depend on this package, so we create +# and own /usr/share/fonts +mydir=$RPM_BUILD_ROOT%{TZ_SYS_RO_SHARE}/fonts +mkdir -p $RPM_BUILD_ROOT%{TZ_SYS_RO_SHARE}/fonts + +# Remove unpackaged files. no need when configure --disable-static +#rm $RPM_BUILD_ROOT%{_libdir}/*.la +#rm $RPM_BUILD_ROOT%{_libdir}/*.a + +%post +/sbin/ldconfig + +umask 0022 + +mkdir -p %{TZ_SYS_RO_SHARE}/fonts +mkdir -p %{TZ_SYS_RO_SHARE}/fallback_fonts +mkdir -p %{TZ_SYS_RO_SHARE}/app_fonts + +mkdir -p %{TZ_SYS_VAR}/cache/fontconfig +chown root:root %{TZ_SYS_VAR}/cache/fontconfig +chmod 755 %{TZ_SYS_VAR}/cache/fontconfig +chsmack -t %{TZ_SYS_VAR}/cache/fontconfig +chsmack -a User::App::Shared %{TZ_SYS_VAR}/cache/fontconfig + +mkdir -p %{TZ_SYS_SHARE}/fonts +chown app_fw:users %{TZ_SYS_SHARE}/fonts +chmod 755 %{TZ_SYS_SHARE}/fonts +chsmack -t %{TZ_SYS_SHARE}/fonts +chsmack -a User::App::Shared %{TZ_SYS_SHARE}/fonts + +# Skip making fontconfig cache folder for users. (/opt/home/app/.cache) +# The path will be changed according to a name of user. +#rm -rf %{TZ_USER_CACHE}/fontconfig +#mkdir -p %{TZ_USER_CACHE}/fontconfig +#chmod 755 %{TZ_USER_CACHE} +#chown app:app %{TZ_USER_CACHE} +#chsmack -t %{TZ_USER_CACHE} +#chsmack -a System::Shared %{TZ_USER_CACHE} +#chmod 755 %{TZ_USER_CACHE}/fontconfig +#chown app:app %{TZ_USER_CACHE}/fontconfig +#chsmack -t %{TZ_USER_CACHE}/fontconfig +#chsmack -a System::Shared %{TZ_USER_CACHE}/fontconfig + +# remove 49-sansserif.conf to fix bmc #9024 +#rm -rf /usr/%{_sysconfdir}/fonts/conf.d/49-sansserif.conf + +# Force regeneration of all fontconfig cache files +# The check for existance is needed on dual-arch installs (the second +# copy of fontconfig might install the binary instead of the first) +# The HOME setting is to avoid problems if HOME hasn't been reset +#if [ -x %{TZ_SYS_BIN}/fc-cache ] && %{TZ_SYS_BIN}/fc-cache --version 2>&1 | grep -q %{version} ; then +#fc-cache -rf --system-only +#fi + +%postun -p /sbin/ldconfig + +%files +%manifest fontconfig.manifest +%defattr(-,root,root,-) +%defattr(-, root, root) +%doc README AUTHORS COPYING +%{_libdir}/libfontconfig.so.* +%{TZ_SYS_BIN}/fc-* +%{TZ_SYS_RO_ETC}/fonts/* +%dir %{TZ_SYS_RO_ETC}/fonts/conf.avail +%dir %{TZ_SYS_RO_SHARE}/fonts +%{TZ_SYS_RO_SHARE}/gettext/its/fontconfig* +%{TZ_SYS_RO_SHARE}/locale/*/*/fontconfig* +%doc %{TZ_SYS_RO_ETC}/fonts/conf.d/README +%config %{TZ_SYS_RO_ETC}/fonts/conf.avail/*.conf +%config(noreplace) %{TZ_SYS_RO_ETC}/fonts/conf.d/*.conf +%{_tmpfilesdir}/fontconfig.conf +%license COPYING + +%files devel +%manifest fontconfig.manifest +%defattr(-,root,root,-) +%defattr(-, root, root) +%{_libdir}/libfontconfig.so +%{_libdir}/pkgconfig/* +%{_includedir}/fontconfig +