File fonts-thryomanes.spec of Package fonts-thryomanes
#
# spec file for package fonts-thryomanes (Version 1.2)
#
# 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/
#
Name: fonts-thryomanes
BuildRequires: unzip
%define ttf_fontdir /usr/share/fonts/truetype
License: GPLv2+
Group: System/X11/Fonts
Provides: scalable-font-el, scalable-font-ru, scalable-font-bg
PreReq: %suseconfig_fonts_prereq
Provides: locale(bg;el;ru)
Version: 1.2
Release: 169
Url: http://www.io.com/~hmiller/lang/
Source: Thryomanes12.zip
Source1: copyright
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Greek TrueType Fonts
%description
These fonts include a complete set of Cyrillic letters and improved
italic characters.
%prep
unzip $RPM_SOURCE_DIR/Thryomanes12.zip
%build
%install
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
install -c -m 644 *.TTF $RPM_BUILD_ROOT%{ttf_fontdir}
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/fonts-thryomanes
install -m 644 gpl.txt \
$RPM_BUILD_ROOT/%{_defaultdocdir}/fonts-thryomanes
install -m 644 $RPM_SOURCE_DIR/copyright \
$RPM_BUILD_ROOT/%{_defaultdocdir}/fonts-thryomanes
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-, root,root)
%doc %{_defaultdocdir}/*
%{ttf_fontdir}
%changelog