File redacted-fonts.spec of Package redacted-fonts
#
# spec file for package redacted-fonts
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: redacted-fonts
Version: 20140808001git
Release: 0
Summary: Font for placeholder text
License: OFL-1.1
Group: System/X11/Fonts
Url: http://github.com/christiannaths/Redacted-Font
Source0: redacted-fonts-%{version}.tar.bz2
BuildRequires: fontpackages-devel
BuildRequires: dos2unix
%reconfigure_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Font to be used for placeholder text
%prep
%setup -q
%build
dos2unix -c ascii OFL.txt
%install
mkdir -p %{buildroot}%{_ttfontsdir}/
install -c -m 644 fonts/*.ttf %{buildroot}%{_ttfontsdir}/
%reconfigure_fonts_scriptlets -c
%files
%defattr(-, root,root)
%doc README.md
%doc OFL.txt
%{_ttfontsdir}
%changelog