|
@@ -6,26 +6,28 @@
|
|
Summary: Font configuration and customization library
|
|
Summary: Font configuration and customization library
|
|
Summary(ja): フォント設定/カスタマイズライブラリ
|
|
Summary(ja): フォント設定/カスタマイズライブラリ
|
|
Name: fontconfig
|
|
Name: fontconfig
|
|
-Version: 2.13.1
|
|
|
|
|
|
+Version: 2.14.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
|
|
License: MIT
|
|
License: MIT
|
|
URL: https://fontconfig.org/
|
|
URL: https://fontconfig.org/
|
|
-Source: https://fontconfig.org/release/fontconfig-%{version}.tar.bz2
|
|
|
|
|
|
+Source: https://fontconfig.org/release/fontconfig-%{version}.tar.xz
|
|
Source10: 70-prefer-ja-font.conf
|
|
Source10: 70-prefer-ja-font.conf
|
|
Source11: 59-morisawa-font-alias.conf
|
|
Source11: 59-morisawa-font-alias.conf
|
|
Source100: ChangeLog.fedora
|
|
Source100: ChangeLog.fedora
|
|
|
|
|
|
# from fedora
|
|
# from fedora
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=140335
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=140335
|
|
-Patch0: fontconfig-2.8.0-sleep-less.patch
|
|
|
|
|
|
+Patch0: %{name}-sleep-less.patch
|
|
|
|
+Patch4: %{name}-drop-lang-from-pkgkit-format.patch
|
|
|
|
+Patch5: %{name}-disable-network-required-test.patch
|
|
|
|
|
|
# vine
|
|
# vine
|
|
-Patch4: fontconfig-2.3.2-subst-ja-font.patch
|
|
|
|
-Patch10: fontconfig-2.13.1-vine.patch
|
|
|
|
|
|
+Patch10000: fontconfig-2.3.2-subst-ja-font.patch
|
|
|
|
+Patch10001: fontconfig-2.13.1-vine.patch
|
|
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
@@ -52,10 +54,11 @@ applications.
|
|
Fontconfig は、システム内のフォントを把握し、アプリケーション
|
|
Fontconfig は、システム内のフォントを把握し、アプリケーション
|
|
が指定した要求に応じてそれらを選択するためのライブラリです。
|
|
が指定した要求に応じてそれらを選択するためのライブラリです。
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Summary: Development files for %{name}
|
|
Summary(ja): Fontconfig の開発ファイル
|
|
Summary(ja): Fontconfig の開発ファイル
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming
|
|
Requires: fontconfig = %{version}-%{release}
|
|
Requires: fontconfig = %{version}-%{release}
|
|
Requires: freetype2-devel >= %{freetype_version}
|
|
Requires: freetype2-devel >= %{freetype_version}
|
|
Requires: expat-devel
|
|
Requires: expat-devel
|
|
@@ -72,11 +75,12 @@ fontconfig-devel パッケージには fontconfig を使ったソフトウエア
|
|
を開発するために必要なヘッダファイルやライブラリ、開発用ドキュメ
|
|
を開発するために必要なヘッダファイルやライブラリ、開発用ドキュメ
|
|
ントが含まれています。
|
|
ントが含まれています。
|
|
|
|
|
|
|
|
+
|
|
# compat32
|
|
# compat32
|
|
%package -n compat32-%{name}
|
|
%package -n compat32-%{name}
|
|
Summary: Font configuration and customization library
|
|
Summary: Font configuration and customization library
|
|
Summary(ja): フォント設定/カスタマイズライブラリ
|
|
Summary(ja): フォント設定/カスタマイズライブラリ
|
|
-Group: System Environment/Libraries
|
|
|
|
|
|
+Group: system,legacy
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
%description -n compat32-%{name}
|
|
Fontconfig is designed to locate fonts within the
|
|
Fontconfig is designed to locate fonts within the
|
|
@@ -87,9 +91,10 @@ applications.
|
|
Fontconfig は、システム内のフォントを把握し、アプリケーション
|
|
Fontconfig は、システム内のフォントを把握し、アプリケーション
|
|
が指定した要求に応じてそれらを選択するためのライブラリです。
|
|
が指定した要求に応じてそれらを選択するためのライブラリです。
|
|
|
|
|
|
|
|
+
|
|
%package -n compat32-%{name}-devel
|
|
%package -n compat32-%{name}-devel
|
|
Summary: Font configuration and customization library
|
|
Summary: Font configuration and customization library
|
|
-Group: Development/Libraries
|
|
|
|
|
|
+Group: programming,legacy
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
Requires: compat32-freetype2-devel >= %{freetype_version}
|
|
Requires: compat32-freetype2-devel >= %{freetype_version}
|
|
@@ -104,24 +109,27 @@ fontconfig-devel パッケージには fontconfig を使ったソフトウエア
|
|
を開発するために必要なヘッダファイルやライブラリ、開発用ドキュメ
|
|
を開発するために必要なヘッダファイルやライブラリ、開発用ドキュメ
|
|
ントが含まれています。
|
|
ントが含まれています。
|
|
|
|
|
|
|
|
+
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%autopatch -p1 -M 9999
|
|
|
|
+#patch10000 -p1 -b .subst-ja-font
|
|
|
|
+%patch10001 -p1 -b .vine
|
|
|
|
|
|
-%patch0 -p1 -b .sleep-less
|
|
|
|
-
|
|
|
|
-#patch4 -p1 -b .subst-ja-font
|
|
|
|
-%patch10 -p1 -b .vine
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-
|
|
|
|
# We don't want to rebuild the docs, but we want to install the included ones.
|
|
# We don't want to rebuild the docs, but we want to install the included ones.
|
|
export HASDOCBOOK=no
|
|
export HASDOCBOOK=no
|
|
|
|
|
|
%configure \
|
|
%configure \
|
|
- --with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/local/share/fonts
|
|
|
|
|
|
+ --with-add-fonts=/usr/share/fonts,/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/local/share/fonts
|
|
|
|
|
|
%__make %{?_smp_mflags}
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
@@ -150,23 +158,25 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
|
|
# remove locales (zh only)
|
|
# remove locales (zh only)
|
|
rm -rf %{buildroot}%{_datadir}/locale
|
|
rm -rf %{buildroot}%{_datadir}/locale
|
|
|
|
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%post
|
|
|
|
-/sbin/ldconfig
|
|
|
|
|
|
+
|
|
|
|
+%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
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%posttrans
|
|
umask 0022
|
|
umask 0022
|
|
# Remove stale caches
|
|
# Remove stale caches
|
|
rm -f %{_localstatedir}/cache/fontconfig/????????????????????????????????-*.cache-2
|
|
rm -f %{_localstatedir}/cache/fontconfig/????????????????????????????????-*.cache-2
|
|
HOME=/root /usr/bin/fc-cache -f -s >& /dev/null
|
|
HOME=/root /usr/bin/fc-cache -f -s >& /dev/null
|
|
|
|
|
|
|
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
|
-
|
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
-
|
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
-
|
|
|
|
%files
|
|
%files
|
|
%defattr(-, root, root)
|
|
%defattr(-, root, root)
|
|
%license COPYING
|
|
%license COPYING
|
|
@@ -216,6 +226,9 @@ HOME=/root /usr/bin/fc-cache -f -s >& /dev/null
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Nov 01 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.14.1-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Fri Apr 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13.1-1
|
|
* Fri Apr 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.13.1-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
- disabled Patch4.
|
|
- disabled Patch4.
|