File oxygen-fonts.spec of Package oxygen-fonts
#
# spec file for package oxygen-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/
#
Name: oxygen-fonts
Version: 0.4
Release: 0
Summary: Oxygen Fonts
Group: System/X11/Fonts
License: OFL-1.1 or SUSE-GPL-3.0-with-font-exception
Url: https://projects.kde.org/projects/playground/artwork/oxygen-fonts
Source0: %{name}-%{version}.tar.xz
BuildArch: noarch
BuildRequires: fontpackages-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%reconfigure_fonts_prereq
%description
The Oxygen typeface family is created as part of the KDE Project, a libre desktop
for the GNU+Linux operating system. The design is optimised for the FreeType font
rendering system and works well in all graphical user interfaces, desktops and devices.
Designer: Vernon Adams
%prep
%setup -q
%build
%install
install -d %{buildroot}%{_ttfontsdir}
install -m 0644 oxygen-fonts/Bold-700/Oxygen*.ttf %{buildroot}%{_ttfontsdir}/
install -m 0644 oxygen-fonts/Regular-400/Oxygen*.ttf %{buildroot}%{_ttfontsdir}/
install -m 0644 oxygen-fonts/mono-400/Oxygen*.ttf %{buildroot}%{_ttfontsdir}/
%reconfigure_fonts_scriptlets
%files
%defattr(-, root, root)
%doc COPYING-GPL+FE.txt COPYING-OFL GPL.txt README.md
%dir %{_ttfontsdir}
%{_ttfontsdir}/Oxygen*.ttf
%changelog