File thryomanes-fonts.spec of Package thryomanes-fonts
#
# spec file for package thryomanes-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 http://bugs.opensuse.org/
#
Name: thryomanes-fonts
Version: 1.2
Release: 169
%define ttf_fontdir /usr/share/fonts/truetype
License: GPL-2.0+
Summary: Greek TrueType Fonts
Url: http://www.io.com/~hmiller/lang/
Group: System/X11/Fonts
Source: Thryomanes12.zip
Source1: copyright
BuildRequires: unzip
Requires(pre): %suseconfig_fonts_prereq
Provides: scalable-font-bg
Provides: scalable-font-el,
Provides: scalable-font-ru,
Provides: locale(bg;el;ru)
# FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version
Obsoletes: fonts-thryomanes <= %{version}
Provides: fonts-thryomanes = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%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 %{buildroot}%{ttf_fontdir}/
install -c -m 644 *.TTF %{buildroot}%{ttf_fontdir}
mkdir -p %{buildroot}/%{_defaultdocdir}/fonts-thryomanes
install -m 644 gpl.txt \
%{buildroot}/%{_defaultdocdir}/fonts-thryomanes
install -m 644 $RPM_SOURCE_DIR/copyright \
%{buildroot}/%{_defaultdocdir}/fonts-thryomanes
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-, root,root)
%doc %{_defaultdocdir}/*
%{ttf_fontdir}
%changelog