[vdrsymbol-fonts] Initial import (#678699).
Ville Skyttä
scop at fedoraproject.org
Thu Apr 28 17:21:53 UTC 2011
commit 4626d62911b2edb0c14f975c9a54a0721d084a08
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Thu Apr 28 20:21:39 2011 +0300
Initial import (#678699).
.gitignore | 1 +
sources | 1 +
vdrsymbol-fonts-fontconfig.conf | 16 +++++++++++
vdrsymbol-fonts.spec | 57 +++++++++++++++++++++++++++++++++++++++
4 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b0e37e5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/vdrsymbols-ttf-20100612.tgz
diff --git a/sources b/sources
index e69de29..1bfad44 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dad98a1cdb2b7deb3301ecf46181d258 vdrsymbols-ttf-20100612.tgz
diff --git a/vdrsymbol-fonts-fontconfig.conf b/vdrsymbol-fonts-fontconfig.conf
new file mode 100644
index 0000000..11fec29
--- /dev/null
+++ b/vdrsymbol-fonts-fontconfig.conf
@@ -0,0 +1,16 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>sans-serif</family>
+ <prefer>
+ <family>VDRSymbols Sans</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>VDRSymbols Sans</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+ </alias>
+</fontconfig>
diff --git a/vdrsymbol-fonts.spec b/vdrsymbol-fonts.spec
new file mode 100644
index 0000000..5a85f1b
--- /dev/null
+++ b/vdrsymbol-fonts.spec
@@ -0,0 +1,57 @@
+%global fontname vdrsymbol
+%global fontconf 69-%{fontname}.conf
+
+Name: %{fontname}-fonts
+Version: 20100612
+Release: 1%{?dist}
+Summary: VDR symbol fonts
+
+Group: User Interface/X
+License: Bitstream Vera and Public Domain
+URL: http://andreas.vdr-developer.org/fonts/
+Source0: http://andreas.vdr-developer.org/fonts/download/vdrsymbols-ttf-%{version}.tgz
+Source1: %{name}-fontconfig.conf
+
+BuildArch: noarch
+BuildRequires: fontpackages-devel
+Requires: fontpackages-filesystem
+
+%description
+VDRSymbols is a font for use with VDR plugins and patches.
+
+
+%prep
+%setup -q -n vdrsymbols
+chmod -x insert_vdr_symbols.pe
+
+
+%build
+
+
+%install
+rm -fr %{buildroot}
+
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
+
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+ %{buildroot}%{_fontconfig_confdir}
+
+install -m 0644 -p %{SOURCE1} \
+ %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+ln -s %{_fontconfig_templatedir}/%{fontconf} \
+ %{buildroot}%{_fontconfig_confdir}/%{fontconf}
+
+
+%clean
+rm -fr %{buildroot}
+
+
+%_font_pkg -f %{fontconf} *.ttf
+
+%doc COPYRIGHT.txt HISTORY README insert_vdr_symbols.pe
+
+
+%changelog
+* Fri Feb 18 2011 Ville Skyttä <ville.skytta at iki.fi> - 20100612-1
+- First build.
More information about the scm-commits
mailing list