Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
75af2bfaa0 |
3 changed files with 17 additions and 18 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@
|
|||
/SourceSansPro_FontsOnly-1.034.zip
|
||||
/SourceSansPro_FontsOnly-1.050.zip
|
||||
/adobe-source-sans-pro-fonts-2.020.tar.gz
|
||||
/adobe-source-sans-pro-fonts-2.045.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
%global fontname source-sans-pro
|
||||
%global fontconf 63-%{fontname}.conf
|
||||
|
||||
%global roman_version 2.020
|
||||
%global italic_version 1.075
|
||||
%global roman_version 2.045
|
||||
%global italic_version 1.095
|
||||
%global github_tag %{roman_version}R-ro/%{italic_version}R-it
|
||||
%global source_dir %{fontname}-%(tr "/" "-" <<<%{github_tag})
|
||||
|
||||
Name: adobe-source-sans-pro-fonts
|
||||
Version: %{roman_version}
|
||||
Release: 3%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Summary: A set of OpenType fonts designed for user interfaces
|
||||
|
||||
License: OFL
|
||||
URL: https://github.com/adobe-fonts/source-sans-pro
|
||||
#unable to build from source: source format is unbuildable with free software
|
||||
Source0: https://github.com/adobe-fonts/source-sans-pro/archive/%{github_tag}/%{name}-%{version}.tar.gz
|
||||
URL: https://github.com/adobe-fonts/source-sans-pro/
|
||||
# Can't build fonts without nonfree softwares
|
||||
Source0: %{url}/archive/%{github_tag}/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}-fontconfig.conf
|
||||
Source2: %{fontname}.metainfo.xml
|
||||
|
||||
|
|
@ -44,20 +44,15 @@ rm LICENSE.txt.orig
|
|||
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p OTF/*.otf %{buildroot}%{_fontdir}
|
||||
install -dm 0755 $RPM_BUILD_ROOT%{_fontdir}
|
||||
install -pm 0644 OTF/*.otf $RPM_BUILD_ROOT%{_fontdir}
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
|
||||
install -m 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
install -dm 0755 $RPM_BUILD_ROOT%{_fontconfig_templatedir} $RPM_BUILD_ROOT%{_fontconfig_confdir}
|
||||
install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} $RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
# Add AppStream metadata
|
||||
install -Dm 0644 -p %{SOURCE2} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
install -Dpm 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
|
||||
%_font_pkg -f %{fontconf} *.otf
|
||||
|
|
@ -67,6 +62,9 @@ install -Dm 0644 -p %{SOURCE2} \
|
|||
|
||||
|
||||
%changelog
|
||||
* Fri Aug 09 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.045-1
|
||||
- Update to 2.0.45
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.020-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (adobe-source-sans-pro-fonts-2.020.tar.gz) = 877b47b203d6f8ee71e60ba612a25b5a1b707205b0a4aaf02cfe2c806466acc6d393c93ad2fd6e76d761150b2594fcd6abce7b3c0415b5b915b06c6c143b6b53
|
||||
SHA512 (adobe-source-sans-pro-fonts-2.045.tar.gz) = 42956c74a8414d5427c9a552acaec929beceed602fcd1adcf077297c06d85b99afda057954772cbbfd9d959673afd511e28cd1a69825558603daed28f6401dbb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue