source: projects/specs/trunk/o/open_jtalk/open_jtalk-vl.spec @ 10412

Revision 10412, 2.0 KB checked in by ara_t, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1%define pkg_name    open_jtalk
2%define pkg_version 1.09
3%define pkg_release 3%{?_dist_release}
4
5Summary:     Japanese text-to-speech synthesis system
6Summary(ja): 日本語テキスト音声合成システム
7Name:        %{pkg_name}
8Version:     %{pkg_version}
9Release:     %{pkg_release}
10
11License: Modified BSD license
12Group:   Applications/Multimedia
13URL:     https://osdn.jp/projects/sfnet_open-jtalk/
14Source0: %{name}-%{version}.tar.gz
15patch1:  jpcommon_label.c.patch
16patch2:  open_jtalk.c.patch
17
18BuildRoot:     %{_tmppath}/%{name}-%{version}-root
19BuildRequires: hts_engine_API-devel-static
20Requires:      hts_voice
21
22Vendor:       Project Vine
23Distribution: Vine Linux
24Packager:     ara_t
25
26
27%description
28The Open JTalk is a Japanese TTS System.
29
30%description -l ja
31Open JTalk は、修正BSDライセンスの元で配布されている
32日本語テキスト音声合成システムです。
33Open JTalk は、オープンソースの形態素解析エンジンの
34MeCab(和布蕪、めかぶ)、奈良先端大学を中心にして開発された
35形態素解析用辞書のnaist-jdic、
36隠れマルコフモデル(HMM)に基づく音声合成エンジンhts_engineを
37用いています。
38
39
40%prep
41%{__rm} -rf ${RPM_BUILD_ROOT}
42%setup -q
43%patch1 -p1
44%patch2 -p1
45
46%{configure} --with-charset=UTF-8 \
47             --with-hts-engine-header-path=%{_includedir} \
48             --with-hts-engine-library-path=%{_libdir}
49
50%build
51%{__make} %{?_smp_mflags}
52
53%install
54%{make_install}
55%{__mkdir_p} ${RPM_BUILD_ROOT}%{_datadir}/open_jtalk
56%{__cp} ${RPM_BUILD_ROOT}%{_prefix}/dic/* \
57        ${RPM_BUILD_ROOT}%{_datadir}/open_jtalk
58%{__rm} -rf ${RPM_BUILD_ROOT}%{_prefix}/dic
59
60%clean
61%{__rm} -rf ${RPM_BUILD_ROOT}
62
63
64%files
65%defattr(-, root, root)
66%{_bindir}/
67%{_datadir}/open_jtalk/
68
69
70%changelog
71* Tue Jun 28 2016 Toshiaki Ara <ara_t@384.jp> 1.09-2
72- rebuild with gcc-5.4.0
73
74* Sun Apr 10 2016 Toshiaki Ara <ara_t@384.jp> 1.09-2
75- correct SPEC file
76
77* Mon Dec 28 2015 Toshiaki Ara <ara_t@384.jp> 1.09-1
78- update to 1.09
79
80* Thu Oct 01 2015 Toshiaki Ara <ara_t@384.jp> 1.08-1
81- new package
Note: See TracBrowser for help on using the repository browser.