File lklug-fonts.spec of Package lklug-fonts

# spec file for package lklug-fonts
# Copyright (c) 2012 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

%define fontname        ttf-sinhala-lklug

Name:           lklug-fonts
Version:        0.6
Release:        0
Summary:        "Lanka Linux User Group" OpenType Font for Sinhala
License:        GPL-2.0
Group:          System/X11/Fonts
# The font file in TrueType format can be downloaed at:
# CVS, which contains the SFD sources:
# cvs login
# cvs co sinhala/fonts
# GPL Copyright file is here:
# cvs co sinhala/COPYING
Source0:        %{fontname}-%{version}.tar.gz
Source1:        README.SUSE
BuildRequires:  fontpackages-devel
Provides:       scalable-font-si
Provides:       locale(si)
# FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version
Obsoletes:      lklug <= %{version}
Provides:       lklug = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

"Lanka Linux User Group" OpenType font for Sinhala copyright 2004 by
Yannis Haralambous.  OTF tables added by Anuradha Ratnaweera an d
Harshani Devadithya, and modified by Harshula Jayasuriya. "Kunddaliya"
glyph Copyright (c) 2006 Harshula Jayasuriya

%setup -n %{fontname}-%{version}

cp %{SOURCE1} .

mkdir -p %{buildroot}%{_ttfontsdir}/
install -m 644 *.ttf %{buildroot}%{_ttfontsdir}



%defattr(-, root,root)