Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
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) 2010 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 BuildRequires: fontforge %define fontdir /usr/share/fonts/truetype License: BSD3c ; Public Domain, Freeware Group: System/X11/Fonts Provides: scalable-font-ja AutoReqProv: on PreReq: %suseconfig_fonts_prereq Provides: locale(ja) Version: 20040629 Release: 188 # 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 fontforge -lang=ff -script $RPM_SOURCE_DIR/copy-uni3231 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 %{fontdir} %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