1
0
OBS User unknown 2008-10-23 02:37:16 +00:00 committed by Git OBS Bridge
parent 475302de24
commit 1291d320b2

View File

@ -1,15 +1,23 @@
# #
# spec file for package liberation-fonts (Version 0.1) # spec file for package liberation-fonts (Version 0.1)
# #
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 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.
# #
# 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/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild # norootforbuild
Name: liberation-fonts Name: liberation-fonts
BuildRequires: xorg-x11-devel BuildRequires: xorg-x11-devel
%if "%(xft-config --prefix)" == "/usr" %if "%(xft-config --prefix)" == "/usr"
@ -17,16 +25,16 @@ BuildRequires: xorg-x11-devel
%else %else
%define ttf_fontdir /usr/X11R6/lib/X11/fonts/truetype %define ttf_fontdir /usr/X11R6/lib/X11/fonts/truetype
%endif %endif
License: GNU General Public License (GPL) License: GPL v2 or later
Group: System/X11/Fonts Group: System/X11/Fonts
Autoreqprov: on AutoReqProv: on
PreReq: %suseconfig_fonts_prereq PreReq: %suseconfig_fonts_prereq
Provides: locale(bg;el;ru;bg) Provides: locale(bg;el;ru;bg)
Version: 0.1 Version: 0.1
Release: 1 Release: 121
Summary: Liberation Fonts Summary: Liberation Fonts
Source: liberation-fonts-0.1.tar.bz2 Source: liberation-fonts-0.1.tar.bz2
URL: https://www.redhat.com/promo/fonts/ Url: https://www.redhat.com/promo/fonts/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
@ -53,6 +61,9 @@ install -m 0644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
%postun %postun
%run_suseconfig_fonts %run_suseconfig_fonts
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,755) %defattr(-,root,root,755)
%doc License.txt %doc License.txt
@ -60,5 +71,5 @@ install -m 0644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
%{ttf_fontdir}/*.ttf %{ttf_fontdir}/*.ttf
%changelog %changelog
* Fri May 11 2007 - mfabian@suse.de * Fri May 11 2007 mfabian@suse.de
- new package: liberation-fonts, version 0.1. - new package: liberation-fonts, version 0.1.