From 7913646c6e870fa420ddedcffcc3af26e075dc70 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 7 Apr 2014 12:22:57 +0000 Subject: [PATCH 01/32] Initial setup of the repo --- .gitignore | 0 sources | 0 2 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/sources b/sources new file mode 100644 index 0000000..e69de29 From 6c15ec5ab4f884504ce6cc6b9e22cb0608bef336 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 7 Apr 2014 14:43:34 +0200 Subject: [PATCH 02/32] initial import --- .gitignore | 1 + 64-google-roboto-condensed-fontconfig.conf | 17 +++++ 64-google-roboto-fontconfig.conf | 17 +++++ google-roboto-fonts.spec | 78 ++++++++++++++++++++++ sources | 1 + 5 files changed, 114 insertions(+) create mode 100644 64-google-roboto-condensed-fontconfig.conf create mode 100644 64-google-roboto-fontconfig.conf create mode 100644 google-roboto-fonts.spec diff --git a/.gitignore b/.gitignore index e69de29..c3e82c2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/roboto-1.2.zip diff --git a/64-google-roboto-condensed-fontconfig.conf b/64-google-roboto-condensed-fontconfig.conf new file mode 100644 index 0000000..178da36 --- /dev/null +++ b/64-google-roboto-condensed-fontconfig.conf @@ -0,0 +1,17 @@ + + + + + sans-serif + + Roboto Condensed + + + + Roboto Condensed + + sans-serif + + + + diff --git a/64-google-roboto-fontconfig.conf b/64-google-roboto-fontconfig.conf new file mode 100644 index 0000000..41efdb9 --- /dev/null +++ b/64-google-roboto-fontconfig.conf @@ -0,0 +1,17 @@ + + + + + sans-serif + + Roboto + + + + Roboto + + sans-serif + + + + diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec new file mode 100644 index 0000000..86b0c73 --- /dev/null +++ b/google-roboto-fonts.spec @@ -0,0 +1,78 @@ +%global pkgname roboto +%global fontname google-roboto + +Name: google-roboto-fonts +Version: 1.2 +Release: 2%{?dist} +Summary: Google Roboto fonts + +License: ASL 2.0 +URL: https://www.google.com/fonts/specimen/Roboto +Source0: http://developer.android.com/downloads/design/%{pkgname}-%{version}.zip +Source1: 64-%{fontname}-condensed-fontconfig.conf +Source2: 64-%{fontname}-fontconfig.conf +BuildArch: noarch + +BuildRequires: dos2unix +BuildRequires: fontpackages-devel + +Requires: %{fontname}-common = %{version}-%{release} + +%global archivename %{pkgname}-%{version} +%global fontsrcdir Roboto_v%{version} +%global fontconf 64-%{fontname} + +%description +Roboto is a sans-serif typeface family introduced with Android Ice Cream +Sandwich operating system. Google describes the font as "modern, yet +approachable" and "emotional". + +%package -n %{fontname}-condensed-fonts +Summary: Google Roboto condensed fonts +Requires: %{fontname}-common = %{version}-%{release} + +%description -n %{fontname}-condensed-fonts +Google Roboto condensed fonts. + +%package -n %{fontname}-common +Summary: Common files for Google Roboto fonts +Requires: fontpackages-filesystem + +%description -n %{fontname}-common +Common files for Google Roboto fonts. + +%prep +%autosetup -c -n %{name}-%{version} +dos2unix %{fontsrcdir}/*/LICENSE.txt + +%build + +%install +# install fonts +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p %{fontsrcdir}/Roboto/*.ttf %{buildroot}%{_fontdir} +install -m 0644 -p %{fontsrcdir}/RobotoCondensed/*.ttf %{buildroot}%{_fontdir} + +# install fontconfig files +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} +install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf +install -m 0644 -p %{SOURCE2} %{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 + +%_font_pkg -f %{fontconf}.conf Roboto-*.ttf + +%_font_pkg -n condensed -f %{fontconf}-condensed.conf RobotoCondensed-*.ttf + +%files -n %{fontname}-common +%doc %{fontsrcdir}/Roboto/LICENSE.txt +%doc %{fontsrcdir}/RobotoSpecimenBook.pdf + +%changelog +* Mon Apr 07 2014 David Tardon - 1.2-2 +- integrate package review suggestions + +* Thu Apr 03 2014 David Tardon - 1.2-1 +- initial import diff --git a/sources b/sources index e69de29..e640655 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +45bfbcd71a74d73c6d2c97994abb7e00 roboto-1.2.zip From e6e53f02b3738d5986e9b9c71c91a380b3ba420f Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 13:14:47 -0500 Subject: [PATCH 03/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 86b0c73..f3a79a6 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -3,7 +3,7 @@ Name: google-roboto-fonts Version: 1.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Google Roboto fonts License: ASL 2.0 @@ -71,6 +71,9 @@ done %doc %{fontsrcdir}/RobotoSpecimenBook.pdf %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Mon Apr 07 2014 David Tardon - 1.2-2 - integrate package review suggestions From f2fd0b28e2c2b64723e66179d9d1093396ca164c Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 20 Nov 2014 10:19:32 +0100 Subject: [PATCH 04/32] add AppData files --- google-roboto-condensed.metainfo.xml | 6 ++++++ google-roboto-fonts.spec | 11 ++++++++++- google-roboto.metainfo.xml | 15 +++++++++++++++ 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 google-roboto-condensed.metainfo.xml create mode 100644 google-roboto.metainfo.xml diff --git a/google-roboto-condensed.metainfo.xml b/google-roboto-condensed.metainfo.xml new file mode 100644 index 0000000..3a48727 --- /dev/null +++ b/google-roboto-condensed.metainfo.xml @@ -0,0 +1,6 @@ + + + google-roboto-condensed + CC0-1.0 + google-roboto + diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index f3a79a6..728a951 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -6,11 +6,14 @@ Version: 1.2 Release: 3%{?dist} Summary: Google Roboto fonts -License: ASL 2.0 +# Only the metainfo.xml files are CC0 +License: ASL 2.0 and CC0 URL: https://www.google.com/fonts/specimen/Roboto Source0: http://developer.android.com/downloads/design/%{pkgname}-%{version}.zip Source1: 64-%{fontname}-condensed-fontconfig.conf Source2: 64-%{fontname}-fontconfig.conf +Source3: %{fontname}-condensed.metainfo.xml +Source4: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: dos2unix @@ -62,9 +65,15 @@ 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 %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata + %_font_pkg -f %{fontconf}.conf Roboto-*.ttf +%{_datadir}/appdata/%{fontname}.metainfo.xml %_font_pkg -n condensed -f %{fontconf}-condensed.conf RobotoCondensed-*.ttf +%{_datadir}/appdata/%{fontname}-condensed.metainfo.xml %files -n %{fontname}-common %doc %{fontsrcdir}/Roboto/LICENSE.txt diff --git a/google-roboto.metainfo.xml b/google-roboto.metainfo.xml new file mode 100644 index 0000000..e5e6019 --- /dev/null +++ b/google-roboto.metainfo.xml @@ -0,0 +1,15 @@ + + + google-roboto + CC0-1.0 + Google Roboto + Google Roboto font family + +

