File culmus-fonts.spec of Package culmus-fonts

# spec file for package culmus-fonts
# Copyright (c) 2013 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

%define type1dir %{_fontsdir}/Type1
%define upstream_name  culmus

Name:           culmus-fonts
Version:        0.130
Release:        0
Summary:        Free Hebrew Fonts
License:        GPL-2.0+
Group:          System/X11/Fonts
Source0:        %{upstream_name}-%{version}.tar.bz2
BuildRequires:  fontpackages-devel
Provides:       locale(he)
# FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version
Obsoletes:      culmus <= %{version}
Provides:       culmus = %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

Nine Hebrew font families. ASCII glyphs partially borrowed from the URW
and Bitstream fonts.  Those families provide a basic set of a serif
(Frank Ruehl), sans serif (Nachlieli), and monospaced (Miriam Mono)
fonts. Also included Miriam, Drugulin, Aharoni, David, Yehuda, and

%setup -q -n %{upstream_name}-%{version}


mkdir -p %{buildroot}%_ttfontsdir
install -m 0644 *.ttf \
mkdir -p %{buildroot}%type1dir
install -c -m 644 *.afm *.pf? %{buildroot}%type1dir
install -c -m 644 fonts.scale-type1 \


%defattr(-, root,root)
%doc CHANGES fonts.scale-ttf culmus.conf GNU-GPL LICENSE LICENSE-BITSTREAM