2007-06-12 04:35:42 +02:00
|
|
|
#
|
2008-11-29 23:19:53 +01:00
|
|
|
# spec file for package liberation-fonts (Version 1.03)
|
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-29 23:19:53 +01:00
|
|
|
Version: 1.03
|
2008-11-03 12:22:04 +01:00
|
|
|
Release: 1
|
2007-06-12 04:35:42 +02:00
|
|
|
Summary: Liberation Fonts
|
2008-11-29 23:19:53 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
|
|
|
Source1: %{name}-rpmlintrc
|
2008-11-03 12:22:04 +01:00
|
|
|
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-29 23:19:53 +01:00
|
|
|
%setup -q
|
2008-11-03 12:22:04 +01:00
|
|
|
|
|
|
|
%build
|
2007-06-12 04:35:42 +02:00
|
|
|
|
|
|
|
%install
|
2008-11-29 23:19:53 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}
|
2007-06-12 04:35:42 +02:00
|
|
|
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
|
2008-11-29 23:19:53 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING License.txt
|
|
|
|
# For version 1.04: AUTHORS COPYING ChangeLog License.txt README
|
|
|
|
%dir %{ttf_fontdir}
|
2007-06-12 04:35:42 +02:00
|
|
|
%{ttf_fontdir}/*.ttf
|
|
|
|
|
|
|
|
%changelog
|
2008-11-29 23:19:53 +01:00
|
|
|
* Thu Nov 27 2008 sbrabec@suse.cz
|
|
|
|
- Degrade to version 1.03. (bnc#440913)
|
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.
|