File culmus.spec of Package culmus
#
# spec file for package culmus
#
# 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 type1dir /usr/share/fonts/Type1
%define ttfdir /usr/share/fonts/truetype
Name: culmus
License: GPLv2+
Group: System/X11/Fonts
PreReq: %suseconfig_fonts_prereq
Provides: locale(he)
Version: 0.120
Release: 6
Url: http://culmus.sourceforge.net/
Source0: %{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Free Hebrew Fonts
%description
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
Ellinia.
%prep
%setup -q
%build
%install
mkdir -p $RPM_BUILD_ROOT%ttfdir
install -m 0644 *.ttf \
$RPM_BUILD_ROOT%ttfdir
mkdir -p $RPM_BUILD_ROOT%type1dir
install -c -m 644 *.afm *.pf? $RPM_BUILD_ROOT%type1dir
install -c -m 644 fonts.scale-type1 \
$RPM_BUILD_ROOT%type1dir/fonts.scale.culmus
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-, root,root)
%doc CHANGES fonts.scale-ttf culmus.conf GNU-GPL LICENSE LICENSE-BITSTREAM
%type1dir
%ttfdir
%changelog