File ctan-junicode-fonts.spec of Package ctan-junicode-fonts
#
# spec file for package ctan-junicode-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/
#
%define fod %{_datadir}/fonts/truetype
%define fontname junicode
Name: ctan-junicode-fonts
Version: 0.7.1
Release: 1
License: OFL-1.1
Summary: Unicode Fonts for Medievalists
Url: http://sourceforge.net/projects/junicode/
Group: System/X11/Fonts
Source: %{fontname}-%{version}.tar.bz2
Source1: OFL.txt
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Junicode (short for Junius-Unicode) is a Unicode font for medievalists.
Junicode currently contains 3096 characters in the regular style (the italic,
bold and bold italic styles are less complete). These Unicode ranges are
either complete in the regular style or they contain substantial numbers of
glyphs (especially those of interest to medievalists).
%prep
%setup -c %{name} -n %{fontname}
# unzip -j %%{SOURCE0}
%build
cp %{SOURCE1} .
%install
c="%{buildroot}/%fod";
install -dm0755 "$c";
for i in junicode/fonts/*.ttf; do
mv -f "$i" "$c/";
done;
%post
if [ -x /sbin/SuSEconfig ]; then
SuSEconfig --module fonts;
fi;
%postun
if [ -x /sbin/SuSEconfig ]; then
SuSEconfig --module fonts;
fi;
%files
%defattr(-,root,root)
%fod
%doc junicode/doc/Junicode.pdf
%doc OFL.txt
%changelog