File msttcore-fonts.spec of Package msttcore-fonts

#
# spec file for package msttcore-fonts
#
# Copyright (c) 2016 SUSE LINUX 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:           msttcore-fonts
Version:        20161102
Release:        0
License:        GPL-2.0+
Summary:        Microsoft's Core Fonts for the Web and Cleartype Fonts
Url:            http://mscorefonts2.sourceforge.net/
Group:          System/X11/Fonts
Source:         %{name}.tar.xz
Provides:       fetchmsttfonts = %{version}-%{release}
Obsoletes:      fetchmsttfonts < %{version}-%{release}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  fontpackages-devel
%{?reconfigure_fonts_prereq}

%description
This package contains Microsoft True Type Core Fonts for the Web 

%prep
%setup -q -n %{name}

%build

%install
mkdir -vp %{buildroot}/usr/share/fonts/truetype/
ln -vt "$_" *.ttf

%{?reconfigure_fonts_scriptlets}

%files
%defattr(-,root,root)
/usr/share/fonts/
openSUSE Build Service is sponsored by