File vernon_adams-muli-fonts.spec of Package vernon_adams-muli-fonts

#
# spec file for package vernon_adams-muli-fonts
#
# Copyright (c) 2014 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/
#

%define fontname muli
%define baseurl http://www.fontsquirrel.com/fonts/

Name:           vernon_adams-muli-fonts
Version:        1.0
Release:        0
Summary:        Sans Serif Font by Vernon Adams
License:        OFL-1.1
Group:          System/X11/Fonts
Url:            https://github.com/vernnobile/MuliFont
Source:         muli.zip
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%{reconfigure_fonts_prereq}

%description
Muli (‘moo-lee’) is a font in in progress.
Laid-back, slightly slanted, functional sans serif. Supernormal.

%prep
%setup -q -c -T -a0 
mv 'SIL Open Font License.txt' OFL.txt

%build

%install
install -d '%{buildroot}%{_ttfontsdir}'
install -t '%{buildroot}%{_ttfontsdir}' -m 644 *.ttf

%reconfigure_fonts_scriptlets

%files
%defattr(-, root, root)
%doc OFL.txt
%{_ttfontsdir}

%changelog

openSUSE Build Service is sponsored by