Build error at creating fonts packages in OBS

Satoru Matsumoto <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
Hi,

Recently, I found a fancy Japanese truetype fonts called Konatu, which
is adjusted to be compatible with MS P Gothic and distributed under
Creative Commons Attribution-Share Alike 3.0 License.

http://www.masuseki.com/index.php?u=be/konatu.htm

So, I tried to build packages of this fonts in M17N/Devel repo on OBS.

https://build.opensuse.org/package/show?package=Konatu&project=M17N%3ADevel

I wrote a spec file by referring to that of monapo which is in M17N
repo, but I got an error and couldn't build the packages.

Error Message:

[snip]

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.3672
+ umask 022
+ cd /usr/src/packages/BUILD
+ mkdir -p /var/tmp/Konatu-25-build/usr/share/fonts/truetype
+ install -m 644 Konatu.ttf
/var/tmp/Konatu-25-build/usr/share/fonts/truetype
install: cannot stat `Konatu.ttf': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.3672 (%install)

[snip]

...

The %install section of the spec file:

%install
mkdir -p $RPM_BUILD_ROOT%{fontdir}
install -m 644 Konatu.ttf $RPM_BUILD_ROOT%{fontdir}
install -m 644 KonatuTohaba.ttf $RPM_BUILD_ROOT%{fontdir}


How can I fix this problem ?

Best,

-- 
_/_/     Satoru Matsumoto - openSUSE Member - Japan _/_/
_/_/  Marketing/Weekly News/openFATE Screening Team _/_/
_/_/ mail: helios_reds_at_gmx.net / irc: HeliosReds _/_/
_/_/         http://blog.geeko.jp/author/heliosreds _/_/
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.