File ttf-caslon.spec of Package ttf-caslon
#
# spec file for package ttf-caslon (Version 20031202)
#
# 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: ttf-caslon
%define fontdir /usr/share/fonts/truetype
License: BSD3c
Group: System/X11/Fonts
Provides: scalable-font-el, scalable-font-he, scalable-font-ru, scalable-font-bg
AutoReqProv: on
PreReq: %suseconfig_fonts_prereq
Version: 20031202
Release: 242
Url: http://bibliofile.mc.duke.edu/gww/fonts/Unicode.html
# downloaded from
# http://bibliofile.mc.duke.edu/gww/fonts/Caslon/CasUni.zip
# and converted to tar.bz2 to save a bit of space
Source0: http://bibliofile.mc.duke.edu/gww/fonts/Caslon/ttf-caslon-%{version}.tar.bz2
Source1: http://bibliofile.mc.duke.edu/gww/FreeWare/license.html
Source2: http://bibliofile.mc.duke.edu/gww/fonts/Unicode.html
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Caslon TrueType fonts
%description
The Caslon TrueType font is a partial implementation of Unicode. I does
not contain
* CJK characters (ideographs)
* Asian & Indian alphabets and sylabaries
* Arabic
but it contains enough for most European languages including the
euro-sign.
Authors:
--------
George Williams <gww@silcom.com>
%prep
%setup -n %{name}
cp $RPM_SOURCE_DIR/*.html .
%build
%install
if [ -n "%{?buildroot}" ] ; then
[ %{buildroot} != "/" ] && rm -rf %{buildroot};
fi
mkdir -p $RPM_BUILD_ROOT%{fontdir}/
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{fontdir}
%clean
#rm -rf $RPM_BUILD_ROOT
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-, root,root)
%doc *.html
%{fontdir}
%changelog