Roboto is a sans-serif typeface family introduced with Android Ice Cream + Sandwich operating system. Google describes the font as "modern, yet + approachable" and "emotional". +

+
+ dtardon@redhat.com + https://www.google.com/fonts/specimen/Roboto +
From d2b00f9a625ea518e7568078d3d5bbb516f4fda7 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 20 Nov 2014 10:26:42 +0100 Subject: [PATCH 05/32] bump release --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 728a951..c2428e3 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -3,7 +3,7 @@ Name: google-roboto-fonts Version: 1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -80,6 +80,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %doc %{fontsrcdir}/RobotoSpecimenBook.pdf %changelog +* Thu Nov 20 2014 David Tardon - 1.2-4 +- add AppData files + * Sat Jun 07 2014 Fedora Release Engineering - 1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 3b3d7691d05c01ab0cf068e6d1ccdc712e1e6d5a Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 24 Nov 2014 14:12:03 +0100 Subject: [PATCH 06/32] use just Roboto as the font's name in metainfo --- google-roboto-fonts.spec | 5 ++++- google-roboto.metainfo.xml | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index c2428e3..cc32e28 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -3,7 +3,7 @@ Name: google-roboto-fonts Version: 1.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -80,6 +80,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %doc %{fontsrcdir}/RobotoSpecimenBook.pdf %changelog +* Mon Nov 24 2014 David Tardon - 1.2-5 +- use just Roboto as the font's name in metainfo + * Thu Nov 20 2014 David Tardon - 1.2-4 - add AppData files diff --git a/google-roboto.metainfo.xml b/google-roboto.metainfo.xml index e5e6019..a43f0ed 100644 --- a/google-roboto.metainfo.xml +++ b/google-roboto.metainfo.xml @@ -2,8 +2,8 @@ google-roboto CC0-1.0 - Google Roboto - Google Roboto font family + Roboto + Roboto font family

Roboto is a sans-serif typeface family introduced with Android Ice Cream Sandwich operating system. Google describes the font as "modern, yet From 7ab6f3acb75be075cf1a21969a3edefe94ca34ce Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 24 Nov 2014 14:23:34 +0100 Subject: [PATCH 07/32] fix update_contact spelling in metainfo --- google-roboto.metainfo.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-roboto.metainfo.xml b/google-roboto.metainfo.xml index a43f0ed..c721d13 100644 --- a/google-roboto.metainfo.xml +++ b/google-roboto.metainfo.xml @@ -10,6 +10,6 @@ approachable" and "emotional".

