Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
sgi-fonts
sgi-fonts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sgi-fonts.spec of Package sgi-fonts
# # spec file for package sgi-fonts (Version 1.0) # # Copyright (c) 2009 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/ # # norootforbuild Name: sgi-fonts %if %suse_version > 910 BuildRequires: freetype2 xorg-x11 xorg-x11-devel xorg-x11-fonts %else BuildRequires: XFree86 XFree86-devel freetype2 %endif %if "%(xft-config --prefix)" == "/usr" %define fontdir /usr/share/fonts %else %define fontdir /usr/X11R6/lib/X11/fonts %endif Summary: Very nice bitmapped fonts from SGI Version: 1.0 Release: 925 Group: System/X11/Fonts AutoReqProv: on PreReq: %suseconfig_fonts_prereq License: X11/MIT BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: %name.tar.bz2 Patch0: %name-%version.patch BuildArch: noarch %description A few extra fonts from SGI, very readable. %prep %setup -q -n %name %patch0 -p1 %build xmkmf make %install make FONTINSTDIR=%{fontdir}/misc DESTDIR=$RPM_BUILD_ROOT install pushd $RPM_BUILD_ROOT%{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 $RPM_BUILD_ROOT%{fontdir}/misc/sgi/fonts.cache-? %post %run_suseconfig_fonts %postun %run_suseconfig_fonts %files %defattr(644,root,root,755) %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 * Tue Aug 08 2006 mfabian@suse.de - move fonts to /usr/share/fonts because of the move to Xorg X11R7. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Jan 24 2006 mmj@suse.de - don't package font-cache stuff * Thu Jan 19 2006 mmj@suse.de - fix filelist * Fri Oct 14 2005 ro@suse.de - use fonts-cache-? in filelist * Fri Dec 03 2004 mfabian@suse.de - use new macro "%%run_suseconfig_fonts". * Fri Mar 19 2004 mfabian@suse.de - use %%suseconfig_fonts_prereq * Fri Feb 27 2004 mfabian@suse.de - run SuSEconfig.fonts and SuSEconfig.pango in %%post and %%postun * Wed Nov 05 2003 ro@suse.de - fix build after previous change * Thu Oct 16 2003 mmj@suse.de - Don't build as root * Thu Sep 18 2003 kukuk@suse.de - Create all font metadata * Fri Aug 29 2003 kukuk@suse.de - Add %%verify for fonts.dir * Sat Mar 08 2003 mfabian@suse.de - Bug #24908: bdf property FOUNDRY was the empty string in a few fonts -> fill it with "SGI" as it is in the other fonts already. - sgi-fonts.tar.gz wasn't really gzipped, only tarred. -> make it a correct .tar.bz2 file. * Sun Mar 02 2003 mmj@suse.de - Make it use BuildRoot: - Add freetype2 for build on s390 - Cleanup specfile * Mon Apr 09 2001 ro@suse.de - don't use macro for version * Thu Mar 22 2001 jj@suse.de - initial version
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