File ms-ttf.spec of Package ms-ttf

#
# spec file for package ms-ttf
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#

%define _fontdir	%{_datadir}/fonts/truetype

Name:           ms-ttf
Version:        20040622
Release:        0
Summary:        Microsoft Windows True Type Fonts
License:        LGPL-2.0-only
Group:          System/X11/Fonts
URL:            http://repo.hollstein.homelinux.org/suse/mh/
Source:         ms-ttf.tar.bz2
Provides:       agfa-fonts
BuildArch:      noarch

%description
This package contains the true type fonts used on Microsoft Windows systems.

%prep
%setup -q -n ms-ttf

%build

%install
[ %{buildroot} != "/" ] && [ -d %{buildroot} ] && rm -rf $RPM_BUILD_ROOT;
mkdir -p %{buildroot}%{_fontdir}
install -c -m 644 *.tt[cf] %{buildroot}%{_fontdir}

%files
%dir %{_fontdir}
%{_fontdir}/*.tt?

%changelog
openSUSE Build Service is sponsored by