Projects
home:Eustace:branches:Eulaceura:Factory
liberation-fonts
_service:obs_scm:liberation-fonts.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:liberation-fonts.spec of Package liberation-fonts
Name: liberation-fonts Summary: Liberation Fonts Version: 2.1.5 Release: 1 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 URL: https://github.com/liberationfonts/%{name} Source0: https://github.com/liberationfonts/%{name}/archive/%{version}.tar.gz Source1: %{name}-mono.conf Source2: %{name}-sans.conf Source3: %{name}-serif.conf Source4: liberation.metainfo.xml 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 Requires: fontpackages-filesystem >= 1.13 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 %description The Liberation Fonts are intended to be replacements for the three most commonly used fonts on Microsoft systems: Times New Roman, Arial, and Courier New. %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 mv liberation-fonts-ttf-%{version}/* . %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p *.ttf %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_sysconfdir}/X11/fontpath.d ln -s %{_fontdir} %{buildroot}%{_sysconfdir}/X11/fontpath.d/%{name} install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir} install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/59-liberation-mono.conf install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/59-liberation-sans.conf install -m 0644 -p %{SOURCE3} %{buildroot}%{_fontconfig_templatedir}/59-liberation-serif.conf install -Dm 0644 -p %{SOURCE4} %{buildroot}%{_datadir}/appdata/liberation.metainfo.xml install -Dm 0644 -p %{SOURCE5} %{buildroot}%{_datadir}/appdata/liberation-mono.metainfo.xml install -Dm 0644 -p %{SOURCE6} %{buildroot}%{_datadir}/appdata/liberation-sans.metainfo.xml install -Dm 0644 -p %{SOURCE7} %{buildroot}%{_datadir}/appdata/liberation-serif.metainfo.xml for fconf in 59-liberation-mono.conf 59-liberation-sans.conf 59-liberation-serif.conf; do ln -s %{_fontconfig_templatedir}/$fconf %{buildroot}%{_fontconfig_confdir}/$fconf done mkfontscale %{buildroot}%{_fontdir} mkfontdir %{buildroot}%{_fontdir} %check appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/liberation*.metainfo.xml %_font_pkg -f *-liberation-*.conf Liberation*.ttf %{_datadir}/appdata/*.metainfo.xml %doc AUTHORS ChangeLog README.md TODO %license LICENSE %dir %{_fontdir} %verify(not md5 size mtime) %{_fontdir}/fonts.dir %verify(not md5 size mtime) %{_fontdir}/fonts.scale %{_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
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