File bpg-fonts.spec of Package bpg-fonts
#
# spec file for package bpg-fonts
#
# Copyright (c) 2011 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: bpg-fonts
%define fontdir /usr/share/fonts/truetype
License: Other uncritical OpenSource License
Group: System/X11/Fonts
Provides: scalable-font-ka
PreReq: %suseconfig_fonts_prereq
Provides: locale(ka)
Version: 0.20050518
Release: 182
Url: http://aiet.qartuli.net/docs/georgian_on_linux_en.php
Source0: http://aiet.qartuli.net/download/BPG_Glaho.ttf.bz2
Source1: http://aiet.qartuli.net/download/BPG_Chveulebrivi.ttf.bz2
Source2: http://aiet.qartuli.net/download/BPG_Courier.ttf.bz2
Source10: License
Source11: BPG-fonts-license-mailbox
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Free Georgian TrueType Fonts by BPG-InfoTech
%description
Free Georgian TrueType fonts by BPG-InfoTech.
%prep
%setup -T -c %{name} -n %{name}
cp $RPM_SOURCE_DIR/License .
cp $RPM_SOURCE_DIR/BPG-fonts-license-mailbox .
cp $RPM_SOURCE_DIR/*.ttf.bz2 .
bunzip2 *.ttf.bz2
%build
%install
mkdir -p $RPM_BUILD_ROOT%{fontdir}/
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{fontdir}/
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-, root,root)
%doc License BPG-fonts-license-mailbox
%{fontdir}/
%changelog