diff --git a/.gitignore b/.gitignore index 9382551..425db40 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ /roboto-1.2.zip /roboto-unhinted.zip -/LICENSE diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index defcdaa..80967be 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -4,7 +4,7 @@ %global fontconf 64-%{fontname} Name: google-roboto-fonts -Version: 2.134 +Version: 2.135 Release: 1%{?dist} Summary: Google Roboto fonts @@ -12,11 +12,10 @@ Summary: Google Roboto fonts License: ASL 2.0 and CC0 URL: https://github.com/google/roboto Source0: https://github.com/google/%{pkgname}/releases/download/v%{version}/%{srcname}.zip -Source1: https://raw.githubusercontent.com/google/%{pkgname}/v%{version}/LICENSE -Source2: %{fontconf}-condensed-fontconfig.conf -Source3: %{fontconf}-fontconfig.conf -Source4: %{fontname}-condensed.metainfo.xml -Source5: %{fontname}.metainfo.xml +Source1: %{fontconf}-condensed-fontconfig.conf +Source2: %{fontconf}-fontconfig.conf +Source3: %{fontname}-condensed.metainfo.xml +Source4: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontpackages-devel @@ -37,7 +36,6 @@ Google Roboto condensed fonts. %prep %autosetup -n %{srcname} -cp -p %{SOURCE1} . %build @@ -49,15 +47,15 @@ install -m 0644 -p Roboto*.ttf %{buildroot}%{_fontdir} # install fontconfig files install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} -install -m 0644 -p %{SOURCE3} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf -install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-condensed.conf +install -m 0644 -p %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf +install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-condensed.conf for fconf in %{fontconf}.conf %{fontconf}-condensed.conf; do ln -s %{_fontconfig_templatedir}/$fconf %{buildroot}%{_fontconfig_confdir}/$fconf done # install appdata install -m 0755 -d %{buildroot}%{_datadir}/appdata -install -m 0644 -p %{SOURCE4} %{SOURCE5} %{buildroot}%{_datadir}/appdata +install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %_font_pkg -f %{fontconf}.conf Roboto-*.ttf %{_datadir}/appdata/%{fontname}.metainfo.xml @@ -68,6 +66,9 @@ install -m 0644 -p %{SOURCE4} %{SOURCE5} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Tue Nov 08 2016 David Tardon - 2.135-1 +- new upstream release + * Mon Sep 26 2016 David Tardon - 2.134-1 - update to latest release diff --git a/sources b/sources index 0ddd5c6..64e8308 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -308966fb7e6d65254c52ff721c8e5c21 roboto-unhinted.zip -86d3f3a95c324c9479bd8986968f4327 LICENSE +5435caaac835b2ffd348a1c6f16650a6 roboto-unhinted.zip