diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-12-13 06:47:05 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-12-13 06:51:09 -0800 |
commit | 811a6065c94e504fb0ff7ede855874ef5bfc25b9 (patch) | |
tree | a9b68e7e8d0d4f9178147768c089efbd257438d2 /packaging | |
parent | 17019338b6088d300651418647183faa3bcea931 (diff) | |
download | dejavu-fonts-811a6065c94e504fb0ff7ede855874ef5bfc25b9.tar.gz dejavu-fonts-811a6065c94e504fb0ff7ede855874ef5bfc25b9.tar.bz2 dejavu-fonts-811a6065c94e504fb0ff7ede855874ef5bfc25b9.zip |
add packagingsubmit/trunk/20121213.145552
add packaging
add packaging
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/dejavu-fonts.changes | 3 | ||||
-rw-r--r-- | packaging/dejavu-fonts.spec | 48 |
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}/ + |