|
@@ -4,16 +4,17 @@
|
|
|
Name: TrueType-%{fontname}
|
|
|
Summary: Roboto font
|
|
|
Summary(ja): Roboto フォント
|
|
|
-Version: 1.0
|
|
|
+Version: 20120823
|
|
|
Release: 1%{?_dist_release}
|
|
|
License: apache License 2.0
|
|
|
Group: User Interface/X
|
|
|
-URL: https://github.com/android/platform_frameworks_base/tree/master/data/fonts
|
|
|
-#URL: http://developer.android.com/design/style/typography.html
|
|
|
-Source0: roboto-font-%{version}.tar.xz
|
|
|
+#URL: https://github.com/android/platform_frameworks_base/tree/master/data/fonts
|
|
|
+URL: http://developer.android.com/design/downloads/index.html
|
|
|
+Source0: Roboto_Hinted_%{version}.zip
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildArch: noarch
|
|
|
+BuildRequires: unzip
|
|
|
Requires: %{name}-doc
|
|
|
|
|
|
%description
|
|
@@ -39,7 +40,8 @@ includes enduser license.
|
|
|
|
|
|
|
|
|
%prep
|
|
|
-%setup -qn roboto-font
|
|
|
+%setup -q -c -T
|
|
|
+%{_bindir}/unzip -oq %{SOURCE0}
|
|
|
|
|
|
%clean
|
|
|
if test -n "${RPM_BUILD_ROOT}" && test "/" != "${RPM_BUILD_ROOT}"; then
|
|
@@ -64,8 +66,14 @@ cp -a *.ttf $RPM_BUILD_ROOT%{_fontdir}
|
|
|
%{_fontdir}/Roboto-*.ttf
|
|
|
|
|
|
%files doc
|
|
|
-%doc MODULE_LICENSE_APACHE2 NOTICE README.txt
|
|
|
+%doc COPYING.txt RobotoSpecimenBook.pdf
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Oct 13 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 20120823-1
|
|
|
+- new upstream release
|
|
|
+- changed URL and Source
|
|
|
+ - added BuildRequires: unzip
|
|
|
+ - changed versioning
|
|
|
+
|
|
|
* Sat Jan 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0-1
|
|
|
- initial build for VineSeed
|