summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/dejavu-fonts.changes3
-rw-r--r--packaging/dejavu-fonts.spec48
2 files changed, 51 insertions, 0 deletions
diff --git a/packaging/dejavu-fonts.changes b/packaging/dejavu-fonts.changes
new file mode 100644
index 0000000..53b9e4d
--- /dev/null
+++ b/packaging/dejavu-fonts.changes
@@ -0,0 +1,3 @@
+* Thu Dec 13 2012 Anas Nashif <anas.nashif@intel.com> upstream/2.33@f1abf92
+- initial release
+
diff --git a/packaging/dejavu-fonts.spec b/packaging/dejavu-fonts.spec
new file mode 100644
index 0000000..b2b5403
--- /dev/null
+++ b/packaging/dejavu-fonts.spec
@@ -0,0 +1,48 @@
+%define _fontsdir %{_datadir}/fonts
+%define _ttfontsdir %{_fontsdir}/truetype
+%define _miscfontsdir %{_fontsdir}/misc
+%define _fontsconfdir %{_sysconfdir}/fonts
+%define _fontsconfddir %{_fontsconfdir}/conf.d
+%define _fontsconfavaildir %{_datadir}/%{name}/conf.avail
+
+Name: dejavu-fonts
+Version: 2.33
+Release: 0
+License: Permissive
+Summary: DejaVu Truetype Fonts
+Url: http://dejavu.sourceforge.net/
+Group: System/Fonts
+Source: dejavu-fonts-ttf-%{version}.tar.bz2
+BuildArch: noarch
+
+%description
+The DejaVu fonts are a font family based on the Vera Fonts.
+Its purpose is to provide a wider range of characters while
+maintaining the original look and feel through the process
+of collaborative development (see authors), under a Free license.
+
+%prep
+%setup -n %{name}-ttf-%{version}
+
+%build
+
+%install
+mkdir -p %{buildroot}%{_ttfontsdir}/
+install -m 0644 ttf/*.ttf %{buildroot}%{_ttfontsdir}/
+
+
+%post
+if [ -x %{_bindir}/fc-cache ]; then \
+ %{_bindir}/fc-cache %{_ttffontsdir} || : \
+fi
+
+%postun
+if [ -x %{_bindir}/fc-cache ]; then \
+ %{_bindir}/fc-cache %{_ttffontsdir} || : \
+fi
+
+%files
+%defattr(-,root,root,755)
+%license LICENSE
+%{_ttfontsdir}/
+