[gradle] Add metadata for fonts
Mikolaj Izdebski
mizdebsk at fedoraproject.org
Tue Nov 18 20:10:49 UTC 2014
commit 206246023bf1d36a2a629377cf223a3eb23d3cf3
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Mon Oct 20 14:57:27 2014 +0200
Add metadata for fonts
gradle-font-metadata.xml | 69 ++++++++++++++++++++++++++++++++++++++++++++++
gradle.spec | 11 ++++++-
2 files changed, 79 insertions(+), 1 deletions(-)
---
diff --git a/gradle-font-metadata.xml b/gradle-font-metadata.xml
new file mode 100644
index 0000000..3a19a9e
--- /dev/null
+++ b/gradle-font-metadata.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<metadata xmlns="http://fedorahosted.org/xmvn/METADATA/2.0.0">
+ <artifacts>
+ <artifact>
+ <groupId>lato</groupId>
+ <artifactId>bold</artifactId>
+ <extension>ttf</extension>
+ <classifier>DvlFBScY1r-FMtZSYIYoYw</classifier>
+ <version>6</version>
+ <path>/usr/share/fonts/lato/Lato-Bold.ttf</path>
+ </artifact>
+ <artifact>
+ <groupId>lato</groupId>
+ <artifactId>bold-italic</artifactId>
+ <extension>ttf</extension>
+ <classifier>HkF_qI1x_noxlxhrhMQYEKCWcynf_cDxXwCLxiixG1c</classifier>
+ <version>6</version>
+ <path>/usr/share/fonts/lato/Lato-BoldItalic.ttf</path>
+ </artifact>
+ <artifact>
+ <groupId>lato</groupId>
+ <artifactId>regular</artifactId>
+ <extension>ttf</extension>
+ <classifier>v0SdcGFAl2aezM9Vq_aFTQ</classifier>
+ <version>6</version>
+ <path>/usr/share/fonts/lato/Lato-Regular.ttf</path>
+ </artifact>
+ <artifact>
+ <groupId>lato</groupId>
+ <artifactId>regular-italic</artifactId>
+ <extension>ttf</extension>
+ <classifier>LqowQDslGv4DmUBAfWa2Vw</classifier>
+ <version>6</version>
+ <path>/usr/share/fonts/lato/Lato-Italic.ttf</path>
+ </artifact>
+ <artifact>
+ <groupId>ubuntumono</groupId>
+ <artifactId>bold</artifactId>
+ <extension>ttf</extension>
+ <classifier>ceqTZGKHipo8pJj4molytp_TkvowlIOtbR7ePgFOpF4</classifier>
+ <version>3</version>
+ <path>/usr/share/fonts/liberation/LiberationMono-Bold.ttf</path>
+ </artifact>
+ <artifact>
+ <groupId>ubuntumono</groupId>
+ <artifactId>bold-italic</artifactId>
+ <extension>ttf</extension>
+ <classifier>n_d8tv_JOIiYyMXR4eaV9WsGzsqhEorxQDpu60nfWEc</classifier>
+ <version>3</version>
+ <path>/usr/share/fonts/liberation/LiberationMono-BoldItalic.ttf</path>
+ </artifact>
+ <artifact>
+ <groupId>ubuntumono</groupId>
+ <artifactId>regular</artifactId>
+ <extension>ttf</extension>
+ <classifier>ViZhet7Ak-LRXZMXzuAfkZ0EAVxt0G0biEntp43Qt6E</classifier>
+ <version>3</version>
+ <path>/usr/share/fonts/liberation/LiberationMono-Regular.ttf</path>
+ </artifact>
+ <artifact>
+ <groupId>ubuntumono</groupId>
+ <artifactId>regular-italic</artifactId>
+ <extension>ttf</extension>
+ <classifier>KAKuHXAHZOeECOWAHsRKA-LrC4Du4e_yfTJ8Ol60xk0</classifier>
+ <version>3</version>
+ <path>/usr/share/fonts/liberation/LiberationMono-Italic.ttf</path>
+ </artifact>
+ </artifacts>
+</metadata>
diff --git a/gradle.spec b/gradle.spec
index 85fab64..9e5a3f0 100644
--- a/gradle.spec
+++ b/gradle.spec
@@ -4,7 +4,7 @@
Name: gradle
Version: 2.1
-Release: 0.10%{?dist}
+Release: 0.11%{?dist}
Summary: Build automation tool
# Some examples and integration tests are under GNU LGPL and Boost
# Software License, but are not used to create binary package.
@@ -14,6 +14,7 @@ BuildArch: noarch
Source0: http://services.gradle.org/distributions/gradle-%{version}-src.zip
Source1: http://services.gradle.org/versions/all#/all-released-versions.json
+Source2: gradle-font-metadata.xml
Patch0: 0001-Gradle-local-mode.patch
Patch1: 0002-Port-to-Maven-3.2.3.patch
@@ -122,6 +123,9 @@ BuildRequires: xbean
BuildRequires: xerces-j2
BuildRequires: xml-commons-apis
+BuildRequires: lato-fonts
+BuildRequires: liberation-mono-fonts
+
Requires: javapackages-tools
Requires: java-devel
Requires: gradle-local
@@ -150,6 +154,8 @@ legacy automation challenges.
mkdir -p build
cp %{SOURCE1} build/all-released-versions.json
+%mvn_config resolverSettings/metadataRepositories/repository %{SOURCE2}
+
%build
gradle --offline -s distributions:binZip
@@ -176,6 +182,9 @@ jar cfm %{buildroot}%{_datadir}/%{name}/lib/plugins/gradle-core-impl-2.1*.jar ME
%doc LICENSE NOTICE
%changelog
+* Mon Oct 20 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 2.1-0.11
+- Add metadata for fonts
+
* Mon Oct 20 2014 Mikolaj Izdebski <mizdebsk at redhat.com> - 2.1-0.10
- Skip build everything except binary ZIP for now
More information about the scm-commits
mailing list