File liberation-fonts.spec of Package liberation-fonts

#
# spec file for package liberation-fonts
#
# Copyright (c) 2012 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/
#



Name:           liberation-fonts
Version:        1.06.0.20100721
Release:        0
License:        SUSE-Liberation
Summary:        Liberation Fonts
Url:            https://fedorahosted.org/liberation-fonts/
Group:          System/X11/Fonts
Source:         %{name}-ttf-%{version}.tar.bz2
Source1:        %{name}-rpmlintrc
%define	ttf_fontdir     /usr/share/fonts/truetype
Requires(pre):  %suseconfig_fonts_prereq
Provides:       locale(bg;el;ru;bg)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Free fonts which are metric compatible to "Arial", "Times New Roman"
and "Courier New".

%prep
%setup -q -n %{name}-ttf-%{version}

%build

%install
mkdir -p %{buildroot}%{ttf_fontdir}
install -m 0644 *.ttf %{buildroot}%{ttf_fontdir}/

%post
%run_suseconfig_fonts

%postun
%run_suseconfig_fonts

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog License.txt README
%{ttf_fontdir}

%changelog