Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ff893bd1e |
3 changed files with 11 additions and 19 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -3,3 +3,5 @@
|
|||
/SourceSansPro_FontsOnly-1.050.zip
|
||||
/adobe-source-sans-pro-fonts-2.020.tar.gz
|
||||
/adobe-source-sans-pro-fonts-2.045.tar.gz
|
||||
/adobe-source-sans-pro-fonts-3.006.tar.gz
|
||||
/source-sans-pro-3.006R.zip
|
||||
|
|
|
|||
|
|
@ -1,20 +1,15 @@
|
|||
%global fontname source-sans-pro
|
||||
%global fontconf 63-%{fontname}.conf
|
||||
|
||||
%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}
|
||||
Version: 3.006
|
||||
Release: 1%{?dist}
|
||||
Summary: A set of OpenType fonts designed for user interfaces
|
||||
|
||||
License: OFL
|
||||
URL: https://github.com/adobe-fonts/source-sans-pro/
|
||||
URL: https://github.com/adobe-fonts/%{fontname}/
|
||||
# Can't build fonts without nonfree softwares
|
||||
Source0: %{url}/archive/%{github_tag}/%{name}-%{version}.tar.gz
|
||||
Source0: %{url}/releases/download/%{version}R/%{fontname}-%{version}R.zip
|
||||
Source1: %{name}-fontconfig.conf
|
||||
Source2: %{fontname}.metainfo.xml
|
||||
|
||||
|
|
@ -29,15 +24,7 @@ print.
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{source_dir}
|
||||
|
||||
# Fix permissions
|
||||
chmod 0644 LICENSE.txt README.md
|
||||
|
||||
# Fix wrong EOLs
|
||||
sed -i.orig "s/\r//" LICENSE.txt && \
|
||||
touch -r LICENSE.txt.orig LICENSE.txt && \
|
||||
rm LICENSE.txt.orig
|
||||
%autosetup -n %{fontname}-%{version}R
|
||||
|
||||
|
||||
%build
|
||||
|
|
@ -57,11 +44,14 @@ install -Dpm 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata/%{fontname}.meta
|
|||
|
||||
%_font_pkg -f %{fontconf} *.otf
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%license LICENSE.md
|
||||
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Dec 18 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.006-1
|
||||
- Update to 3.006
|
||||
|
||||
* Fri Aug 09 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.045-1
|
||||
- Update to 2.0.45
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (adobe-source-sans-pro-fonts-2.045.tar.gz) = 42956c74a8414d5427c9a552acaec929beceed602fcd1adcf077297c06d85b99afda057954772cbbfd9d959673afd511e28cd1a69825558603daed28f6401dbb
|
||||
SHA512 (source-sans-pro-3.006R.zip) = f6351e7b842204ff07bbbf0c6ea1e7767d5adc4e0102435c3efab5ee1f14f7c6a6efe8c475fa286e1c82399e13bad11d75430a10338f41e6ffb9b52939cb9d25
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue