|
|
469e51a |
%global fontname source-serif-pro
|
|
|
469e51a |
%global fontconf 63-%{fontname}.conf
|
|
|
469e51a |
|
|
|
469e51a |
Name: adobe-source-serif-pro-fonts
|
|
|
057d619 |
Version: 3.000
|
|
|
057d619 |
Release: 1%{?dist}
|
|
|
469e51a |
Summary: A set of OpenType fonts designed to complement Source Sans Pro
|
|
|
469e51a |
|
|
|
469e51a |
License: OFL
|
|
|
469e51a |
URL: https://github.com/adobe-fonts/source-serif-pro
|
|
|
057d619 |
Source0: https://github.com/adobe-fonts/source-serif-pro/archive/%{version}R.tar.gz##/%{name}-%{version}.tar.gz
|
|
|
469e51a |
Source1: %{name}-fontconfig.conf
|
|
|
469e51a |
Source2: %{fontname}.metainfo.xml
|
|
|
469e51a |
|
|
|
469e51a |
BuildArch: noarch
|
|
|
469e51a |
BuildRequires: fontpackages-devel
|
|
|
469e51a |
BuildRequires: libappstream-glib
|
|
|
469e51a |
Requires: fontpackages-filesystem
|
|
|
469e51a |
|
|
|
469e51a |
%description
|
|
|
469e51a |
Source Serif Pro is a set of OpenType fonts to complement the Source Sans Pro
|
|
|
469e51a |
family.
|
|
|
469e51a |
|
|
|
469e51a |
%prep
|
|
|
057d619 |
%setup -q -n source-serif-pro-%{version}R
|
|
|
31a8d25 |
sed -i 's/\r//' LICENSE.md
|
|
|
469e51a |
|
|
|
469e51a |
%build
|
|
|
469e51a |
|
|
|
469e51a |
%install
|
|
|
469e51a |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
469e51a |
install -m 0644 -p OTF/*.otf %{buildroot}%{_fontdir}
|
|
|
469e51a |
|
|
|
469e51a |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
469e51a |
%{buildroot}%{_fontconfig_confdir}
|
|
|
469e51a |
|
|
|
469e51a |
install -m 0644 -p %{SOURCE1} \
|
|
|
469e51a |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
469e51a |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
469e51a |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
469e51a |
|
|
|
469e51a |
# Add AppStream metadata
|
|
|
469e51a |
install -Dm 0644 -p %{SOURCE2} \
|
|
|
469e51a |
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
469e51a |
|
|
|
469e51a |
%check
|
|
|
469e51a |
appstream-util --nonet validate-relax \
|
|
|
469e51a |
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
469e51a |
|
|
|
469e51a |
%_font_pkg -f %{fontconf} *.otf
|
|
|
469e51a |
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
469e51a |
|
|
|
469e51a |
%doc README.md
|
|
|
31a8d25 |
%license LICENSE.md
|
|
|
469e51a |
|
|
|
469e51a |
%changelog
|
|
|
057d619 |
* Sat Jul 27 2019 Michael Kuhn <suraia@fedoraproject.org> - 3.000-1
|
|
|
057d619 |
- Update to 3.000
|
|
|
057d619 |
|
|
|
599bee8 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.010.1.010-2
|
|
|
599bee8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
599bee8 |
|
|
|
eca1529 |
* Tue Mar 26 2019 Michael Kuhn <suraia@fedoraproject.org> - 2.010.1.010-1
|
|
|
eca1529 |
- Update to 2.010 and 1.010
|
|
|
eca1529 |
|
|
|
94d223e |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.007.1.007-2
|
|
|
94d223e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
94d223e |
|
|
|
5b4eb9a |
* Sun Sep 30 2018 Michael Kuhn <suraia@fedoraproject.org> - 2.007.1.007-1
|
|
|
5b4eb9a |
- Update to 2.007 and 1.007
|
|
|
5b4eb9a |
|
|
|
fc3b846 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.000-5
|
|
|
fc3b846 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
fc3b846 |
|
|
|
feefe18 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.000-4
|
|
|
feefe18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
feefe18 |
|
|
|
c2fd234 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.000-3
|
|
|
c2fd234 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
c2fd234 |
|
|
|
032e81a |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.000-2
|
|
|
032e81a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
032e81a |
|
|
|
5b4eb9a |
* Sat Jan 21 2017 Michael Kuhn <suraia@fedoraproject.org> - 2.000-1
|
|
|
ec66e72 |
- Update to 2.000
|
|
|
ec66e72 |
|
|
|
5b4eb9a |
* Tue Aug 30 2016 Michael Kuhn <suraia@fedoraproject.org> - 1.017-2
|
|
|
469e51a |
- Fix AppStream metadata
|
|
|
469e51a |
- Validate AppStream metadata during check
|
|
|
469e51a |
|
|
|
5b4eb9a |
* Tue Jan 26 2016 Michael Kuhn <suraia@fedoraproject.org> - 1.017-1
|
|
|
469e51a |
- Initial package.
|