]> git.pld-linux.org Git - SPECS.git/blob - prime.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / prime.spec
1 Summary:        PRIME - a Japanese PRedictive Input Method Editor
2 Summary(pl.UTF-8):      PRIME - edytor przewidującej metody wprowadzania tekstu japońskiego
3 Name:           prime
4 Version:        1.0.0.1
5 Release:        7
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://prime.sourceforge.jp/src/%{name}-%{version}.tar.gz
9 # Source0-md5:  c3bb6df8590986104e41c23330d90aef
10 URL:            http://taiyaki.org/prime/
11 BuildRequires:  rpmbuild(macros) >= 1.484
12 BuildRequires:  ruby >= 1:1.8.6
13 BuildRequires:  ruby-modules
14 BuildRequires:  sed >= 4.0
15 %{?ruby_mod_ver_requires_eq}
16 Requires:       ruby
17 Requires:       ruby-sary
18 Requires:       ruby-progressbar 
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 # nothing to be placed there. we're not noarch only because of ruby packaging
22 %define         _enable_debug_packages  0
23
24 %description
25 PRIME predicts user's input words using the knowledge of natural
26 language and the history of user's operations, and reduces the
27 cost of typing by the user. For example, if a user wants to input
28 "application" and types "ap" as the beginning characters of the word,
29 PRIME might predict some candidate words like "apple", "application",
30 "appointment", etc... And then the user can input "application"
31 easily by selecting the word from the candidate words by PRIME.
32
33 %description -l pl.UTF-8
34 PRIME (PRedictive Input Method Editor) przewiduje słowa wprowadzane
35 przez użytkownika, wykorzystując znajomość języka naturalnego oraz
36 historię operacji użytkownika; zmniejsza przy tym koszt pisania przez
37 użytkownika. Na przykład, jeśli użytkownik chce wprowadzić słowo
38 "aplikacja" i napisze "ap" jako początkowe znaki słowa, PRIME może
39 przewidzieć pasujące słowa, takie jak "aparycja", "aplikacja",
40 "aprobata" itp. Następnie użytkownik może łatwo wprowadzić słowo
41 "aplikacja" wybierając słowo z proponowanych przez PRIME.
42
43 %prep
44 %setup -q
45
46 %{__sed} -i -e 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|g' src/*.src
47
48 %build
49 %configure \
50         --with-rubydir=%{ruby_rubylibdir}
51
52 %{__make} -j1
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install install-etc \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %{__rm} -rf prime-docs
61 mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name} prime-docs
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog README TODO prime-docs/*
69 %dir %{_sysconfdir}/%{name}
70 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/Custom_prime.rb
71 %attr(755,root,root) %{_bindir}/prime
72 %attr(755,root,root) %{_bindir}/prime-dict-convert
73 %attr(755,root,root) %{_bindir}/prime-dict-index
74 %attr(755,root,root) %{_bindir}/prime-refresh
75 %attr(755,root,root) %{_bindir}/prime-userdict-convert
76 %attr(755,root,root) %{_bindir}/prime-userdict-update
77 %{ruby_rubylibdir}/%{name}
78 %{_datadir}/%{name}
79 %{_pkgconfigdir}/prime.pc
This page took 0.36839 seconds and 3 git commands to generate.