Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
sazanami-fonts
sazanami-fonts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sazanami-fonts.spec of Package sazanami-fonts
# # spec file for package sazanami-fonts (Version 20040629) # # Copyright (c) 2008 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: sazanami-fonts %if %suse_version > 910 BuildRequires: fontforge xorg-x11-devel %else BuildRequires: PfaEdit XFree86-devel %endif %if "%(xft-config --prefix)" == "/usr" %define fontdir /usr/share/fonts/truetype %else %define fontdir /usr/X11R6/lib/X11/fonts/truetype %endif License: BSD 3-Clause; Public Domain, Freeware Group: System/X11/Fonts Provides: scalable-font-ja AutoReqProv: on PreReq: %suseconfig_fonts_prereq Provides: locale(ja) Version: 20040629 Release: 187 # http://wiki.fdiary.net/font/?sazanami Url: http://sourceforge.jp/projects/efont/files/ Source0: http://kyushu-u.dl.sourceforge.jp/efont/10087/sazanami-20040629.tar.bz2 Source1: fonts.scale.sazanami-fonts Source2: copy-uni3231 Patch0: license-translation.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Japanese "Sazanami" TrueType Fonts %description Japanese "Sazanami" TrueType Fonts Authors: -------- Kazuhiko <kazuhiko@fdiary.net> KANOU Hiroki <kanou@khdd.net> FURUKAWA yasuyuki <Furukawa.Yasuyuki@fujixerox.co.jp> %prep %setup -n sazanami-%{version} %patch0 -p1 %build # Copy U+3231 from Sazanami Gothic into Sazanami Mincho chmod 755 $RPM_SOURCE_DIR/copy-uni3231 %if %suse_version > 910 fontforge -script $RPM_SOURCE_DIR/copy-uni3231 %else pfaedit -script $RPM_SOURCE_DIR/copy-uni3231 %endif for i in README doc/ayu/README.txt doc/kappa/README doc/misaki/misakib8.txt doc/mplus/LICENSE_J doc/shinonome/LICENSE-en do iconv -f EUC-JP -t UTF-8 < $i > $i.UTF-8 mv $i.UTF-8 $i done for i in doc/oradano/README.txt do iconv -f SHIFT-JIS -t UTF-8 < $i > $i.UTF-8 mv $i.UTF-8 $i done %install mkdir -p $RPM_BUILD_ROOT%{fontdir}/ install -c -m 644 *.ttf $RPM_BUILD_ROOT%{fontdir} install -c -m 644 $RPM_SOURCE_DIR/fonts.scale.* $RPM_BUILD_ROOT%{fontdir} # these symlinks and the fonts.scale.sazanami-fonts are a hack # to make flash-player work with Japanese in SUSE Linux 10.1/SLES10/SLED10 # see Bugzilla #196191: pushd $RPM_BUILD_ROOT%{fontdir} ln -s sazanami-mincho.ttf smincho.ttf ln -s sazanami-gothic.ttf sgothic.ttf popd %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %post %run_suseconfig_fonts -c %postun %run_suseconfig_fonts -c %files %defattr(-, root,root) %doc README* %doc doc %dir %{fontdir} %{fontdir}/*.ttf %{fontdir}/fonts.scale.* %changelog * Thu Jan 18 2007 mfabian@suse.de - Bugzilla #82786: add U+3231 which is missing in "Sazanami Mincho" by copying the glyph from "Sazanami Gothic". * Wed Aug 16 2006 mfabian@suse.de - Bugzilla #196191: use a fonts.scale.sazanami-fonts and symbolic links to make flash-player find the sazanami-fonts. * Wed Aug 09 2006 mfabian@suse.de - move fonts to /usr/share/fonts/truetype (openSUSE 10.2 will use X11R7). * Wed Mar 01 2006 mfabian@suse.de - add "Provides: locale(ja)". * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Fri Dec 03 2004 mfabian@suse.de - use new macro "%%run_suseconfig_fonts -c" * Mon Sep 13 2004 mfabian@suse.de - Bugzilla #45156: add "Provides: scalable-font-ja". * Fri Aug 06 2004 mfabian@suse.de - add informal translation of licenses. * Tue Aug 03 2004 mfabian@suse.de - new package: version 20040629
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