File culmus.spec of Package culmus
#
# spec file for package culmus (Version 0.120)
#
# Copyright (c) 2010 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/
#
# norootforbuild
%define fontdir /usr/share/fonts/Type1
Name: culmus
License: GPLv2+
Group: System/X11/Fonts
AutoReqProv: on
PreReq: %suseconfig_fonts_prereq
Provides: locale(he)
Version: 0.120
Release: 1
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.
Authors:
--------
Maxim Iorsh <iorsh@math.technion.ac.il>
%prep
%setup -q
%build
%install
mkdir -p $RPM_BUILD_ROOT%fontdir
install -c -m 644 *.afm *.pf? $RPM_BUILD_ROOT%fontdir
install -c -m 644 fonts.scale-type1 \
$RPM_BUILD_ROOT%fontdir/fonts.scale.culmus
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-, root,root)
%doc CHANGES fonts.scale-ttf culmus.conf GNU-GPL LICENSE LICENSE-BITSTREAM
%fontdir
%changelog