diff --git a/2.00.5.tar.gz b/2.00.5.tar.gz deleted file mode 100644 index a7fd38d..0000000 Binary files a/2.00.5.tar.gz and /dev/null differ diff --git a/2.1.5.tar.gz b/2.1.5.tar.gz new file mode 100644 index 0000000..9ae9499 Binary files /dev/null and b/2.1.5.tar.gz differ diff --git a/liberation-fonts.spec b/liberation-fonts.spec index c042d63..83d802e 100644 --- a/liberation-fonts.spec +++ b/liberation-fonts.spec @@ -1,7 +1,7 @@ Name: liberation-fonts Summary: Liberation Fonts -Version: 2.00.5 -Release: 5 +Version: 2.1.5 +Release: 1 Epoch: 1 # The license of the Liberation Fonts is a EULA that contains GPLv2 and two # exceptions: @@ -19,10 +19,8 @@ Source5: liberation-mono.metainfo.xml Source6: liberation-sans.metainfo.xml Source7: liberation-serif.metainfo.xml BuildArch: noarch -BuildRequires: fontpackages-devel >= 1.13, xorg-x11-font-utils libappstream-glib fontforge python3 python3-fonttools +BuildRequires: fontpackages-devel >= 1.13, mkfontscale mkfontdir libappstream-glib fontforge python3 python3-fonttools make Requires: fontpackages-filesystem >= 1.13 -Obsoletes: liberation-narrow-fonts < 1:2.0.0 -Provides: liberation-narrow-fonts = %{epoch}:%{version}-%{release} Obsoletes: liberation-fonts-common liberation-sans-fonts liberation-serif-fonts liberation-mono-fonts Provides: liberation-fonts-common liberation-sans-fonts liberation-serif-fonts liberation-mono-fonts @@ -32,6 +30,9 @@ commonly used fonts on Microsoft systems: Times New Roman, Arial, and Courier Ne %prep %autosetup -n %{name}-%{version} -p1 +sed -i 's/OS2_UseTypoMetrics: 1/OS2_UseTypoMetrics: 0/g' src/*.sfd + +sed -i 's|/usr/bin/env python|%{_bindir}/python2|' scripts/setisFixedPitch-fonttools.py %build %make_build @@ -63,7 +64,7 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/liberation %_font_pkg -f *-liberation-*.conf Liberation*.ttf %{_datadir}/appdata/*.metainfo.xml -%doc AUTHORS ChangeLog README TODO +%doc AUTHORS ChangeLog README.md TODO %license LICENSE %dir %{_fontdir} %verify(not md5 size mtime) %{_fontdir}/fonts.dir @@ -71,6 +72,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/liberation %{_sysconfdir}/X11/fontpath.d/%{name} %changelog +* Thu Oct 12 2023 liyanan - 1:2.1.5-1 +- Update to 2.1.5 + * Wed May 11 2022 yaoxin - 1:2.00.5-5 - License compliance rectification