source: projects/specs/trunk/p/prime/prime-vl.spec @ 521

Revision 521, 1.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define name      prime
2%define version   1.0.0.1
3%define release   1%{?_dist_release}
4
5Summary:      a Japanese PRedictive Input Method Editor
6Summary(ja):  日本語予測入力システム
7Name:         %{name}
8Version:      %{version}
9Release:      %{release}
10URL:          http://sourceforge.jp/projects/prime/
11Source0:      %{name}-%{version}.tar.bz2
12Group:        Applications/System
13BuildRoot:    %{_tmppath}/%{name}-%{version}-root
14License:      GPL
15Requires:        prime-dict
16Requires:        suikyo
17Requires:        ruby-progressbar
18Requires:        ruby-sary >= 1.2.0
19BuildRequires:   ruby
20
21%description
22PRIME is Japanese PRedictive Input Method Editor.
23
24%description -l ja
25PRIME は日本語予測入力システムです.
26
27
28%prep
29%setup -q
30
31%build
32[[ ! -x configure ]] && ./autogen.sh
33
34%configure --with-rubydir=%{rlibdir}
35# parallel build is broken:
36#% {__make} %{?_smp_mflags}
37%{__make}
38
39%install
40rm -rf $RPM_BUILD_ROOT
41%{__make} install DESTDIR=${RPM_BUILD_ROOT}
42
43mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/prime
44cp -f etc/Custom_prime.rb $RPM_BUILD_ROOT/%{_sysconfdir}/prime/
45
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%post -p /sbin/ldconfig
51%postun -p /sbin/ldconfig
52
53
54%files
55%defattr(-,root,root)
56%doc ChangeLog COPYING README TODO
57%{_sysconfdir}/*
58%{_datadir}/%{name}
59%{_datadir}/doc/%{name}/
60%{_bindir}/*
61%{_libdir}/*
62
63
64%changelog
65* Sat Nov 01 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0.1-1
66- initial build for VineSeed
67
68* Sat Mar 29 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.0.0.1-1vl5
69- initial build for VineSeed
70
71### end of file
Note: See TracBrowser for help on using the repository browser.