- dtardon@redhat.com + dtardon@redhat.com https://www.google.com/fonts/specimen/Roboto
From 6a08d1a623106a11a9c7e11abae12d07f418b200 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Wed, 17 Dec 2014 16:03:42 +0100 Subject: [PATCH 08/32] Rsolves: rhbz#1174935 update to what is presumably the latest release of the font --- .gitignore | 1 + LICENSE.txt | 202 +++++++++++++++++++++++++++++++++++++++ google-roboto-fonts.spec | 45 +++++---- sources | 2 +- 4 files changed, 228 insertions(+), 22 deletions(-) create mode 100644 LICENSE.txt diff --git a/.gitignore b/.gitignore index c3e82c2..81acdb7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /roboto-1.2.zip +/RobotoTTF.zip diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..d645695 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index cc32e28..9a6ecaf 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -2,27 +2,31 @@ %global fontname google-roboto Name: google-roboto-fonts +# No idea what version this is supposed to be. The last versioned tarball from +# http://developer.android.com/design/style/typography.html was version 1.2, +# so I will just continue using that version. Version: 1.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 License: ASL 2.0 and CC0 URL: https://www.google.com/fonts/specimen/Roboto -Source0: http://developer.android.com/downloads/design/%{pkgname}-%{version}.zip +# Oh, yeah... Thank you for the predictable download URL, Google! And +# I really do not want versioned tarball, because I really love to play +# the "find if there has been a new release" game... +# Downloaded on: 2014-12-17 +Source0: http://material-design.storage.googleapis.com/publish/v_2/material_ext_publish/0B08MbvYZK1iNZGNoWmJqVEhQYTQ/RobotoTTF.zip Source1: 64-%{fontname}-condensed-fontconfig.conf Source2: 64-%{fontname}-fontconfig.conf Source3: %{fontname}-condensed.metainfo.xml Source4: %{fontname}.metainfo.xml +Source5: LICENSE.txt + BuildArch: noarch -BuildRequires: dos2unix BuildRequires: fontpackages-devel -Requires: %{fontname}-common = %{version}-%{release} - -%global archivename %{pkgname}-%{version} -%global fontsrcdir Roboto_v%{version} %global fontconf 64-%{fontname} %description @@ -37,24 +41,15 @@ Requires: %{fontname}-common = %{version}-%{release} %description -n %{fontname}-condensed-fonts Google Roboto condensed fonts. -%package -n %{fontname}-common -Summary: Common files for Google Roboto fonts -Requires: fontpackages-filesystem - -%description -n %{fontname}-common -Common files for Google Roboto fonts. - %prep %autosetup -c -n %{name}-%{version} -dos2unix %{fontsrcdir}/*/LICENSE.txt %build %install # install fonts install -m 0755 -d %{buildroot}%{_fontdir} -install -m 0644 -p %{fontsrcdir}/Roboto/*.ttf %{buildroot}%{_fontdir} -install -m 0644 -p %{fontsrcdir}/RobotoCondensed/*.ttf %{buildroot}%{_fontdir} +install -m 0644 -p *.ttf %{buildroot}%{_fontdir} # install fontconfig files install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ @@ -69,17 +64,25 @@ done install -m 0755 -d %{buildroot}%{_datadir}/appdata install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata +# install license +install -m 0755 -d %{buildroot}%{_docdir}/%{fontname}-fonts \ + %{buildroot}%{_docdir}/%{fontname}-condensed-fonts +install -m 0644 -p %{SOURCE5} %{buildroot}%{_docdir}/%{fontname}-fonts/LICENSE.txt +install -m 0644 -p %{SOURCE5} %{buildroot}%{_docdir}/%{fontname}-condensed-fonts/LICENSE.txt + %_font_pkg -f %{fontconf}.conf Roboto-*.ttf %{_datadir}/appdata/%{fontname}.metainfo.xml +%doc %{_docdir}/%{fontname}-fonts/LICENSE.txt %_font_pkg -n condensed -f %{fontconf}-condensed.conf RobotoCondensed-*.ttf %{_datadir}/appdata/%{fontname}-condensed.metainfo.xml - -%files -n %{fontname}-common -%doc %{fontsrcdir}/Roboto/LICENSE.txt -%doc %{fontsrcdir}/RobotoSpecimenBook.pdf +%doc %{_docdir}/%{fontname}-condensed-fonts/LICENSE.txt %changelog +* Wed Dec 17 2014 David Tardon - 1.2-6 +- Resolves: rhbz#1174935 update to what is presumably the latest release + of the font + * Mon Nov 24 2014 David Tardon - 1.2-5 - use just Roboto as the font's name in metainfo diff --git a/sources b/sources index e640655..89200a8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -45bfbcd71a74d73c6d2c97994abb7e00 roboto-1.2.zip +844bb84ed6fab4648c4bda35acf432bd RobotoTTF.zip From 8a6ce4e69ef7f4e9c78a33512ecf9005fd8d5648 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 23 Dec 2014 15:01:25 +0100 Subject: [PATCH 09/32] drop obsolete requires --- google-roboto-fonts.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 9a6ecaf..130416e 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -6,7 +6,7 @@ Name: google-roboto-fonts # http://developer.android.com/design/style/typography.html was version 1.2, # so I will just continue using that version. Version: 1.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -36,7 +36,6 @@ approachable" and "emotional". %package -n %{fontname}-condensed-fonts Summary: Google Roboto condensed fonts -Requires: %{fontname}-common = %{version}-%{release} %description -n %{fontname}-condensed-fonts Google Roboto condensed fonts. @@ -79,6 +78,9 @@ install -m 0644 -p %{SOURCE5} %{buildroot}%{_docdir}/%{fontname}-condensed-fonts %doc %{_docdir}/%{fontname}-condensed-fonts/LICENSE.txt %changelog +* Tue Dec 23 2014 David Tardon - 1.2-7 +- drop obsolete requires + * Wed Dec 17 2014 David Tardon - 1.2-6 - Resolves: rhbz#1174935 update to what is presumably the latest release of the font From 9aac9d42876313bef07a6ccbcc6515ac1eeb3725 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 23 Dec 2014 16:51:22 +0100 Subject: [PATCH 10/32] revert the previous "update" This reverts commit 8a6ce4e69ef7f4e9c78a33512ecf9005fd8d5648. This reverts commit 6a08d1a623106a11a9c7e11abae12d07f418b200. --- .gitignore | 1 - LICENSE.txt | 202 --------------------------------------- google-roboto-fonts.spec | 45 +++++---- sources | 2 +- 4 files changed, 26 insertions(+), 224 deletions(-) delete mode 100644 LICENSE.txt diff --git a/.gitignore b/.gitignore index 81acdb7..c3e82c2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /roboto-1.2.zip -/RobotoTTF.zip diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index d645695..0000000 --- a/LICENSE.txt +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 130416e..ca492b5 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -2,31 +2,27 @@ %global fontname google-roboto Name: google-roboto-fonts -# No idea what version this is supposed to be. The last versioned tarball from -# http://developer.android.com/design/style/typography.html was version 1.2, -# so I will just continue using that version. Version: 1.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 License: ASL 2.0 and CC0 URL: https://www.google.com/fonts/specimen/Roboto -# Oh, yeah... Thank you for the predictable download URL, Google! And -# I really do not want versioned tarball, because I really love to play -# the "find if there has been a new release" game... -# Downloaded on: 2014-12-17 -Source0: http://material-design.storage.googleapis.com/publish/v_2/material_ext_publish/0B08MbvYZK1iNZGNoWmJqVEhQYTQ/RobotoTTF.zip +Source0: http://developer.android.com/downloads/design/%{pkgname}-%{version}.zip Source1: 64-%{fontname}-condensed-fontconfig.conf Source2: 64-%{fontname}-fontconfig.conf Source3: %{fontname}-condensed.metainfo.xml Source4: %{fontname}.metainfo.xml -Source5: LICENSE.txt - BuildArch: noarch +BuildRequires: dos2unix BuildRequires: fontpackages-devel +Requires: %{fontname}-common = %{version}-%{release} + +%global archivename %{pkgname}-%{version} +%global fontsrcdir Roboto_v%{version} %global fontconf 64-%{fontname} %description @@ -36,19 +32,29 @@ approachable" and "emotional". %package -n %{fontname}-condensed-fonts Summary: Google Roboto condensed fonts +Requires: %{fontname}-common = %{version}-%{release} %description -n %{fontname}-condensed-fonts Google Roboto condensed fonts. +%package -n %{fontname}-common +Summary: Common files for Google Roboto fonts +Requires: fontpackages-filesystem + +%description -n %{fontname}-common +Common files for Google Roboto fonts. + %prep %autosetup -c -n %{name}-%{version} +dos2unix %{fontsrcdir}/*/LICENSE.txt %build %install # install fonts install -m 0755 -d %{buildroot}%{_fontdir} -install -m 0644 -p *.ttf %{buildroot}%{_fontdir} +install -m 0644 -p %{fontsrcdir}/Roboto/*.ttf %{buildroot}%{_fontdir} +install -m 0644 -p %{fontsrcdir}/RobotoCondensed/*.ttf %{buildroot}%{_fontdir} # install fontconfig files install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ @@ -63,21 +69,20 @@ done install -m 0755 -d %{buildroot}%{_datadir}/appdata install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata -# install license -install -m 0755 -d %{buildroot}%{_docdir}/%{fontname}-fonts \ - %{buildroot}%{_docdir}/%{fontname}-condensed-fonts -install -m 0644 -p %{SOURCE5} %{buildroot}%{_docdir}/%{fontname}-fonts/LICENSE.txt -install -m 0644 -p %{SOURCE5} %{buildroot}%{_docdir}/%{fontname}-condensed-fonts/LICENSE.txt - %_font_pkg -f %{fontconf}.conf Roboto-*.ttf %{_datadir}/appdata/%{fontname}.metainfo.xml -%doc %{_docdir}/%{fontname}-fonts/LICENSE.txt %_font_pkg -n condensed -f %{fontconf}-condensed.conf RobotoCondensed-*.ttf %{_datadir}/appdata/%{fontname}-condensed.metainfo.xml -%doc %{_docdir}/%{fontname}-condensed-fonts/LICENSE.txt + +%files -n %{fontname}-common +%doc %{fontsrcdir}/Roboto/LICENSE.txt +%doc %{fontsrcdir}/RobotoSpecimenBook.pdf %changelog +* Tue Dec 23 2014 David Tardon - 1.2-8 +- revert the previous "update" + * Tue Dec 23 2014 David Tardon - 1.2-7 - drop obsolete requires diff --git a/sources b/sources index 89200a8..e640655 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -844bb84ed6fab4648c4bda35acf432bd RobotoTTF.zip +45bfbcd71a74d73c6d2c97994abb7e00 roboto-1.2.zip From 4da80d880e4cb548ba542797cfe2382a287d07ad Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 23 Dec 2014 17:08:55 +0100 Subject: [PATCH 11/32] Resolves: rhbz#1174935 fix font metadata --- 64-google-roboto-condensed-fontconfig.conf | 8 ++++++ 64-google-roboto-fontconfig.conf | 32 ++++++++++++++++++++++ google-roboto-fonts.spec | 1 + 3 files changed, 41 insertions(+) diff --git a/64-google-roboto-condensed-fontconfig.conf b/64-google-roboto-condensed-fontconfig.conf index 178da36..375db0e 100644 --- a/64-google-roboto-condensed-fontconfig.conf +++ b/64-google-roboto-condensed-fontconfig.conf @@ -13,5 +13,13 @@ sans-serif + + + Roboto Condensed + + + condensed + + diff --git a/64-google-roboto-fontconfig.conf b/64-google-roboto-fontconfig.conf index 41efdb9..18c73b3 100644 --- a/64-google-roboto-fontconfig.conf +++ b/64-google-roboto-fontconfig.conf @@ -13,5 +13,37 @@ sans-serif + + + Thin + + + thin + + + + + Thin Italic + + + thin + + + + + Black + + + black + + + + + Black Italic + + + black + + diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index ca492b5..bd743ab 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -82,6 +82,7 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %changelog * Tue Dec 23 2014 David Tardon - 1.2-8 - revert the previous "update" +- Resolves: rhbz#1174935 fix font metadata * Tue Dec 23 2014 David Tardon - 1.2-7 - drop obsolete requires From 91752df08a5d8df10abfe7b66b24b72757fd588a Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 23 Dec 2014 17:11:09 +0100 Subject: [PATCH 12/32] fix placement of .conf files in subpackages --- google-roboto-fonts.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index bd743ab..fa1ab5b 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -59,8 +59,8 @@ install -m 0644 -p %{fontsrcdir}/RobotoCondensed/*.ttf %{buildroot}%{_fontdir} # install fontconfig files install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} -install -m 0644 -p %{SOURCE1} %{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 From 7d83f5c2d1959127e4f4421eda3f76ed918977e4 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Jun 2015 09:36:33 +0000 Subject: [PATCH 13/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index fa1ab5b..bd59354 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -3,7 +3,7 @@ Name: google-roboto-fonts Version: 1.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -80,6 +80,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %doc %{fontsrcdir}/RobotoSpecimenBook.pdf %changelog +* Wed Jun 17 2015 Fedora Release Engineering - 1.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Tue Dec 23 2014 David Tardon - 1.2-8 - revert the previous "update" - Resolves: rhbz#1174935 fix font metadata From 6d62717763b8f6e374054d260082692f1ec320f9 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 3 Feb 2016 23:10:23 +0000 Subject: [PATCH 14/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index bd59354..3b2f10e 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -3,7 +3,7 @@ Name: google-roboto-fonts Version: 1.2 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -80,6 +80,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %doc %{fontsrcdir}/RobotoSpecimenBook.pdf %changelog +* Wed Feb 03 2016 Fedora Release Engineering - 1.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Wed Jun 17 2015 Fedora Release Engineering - 1.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From e5a50bc4f01f665d07ae662c513925d3bf694bee Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 26 Sep 2016 14:44:06 +0200 Subject: [PATCH 15/32] update to latest release 2.134 --- .gitignore | 2 ++ google-roboto-fonts.spec | 40 ++++++++++++++++++++-------------------- sources | 3 ++- 3 files changed, 24 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index c3e82c2..9382551 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /roboto-1.2.zip +/roboto-unhinted.zip +/LICENSE diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 3b2f10e..99fa072 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -1,28 +1,27 @@ %global pkgname roboto +%global srcname %{pkgname}-unhinted %global fontname google-roboto Name: google-roboto-fonts -Version: 1.2 -Release: 10%{?dist} +Version: 2.134 +Release: 1%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 License: ASL 2.0 and CC0 -URL: https://www.google.com/fonts/specimen/Roboto -Source0: http://developer.android.com/downloads/design/%{pkgname}-%{version}.zip -Source1: 64-%{fontname}-condensed-fontconfig.conf -Source2: 64-%{fontname}-fontconfig.conf -Source3: %{fontname}-condensed.metainfo.xml -Source4: %{fontname}.metainfo.xml +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: 64-%{fontname}-condensed-fontconfig.conf +Source3: 64-%{fontname}-fontconfig.conf +Source4: %{fontname}-condensed.metainfo.xml +Source5: %{fontname}.metainfo.xml BuildArch: noarch -BuildRequires: dos2unix BuildRequires: fontpackages-devel Requires: %{fontname}-common = %{version}-%{release} -%global archivename %{pkgname}-%{version} -%global fontsrcdir Roboto_v%{version} %global fontconf 64-%{fontname} %description @@ -45,29 +44,28 @@ Requires: fontpackages-filesystem Common files for Google Roboto fonts. %prep -%autosetup -c -n %{name}-%{version} -dos2unix %{fontsrcdir}/*/LICENSE.txt +%autosetup -n %{srcname} +cp -p %{SOURCE1} . %build %install # install fonts install -m 0755 -d %{buildroot}%{_fontdir} -install -m 0644 -p %{fontsrcdir}/Roboto/*.ttf %{buildroot}%{_fontdir} -install -m 0644 -p %{fontsrcdir}/RobotoCondensed/*.ttf %{buildroot}%{_fontdir} +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 %{SOURCE2} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf -install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-condensed.conf +install -m 0644 -p %{SOURCE3} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}.conf +install -m 0644 -p %{SOURCE2} %{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 %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata +install -m 0644 -p %{SOURCE4} %{SOURCE5} %{buildroot}%{_datadir}/appdata %_font_pkg -f %{fontconf}.conf Roboto-*.ttf %{_datadir}/appdata/%{fontname}.metainfo.xml @@ -76,10 +74,12 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %{_datadir}/appdata/%{fontname}-condensed.metainfo.xml %files -n %{fontname}-common -%doc %{fontsrcdir}/Roboto/LICENSE.txt -%doc %{fontsrcdir}/RobotoSpecimenBook.pdf +%license LICENSE %changelog +* Mon Sep 26 2016 David Tardon - 2.134-1 +- update to latest release + * Wed Feb 03 2016 Fedora Release Engineering - 1.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild diff --git a/sources b/sources index e640655..0ddd5c6 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -45bfbcd71a74d73c6d2c97994abb7e00 roboto-1.2.zip +308966fb7e6d65254c52ff721c8e5c21 roboto-unhinted.zip +86d3f3a95c324c9479bd8986968f4327 LICENSE From 54fb23997041b935a34a05d1e98f7a2f237aa33b Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 26 Sep 2016 16:33:28 +0200 Subject: [PATCH 16/32] move LICENSE to font packages --- google-roboto-fonts.spec | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 99fa072..8fe8bb4 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -20,7 +20,7 @@ BuildArch: noarch BuildRequires: fontpackages-devel -Requires: %{fontname}-common = %{version}-%{release} +Obsoletes: %{fontname}-common < 2.134-1 %global fontconf 64-%{fontname} @@ -31,18 +31,11 @@ approachable" and "emotional". %package -n %{fontname}-condensed-fonts Summary: Google Roboto condensed fonts -Requires: %{fontname}-common = %{version}-%{release} +Obsoletes: %{fontname}-common < 2.134-1 %description -n %{fontname}-condensed-fonts Google Roboto condensed fonts. -%package -n %{fontname}-common -Summary: Common files for Google Roboto fonts -Requires: fontpackages-filesystem - -%description -n %{fontname}-common -Common files for Google Roboto fonts. - %prep %autosetup -n %{srcname} cp -p %{SOURCE1} . @@ -69,11 +62,10 @@ install -m 0644 -p %{SOURCE4} %{SOURCE5} %{buildroot}%{_datadir}/appdata %_font_pkg -f %{fontconf}.conf Roboto-*.ttf %{_datadir}/appdata/%{fontname}.metainfo.xml +%license LICENSE %_font_pkg -n condensed -f %{fontconf}-condensed.conf RobotoCondensed-*.ttf %{_datadir}/appdata/%{fontname}-condensed.metainfo.xml - -%files -n %{fontname}-common %license LICENSE %changelog From 92684221ac282c32f5f4854dfc64e9588ad7c7cd Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 26 Sep 2016 16:36:50 +0200 Subject: [PATCH 17/32] use macro consistently --- google-roboto-fonts.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 8fe8bb4..defcdaa 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -1,6 +1,7 @@ %global pkgname roboto %global srcname %{pkgname}-unhinted %global fontname google-roboto +%global fontconf 64-%{fontname} Name: google-roboto-fonts Version: 2.134 @@ -12,8 +13,8 @@ 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: 64-%{fontname}-condensed-fontconfig.conf -Source3: 64-%{fontname}-fontconfig.conf +Source2: %{fontconf}-condensed-fontconfig.conf +Source3: %{fontconf}-fontconfig.conf Source4: %{fontname}-condensed.metainfo.xml Source5: %{fontname}.metainfo.xml BuildArch: noarch @@ -22,8 +23,6 @@ BuildRequires: fontpackages-devel Obsoletes: %{fontname}-common < 2.134-1 -%global fontconf 64-%{fontname} - %description Roboto is a sans-serif typeface family introduced with Android Ice Cream Sandwich operating system. Google describes the font as "modern, yet From b5e245d311f9595cda4dde09fed3b12afab9c74d Mon Sep 17 00:00:00 2001 From: David Tardon Date: Tue, 8 Nov 2016 20:34:39 +0100 Subject: [PATCH 18/32] new upstream release 2.135 --- .gitignore | 1 - google-roboto-fonts.spec | 21 +++++++++++---------- sources | 3 +-- 3 files changed, 12 insertions(+), 13 deletions(-) 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 From 3cf196524ad15f61155ee1a68d6f807deb6091bb Mon Sep 17 00:00:00 2001 From: David Tardon Date: Mon, 30 Jan 2017 17:34:11 +0100 Subject: [PATCH 19/32] new upstream release 2.136 --- google-roboto-fonts.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 80967be..8a5943f 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.135 +Version: 2.136 Release: 1%{?dist} Summary: Google Roboto fonts @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Mon Jan 30 2017 David Tardon - 2.136-1 +- new upstream release + * Tue Nov 08 2016 David Tardon - 2.135-1 - new upstream release diff --git a/sources b/sources index 64e8308..27468d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5435caaac835b2ffd348a1c6f16650a6 roboto-unhinted.zip +SHA512 (roboto-unhinted.zip) = 84b64b4a8f61fd8d75165efbf41ca72ed31cd8203d10c439b5ae5a20ca656df98ec2f3bd34e6aa8a6c407a9e411fb5ec9e2cedf83383931825d5771562a1e600 From 674454e1f7b0d29b52aab838c77522a98f35bd17 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 12:07:36 +0000 Subject: [PATCH 20/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 8a5943f..fe68572 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.136 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 2.136-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Mon Jan 30 2017 David Tardon - 2.136-1 - new upstream release From 3b6a49b857f6d94a1f20bdcb093384cf5f5ebd77 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 11:53:25 +0000 Subject: [PATCH 21/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index fe68572..045528b 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.136 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 2.136-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 2.136-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 5da4c9a442ccec072ee1cc821ce7d30bb4be01ca Mon Sep 17 00:00:00 2001 From: Harry Mallon Date: Tue, 14 Nov 2017 18:26:16 +0000 Subject: [PATCH 22/32] google-roboto-fonts: Update to v2.138 --- google-roboto-fonts.spec | 9 ++++++--- sources | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 045528b..e68a478 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -4,8 +4,8 @@ %global fontconf 64-%{fontname} Name: google-roboto-fonts -Version: 2.136 -Release: 3%{?dist} +Version: 2.138 +Release: 1%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -35,7 +35,7 @@ Obsoletes: %{fontname}-common < 2.134-1 Google Roboto condensed fonts. %prep -%autosetup -n %{srcname} +%autosetup -c -n %{srcname} %build @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Tue Nov 14 2017 Harry Mallon - 2.138-1 +- new upstream release + * Wed Jul 26 2017 Fedora Release Engineering - 2.136-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index 27468d7..8c30c43 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (roboto-unhinted.zip) = 84b64b4a8f61fd8d75165efbf41ca72ed31cd8203d10c439b5ae5a20ca656df98ec2f3bd34e6aa8a6c407a9e411fb5ec9e2cedf83383931825d5771562a1e600 +SHA512 (roboto-unhinted.zip) = 4cfd20a1e19a986b17f731745a4d5ee909b852649e340d25de8197fbf6656005ccd3b4c591641938edbfebf0de81c71366a2afa007bb403285dea4d3dbfbd2a0 From bcfd1a9d08803f26f4d9e2405cc0657556ac65ad Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 15:13:13 +0000 Subject: [PATCH 23/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index e68a478..54c62d0 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.138 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 2.138-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Tue Nov 14 2017 Harry Mallon - 2.138-1 - new upstream release From 6693b9b0f24b133b32ee8df90eb8118670d103c3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 04:22:35 +0000 Subject: [PATCH 24/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 54c62d0..835d34a 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.138 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 2.138-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Wed Feb 07 2018 Fedora Release Engineering - 2.138-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From e231e78c99770880d4e46283ef9595f0113ff7cc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 01:21:19 +0000 Subject: [PATCH 25/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 835d34a..ff652bf 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.138 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 2.138-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Jul 13 2018 Fedora Release Engineering - 2.138-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From eb8e340ae766f7c37c7528878edad925ff80faee Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 07:31:13 +0000 Subject: [PATCH 26/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index ff652bf..a16ca6d 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.138 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 2.138-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 01 2019 Fedora Release Engineering - 2.138-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 2d31a923c7c94043f29530beb3d7bdbaaefe3a2a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 03:17:59 +0000 Subject: [PATCH 27/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index a16ca6d..0f92ad0 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.138 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 2.138-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Jul 25 2019 Fedora Release Engineering - 2.138-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From e187c47b15e085c99b69ad4ce400f32df4f3c0ac Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 00:10:13 +0000 Subject: [PATCH 28/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 0f92ad0..6d613e4 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.138 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 2.138-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jan 29 2020 Fedora Release Engineering - 2.138-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From d9498c0cee27449aa2a23f6c585c6d822c04b5bb Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 12:46:47 +0000 Subject: [PATCH 29/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 6d613e4..7770f06 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.138 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 2.138-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 2.138-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 8f001617382ed9f41d46faba97fffe7a9e472d64 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 06:55:02 +0000 Subject: [PATCH 30/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 7770f06..8903436 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.138 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 2.138-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 2.138-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 064b45ae4d395c2cd3be5541b4a4e156047154ea Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 11:35:23 +0000 Subject: [PATCH 31/32] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- google-roboto-fonts.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/google-roboto-fonts.spec b/google-roboto-fonts.spec index 8903436..18825d7 100644 --- a/google-roboto-fonts.spec +++ b/google-roboto-fonts.spec @@ -5,7 +5,7 @@ Name: google-roboto-fonts Version: 2.138 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Google Roboto fonts # Only the metainfo.xml files are CC0 @@ -66,6 +66,9 @@ install -m 0644 -p %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata %license LICENSE %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 2.138-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 2.138-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 56511b40e8651d8f75af8ad32340bbb942cc6d20 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 22 Nov 2023 16:37:18 +0300 Subject: [PATCH 32/32] Remove unnecessary files --- SPECS/google-roboto-fonts.spec | 144 +++++++++++++++++++++++++++++++++ sources | 1 - 2 files changed, 144 insertions(+), 1 deletion(-) create mode 100644 SPECS/google-roboto-fonts.spec delete mode 100644 sources diff --git a/SPECS/google-roboto-fonts.spec b/SPECS/google-roboto-fonts.spec new file mode 100644 index 0000000..18825d7 --- /dev/null +++ b/SPECS/google-roboto-fonts.spec @@ -0,0 +1,144 @@ +%global pkgname roboto +%global srcname %{pkgname}-unhinted +%global fontname google-roboto +%global fontconf 64-%{fontname} + +Name: google-roboto-fonts +Version: 2.138 +Release: 10%{?dist} +Summary: Google Roboto fonts + +# Only the metainfo.xml files are CC0 +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: %{fontconf}-condensed-fontconfig.conf +Source2: %{fontconf}-fontconfig.conf +Source3: %{fontname}-condensed.metainfo.xml +Source4: %{fontname}.metainfo.xml +BuildArch: noarch + +BuildRequires: fontpackages-devel + +Obsoletes: %{fontname}-common < 2.134-1 + +%description +Roboto is a sans-serif typeface family introduced with Android Ice Cream +Sandwich operating system. Google describes the font as "modern, yet +approachable" and "emotional". + +%package -n %{fontname}-condensed-fonts +Summary: Google Roboto condensed fonts +Obsoletes: %{fontname}-common < 2.134-1 + +%description -n %{fontname}-condensed-fonts +Google Roboto condensed fonts. + +%prep +%autosetup -c -n %{srcname} + +%build + +%install +# install fonts +install -m 0755 -d %{buildroot}%{_fontdir} +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 %{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 %{SOURCE3} %{SOURCE4} %{buildroot}%{_datadir}/appdata + +%_font_pkg -f %{fontconf}.conf Roboto-*.ttf +%{_datadir}/appdata/%{fontname}.metainfo.xml +%license LICENSE + +%_font_pkg -n condensed -f %{fontconf}-condensed.conf RobotoCondensed-*.ttf +%{_datadir}/appdata/%{fontname}-condensed.metainfo.xml +%license LICENSE + +%changelog +* Thu Jan 20 2022 Fedora Release Engineering - 2.138-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 2.138-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 2.138-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 2.138-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 2.138-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 2.138-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 2.138-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 2.138-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 2.138-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Nov 14 2017 Harry Mallon - 2.138-1 +- new upstream release + +* Wed Jul 26 2017 Fedora Release Engineering - 2.136-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 2.136-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Mon Jan 30 2017 David Tardon - 2.136-1 +- new upstream release + +* 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 + +* Wed Feb 03 2016 Fedora Release Engineering - 1.2-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.2-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Dec 23 2014 David Tardon - 1.2-8 +- revert the previous "update" +- Resolves: rhbz#1174935 fix font metadata + +* Tue Dec 23 2014 David Tardon - 1.2-7 +- drop obsolete requires + +* Wed Dec 17 2014 David Tardon - 1.2-6 +- Resolves: rhbz#1174935 update to what is presumably the latest release + of the font + +* Mon Nov 24 2014 David Tardon - 1.2-5 +- use just Roboto as the font's name in metainfo + +* Thu Nov 20 2014 David Tardon - 1.2-4 +- add AppData files + +* Sat Jun 07 2014 Fedora Release Engineering - 1.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Apr 07 2014 David Tardon - 1.2-2 +- integrate package review suggestions + +* Thu Apr 03 2014 David Tardon - 1.2-1 +- initial import diff --git a/sources b/sources deleted file mode 100644 index 8c30c43..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (roboto-unhinted.zip) = 4cfd20a1e19a986b17f731745a4d5ee909b852649e340d25de8197fbf6656005ccd3b4c591641938edbfebf0de81c71366a2afa007bb403285dea4d3dbfbd2a0