Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
sgi-bitmap-fonts
sgi-bitmap-fonts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sgi-bitmap-fonts.spec of Package sgi-bitmap-fonts
# # spec file for package sgi-bitmap-fonts # # Copyright (c) 2012 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/ # %define upstream_name sgi-fonts %define fontdir /usr/share/fonts Name: sgi-bitmap-fonts Version: 1.0 Release: 933 # fonts gathered from # ftp://patches-europe.sgi.com/pub/linux/ProPack1.4/SRPMS/sgi-fonts-1.0-1.src.rpm # -> added COPYING file (MIT license), bug #752246 Summary: Very nice bitmapped fonts from SGI License: MIT Group: System/X11/Fonts Source0: %{upstream_name}.tar.bz2 Source1: COPYING # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: %{name}-%{version}.patch BuildRequires: freetype2 %if 0%{?suse_version} >= 1220 BuildRequires: bdftopcf BuildRequires: imake BuildRequires: xorg-cf-files BuildRequires: mkfontdir BuildRequires: fontconfig %else BuildRequires: xorg-x11 BuildRequires: xorg-x11-devel %endif BuildRequires: xorg-x11-fonts Provides: sgi-fonts = %{version} # FIXME: This causes a rpmlint warning; change <= to < once here's a new upstream version Obsoletes: sgi-fonts <= %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires(pre): %suseconfig_fonts_prereq %description A few extra fonts from SGI, very readable. %prep %setup -q -n %{upstream_name} %patch0 -p1 %build xmkmf make cp %{SOURCE1} . %install make FONTINSTDIR=%{fontdir}/misc DESTDIR=%{buildroot} install pushd %{buildroot}%{fontdir}/misc/sgi gzip --best *.pcf fc-cache -f . mkfontscale . chmod u+w fonts.dir mkfontdir -e %{fontdir}/encodings touch .fonts-config-timestamp popd rm -f %{buildroot}%{fontdir}/misc/sgi/fonts.cache-? %post %run_suseconfig_fonts %postun %run_suseconfig_fonts %files %defattr(644,root,root,755) %doc COPYING %dir %{fontdir}/misc/sgi/ %verify(not md5 size mtime) %{fontdir}/misc/sgi/.fonts-config-timestamp %verify(not md5 size mtime) %{fontdir}/misc/sgi/encodings.dir %verify(not md5 size mtime) %{fontdir}/misc/sgi/fonts.dir %verify(not md5 size mtime) %{fontdir}/misc/sgi/fonts.scale %{fontdir}/misc/sgi/fonts.alias %{fontdir}/misc/sgi/*.pcf.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor