File lobster-cyrillic-fonts.spec of Package lobster-cyrillic-fonts
#
# spec file for package lobster-cyrillic-fonts
#
# Copyright (c) 2011 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 _ttf_fontdir %{_datadir}/fonts/truetype
Name: lobster-cyrillic-fonts
Version: 1.4
Release: 1
License: OFL-1.1
Summary: Lobster Cyrillic Font
Url: http://cyreal.org/cyrillics/lobster
Group: System/X11/Fonts
#Source0: http://www.google.com/webfonts/download?kit=uEsimanOxcTIQjktIHR7Gw
Source0: Lobster.zip
BuildRequires: unzip
BuildRequires: xorg-x11-devel
Provides: locale(ru;uk)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires(pre): %suseconfig_fonts_prereq
%description
A lovely Bold Condensed Script fully loaded with hundreds of ligatures
and alternates.
Lobster Cyrillic includes:
- 99 Cyrillic ligatures.
- 25 ending glyphs.
- 100 ending ligatures.
- 2 initial ligatures.
- Ukrainian Hryvnia and Russian Ruble currency symbols.
%prep
%setup -cqn %{name}-%{version}
sed -i 's/\r$//g' OFL.txt
%build
%install
install -Dm 644 Lobster.ttf %{buildroot}%{_ttf_fontdir}/Lobster.ttf
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-,root,root,-)
%doc OFL.txt
%dir %{_ttf_fontdir}
%{_ttf_fontdir}/Lobster.ttf
%changelog