%global fontname gdouros-symbola
%global fontconf 65-%{fontname}.conf
Name: %{fontname}-fonts
Version: 2.54
Release: 1%{?dist}
Summary: A symbol font
Group: User Interface/X
License: Copyright only
URL: http://users.teilar.gr/~g1951d/
Source0: http://users.teilar.gr/~g1951d/Symbola254.zip
Source1: %{name}-fontconfig.conf
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
%description
Symbola covers many scripts and symbols supported by Unicode.
These include those in Basic Latin, Latin-1 Supplement, Latin Extended-A, IPA
Extensions, Spacing Modifier Letters, Greek and Coptic, Cyrillic, Cyrillic
Supplementary, General Punctuation, Superscripts and Subscripts, and many
others.
It was created by George Douros.
%prep
%setup -q -c
%build
%install
rm -fr %{buildroot}
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p Symbola.otf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
%clean
rm -fr %{buildroot}
%_font_pkg -f %{fontconf} Symbola.otf
%doc Symbola.txt
%changelog
* Thu Sep 23 2010 Robin Sonefors <ozamosi@flukkost.nu> - 2.54-1
- New upstream version
- Simplified description
* Thu Oct 22 2009 Robin Sonefors <ozamosi@flukkost.nu> - 2.52-1
- Initial package