Compare commits

..

No commits in common. "a0e36ef02e290a45f11276d2573d07750bd76698" and "2a0d3222aa44f845786dbacf787bbdb3b20636c4" have entirely different histories.

4 changed files with 10 additions and 24 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,16 +1,16 @@
Name: liberation-fonts
Summary: Liberation Fonts
Version: 2.1.5
Release: 1
Version: 2.00.5
Release: 2
Epoch: 1
# The license of the Liberation Fonts is a EULA that contains GPLv2 and two
# exceptions:
# The first exception is the standard FSF font exception.
# The second exception is an anti-lockdown clause somewhat like the one in
# GPLv3. This license is Free, but GPLv2 and GPLv3 incompatible.
License: OFL-1.1
License: Liberation
URL: https://github.com/liberationfonts/%{name}
Source0: https://github.com/liberationfonts/%{name}/archive/%{version}.tar.gz
Source0: https://github.com/liberationfonts/%{name}/files/2012633/%{name}-%{version}.tar.gz
Source1: %{name}-mono.conf
Source2: %{name}-sans.conf
Source3: %{name}-serif.conf
@ -19,8 +19,10 @@ Source5: liberation-mono.metainfo.xml
Source6: liberation-sans.metainfo.xml
Source7: liberation-serif.metainfo.xml
BuildArch: noarch
BuildRequires: fontpackages-devel >= 1.13, mkfontscale mkfontdir libappstream-glib fontforge python3 python3-fonttools make
BuildRequires: fontpackages-devel >= 1.13, xorg-x11-font-utils libappstream-glib fontforge python3 python3-fonttools
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
@ -30,9 +32,6 @@ 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
@ -64,7 +63,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.md TODO
%doc AUTHORS ChangeLog README TODO
%license LICENSE
%dir %{_fontdir}
%verify(not md5 size mtime) %{_fontdir}/fonts.dir
@ -72,17 +71,5 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/liberation
%{_sysconfdir}/X11/fontpath.d/%{name}
%changelog
* Thu Oct 12 2023 liyanan <thistleslyn@163.com> - 1:2.1.5-1
- Update to 2.1.5
* Wed May 11 2022 yaoxin <yaoxin30@h-partners.com> - 1:2.00.5-5
- License compliance rectification
* Mon Sep 14 2020 Ge Wang <wangge20@huawei.com> - 2.00.5-4
- Modify Source0 Url
* Mon Jul 20 2020 Jeffery.Gao <gaojianxing@huawei.com> - 2.00.5-3
- Change Verion Num
* Tue Dec 3 2019 chenzhenyu <chenzhenyu13@huawei.com> - 2.00.3-2
- Package init

View File

@ -1,5 +1,4 @@
git_url: https://github.com/liberationfonts/liberation-fonts.git
version_control: github
src_repo: liberationfonts/liberation-fonts
tag_prefix: "^v"
seperator: "."
tag_pattern: ^v
seperator: .