2007-06-12 04:35:42 +02:00
|
|
|
#
|
2008-11-03 12:22:04 +01:00
|
|
|
# spec file for package liberation-fonts (Version 1.04)
|
2007-06-12 04:35:42 +02:00
|
|
|
#
|
2008-10-23 04:37:16 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-06-12 04:35:42 +02:00
|
|
|
#
|
2008-10-23 04:37:16 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-06-12 04:35:42 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-23 04:37:16 +02:00
|
|
|
|
2007-06-12 04:35:42 +02:00
|
|
|
Name: liberation-fonts
|
|
|
|
BuildRequires: xorg-x11-devel
|
|
|
|
%if "%(xft-config --prefix)" == "/usr"
|
|
|
|
%define ttf_fontdir /usr/share/fonts/truetype
|
|
|
|
%else
|
|
|
|
%define ttf_fontdir /usr/X11R6/lib/X11/fonts/truetype
|
|
|
|
%endif
|
2008-10-23 04:37:16 +02:00
|
|
|
License: GPL v2 or later
|
2007-06-12 04:35:42 +02:00
|
|
|
Group: System/X11/Fonts
|
2008-10-23 04:37:16 +02:00
|
|
|
AutoReqProv: on
|
2007-06-12 04:35:42 +02:00
|
|
|
PreReq: %suseconfig_fonts_prereq
|
|
|
|
Provides: locale(bg;el;ru;bg)
|
2008-11-03 12:22:04 +01:00
|
|
|
Version: 1.04
|
|
|
|
Release: 1
|
2007-06-12 04:35:42 +02:00
|
|
|
Summary: Liberation Fonts
|
2008-11-03 12:22:04 +01:00
|
|
|
Source: liberation-fonts-1.04.tar.bz2
|
|
|
|
Url: https://fedorahosted.org/liberation-fonts/
|
2007-06-12 04:35:42 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-10-23 04:37:16 +02:00
|
|
|
BuildArch: noarch
|
2007-06-12 04:35:42 +02:00
|
|
|
|
|
|
|
%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
|
2008-11-03 12:22:04 +01:00
|
|
|
%setup
|
|
|
|
|
|
|
|
%build
|
2007-06-12 04:35:42 +02:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2008-10-23 04:37:16 +02:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2007-06-12 04:35:42 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc License.txt
|
|
|
|
%dir %{ttf_fontdir}/
|
|
|
|
%{ttf_fontdir}/*.ttf
|
|
|
|
|
|
|
|
%changelog
|
2008-11-03 12:22:04 +01:00
|
|
|
* Sun Nov 02 2008 coolo@suse.de
|
|
|
|
- update to 1.04 - released in july (bnc#440913)
|
2008-10-23 04:37:16 +02:00
|
|
|
* Fri May 11 2007 mfabian@suse.de
|
2007-06-12 04:35:42 +02:00
|
|
|
- new package: liberation-fonts, version 0.1.
|