forked from pool/liberation-fonts
65 lines
1.5 KiB
RPMSpec
65 lines
1.5 KiB
RPMSpec
|
#
|
||
|
# spec file for package liberation-fonts (Version 0.1)
|
||
|
#
|
||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
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
|
||
|
License: GNU General Public License (GPL)
|
||
|
Group: System/X11/Fonts
|
||
|
Autoreqprov: on
|
||
|
PreReq: %suseconfig_fonts_prereq
|
||
|
Provides: locale(bg;el;ru;bg)
|
||
|
Version: 0.1
|
||
|
Release: 1
|
||
|
Summary: Liberation Fonts
|
||
|
Source: liberation-fonts-0.1.tar.bz2
|
||
|
URL: https://www.redhat.com/promo/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 -c -n %name-%version
|
||
|
|
||
|
%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
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root,755)
|
||
|
%doc License.txt
|
||
|
%dir %{ttf_fontdir}/
|
||
|
%{ttf_fontdir}/*.ttf
|
||
|
|
||
|
%changelog
|
||
|
* Fri May 11 2007 - mfabian@suse.de
|
||
|
- new package: liberation-fonts, version 0.1.
|