File liberation-fonts.spec of Package liberation-fonts

#
# spec file for package liberation-fonts (Version 1.06.0.20100721)
#
# 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/
#

# norootforbuild


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

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



Authors:
--------
    Ascender Corporation http://www.ascendercorp.com/index.html

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

%build

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

%post
%run_suseconfig_fonts

%postun
%run_suseconfig_fonts

%clean
rm -rf $RPM_BUILD_ROOT

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

%changelog