File lklug.spec of Package lklug
#
# spec file for package lklug (Version 0.3)
#
# Copyright (c) 2010 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/
#
# norootforbuild
Name: lklug
%define ttf_fontdir /usr/share/fonts/truetype
License: GPLv2+
Group: System/X11/Fonts
Provides: scalable-font-si
Provides: locale(si)
AutoReqProv: on
Summary: "Lanka Linux User Group" OpenType font for Sinhala
Version: 0.3
Release: 110
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Url: http://www.lug.lk
# The font file in TrueType format can be downloaed at:
# http://sinhala.sourceforge.net/files/lklug.ttf
# CVS, which contains the SFD sources:
# cvs -d:pserver:anonymous@sinhala.cvs.sourceforge.net:/cvsroot/sinhala login
# cvs -d:pserver:anonymous@sinhala.cvs.sourceforge.net:/cvsroot/sinhala co sinhala/fonts
# GPL Copyright file is here:
# cvs -d:pserver:anonymous@sinhala.cvs.sourceforge.net:/cvsroot/sinhala co sinhala/COPYING
Source0: lklug.ttf.bz2
Source1: COPYING
Source2: README.SUSE
%description
"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
Authors:
--------
Lanka Linux User Group <linux@lug.lk>
Anuradha Ratnaweer <aanuradha@gnu.org>
Harshula Jayasuriya <harshula@gmail.com>
Harshani Devadithya
Yannis Haralambous
%prep
%setup -q -T -c -n %{name}
cp $RPM_SOURCE_DIR/lklug.ttf.bz2 .
bunzip2 lklug.ttf.bz2
cp $RPM_SOURCE_DIR/COPYING .
cp $RPM_SOURCE_DIR/README.SUSE .
%build
%install
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
install -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}
%clean
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-, root,root)
%doc COPYING README.SUSE
%{ttf_fontdir}
%changelog