File mgopen-fonts.spec of Package mgopen-fonts
#
# spec file for package mgopen-fonts (Version 0.20050518)
#
# 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
Name: mgopen-fonts
%define fontdir /usr/share/fonts/truetype
License: Bistream Vera-like. Freely redistributable. Change name on modification
Group: System/X11/Fonts
Provides: scalable-font-el
AutoReqProv: on
PreReq: %suseconfig_fonts_prereq
Provides: locale(el)
Version: 0.20050518
Release: 182
Url: http://www.ellak.gr/fonts/mgopen/index.en
Source0: http://www.ellak.gr/fonts/mgopen/files/MgOpen.tar.bz2
# The file README contains the license and was created with
# w3m -dump http://www.ellak.gr/fonts/mgopen/index.en > README
Source1: README
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Free High-Quality Greek Fonts
%description
Free high-quality Greek fonts created by Magenta Ltd.
Authors:
--------
MAGENTA Ltd. <fonts@ellak.gr>
%prep
%setup -c %{name} -n %{name}
cp $RPM_SOURCE_DIR/README .
%build
%install
mkdir -p $RPM_BUILD_ROOT%{fontdir}/
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{fontdir}/
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-, root,root)
%doc README
%{fontdir}
%changelog