From 15b10dad48bc4cae36b618bfb6066e2aba1f7810 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 10:30:46 +0100 Subject: [PATCH] automatic rebuild by autodist [release 0.8.6.1-2mamba;Mon Aug 19 2013] --- README.md | 8 ++++ prime.spec | 123 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 131 insertions(+) create mode 100644 prime.spec diff --git a/README.md b/README.md index 13c51d6..aa8fc50 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # prime +PRIME predicts user's input words using the knowledge of natural +language and the history of user's operations, and reduces the +cost of typing by the user. For example, if a user wants to input +"application" and types "ap" as the beginning characters of the word, +PRIME might predict some candidate words like "apple", "application", +"appointment", etc... And then the user can input "application" +easily by selecting the word from the candidate words by PRIME. + diff --git a/prime.spec b/prime.spec new file mode 100644 index 0000000..b4dacf4 --- /dev/null +++ b/prime.spec @@ -0,0 +1,123 @@ +%define ruby_libdir %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") +%define libname lib%{name} +Name: prime +Version: 0.8.6.1 +Release: 2mamba +Summary: PRIME is Japanese PRedictive Input Method Editor +Group: System/Internationalization +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://sourceforge.jp/projects/prime/ +Source: http://sourceforge.jp/projects/prime/downloads/13369/prime-%{version}.tar.gz +License: GPL +Requires: ruby +Requires: ruby-sary +Requires: ruby-progressbar +Requires: suikyo +## AUTOBUILDREQ-BEGIN +BuildRequires: ruby-devel +BuildRequires: ruby-progressbar +BuildRequires: ruby-sary +BuildRequires: suikyo +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +PRIME predicts user's input words using the knowledge of natural +language and the history of user's operations, and reduces the +cost of typing by the user. For example, if a user wants to input +"application" and types "ap" as the beginning characters of the word, +PRIME might predict some candidate words like "apple", "application", +"appointment", etc... And then the user can input "application" +easily by selecting the word from the candidate words by PRIME. + +%package -n %{libname} +Summary: Prime library +Group: System/Internationalization +Provides: %{libname} = %{version}-%{release} + +%description -n %{libname} +PRIME is Japanese PRedictive Input Method Editor + Prime library. + +%prep + +%setup -q + +%build +[[ ! -x configure ]] && ./autogen.sh +%configure +# parallel build is broken: +make +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall DESTDIR=%{buildroot} rubydir=%{ruby_libdir} +mkdir -p %{buildroot}%{_sysconfdir}/prime +cp -f etc/Custom_prime.rb %{buildroot}%{_sysconfdir}/prime/ + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%dir %{_sysconfdir}/prime +%{_sysconfdir}/prime/Custom_prime.rb +%{_bindir}/prime +%{_bindir}/prime-dict-convert +%{_bindir}/prime-dict-index +%{_bindir}/prime-refresh +%{_bindir}/prime-userdict-convert +%{_bindir}/prime-userdict-update +%dir %{_datadir}/prime/grammar +%{_datadir}/prime/grammar/prime-grammar +%dir %{_datadir}/prime/makedict +%{_datadir}/prime/makedict/canna2prime.table +%dir %{_docdir}/prime +%doc %{_docdir}/prime/*.html +%dir %{_docdir}/prime/examples +%doc %{_docdir}/prime/examples/Custom_prime.rb +%dir %{_docdir}/prime/figures +%doc %{_docdir}/prime/figures/*.png +%doc ChangeLog COPYING README TODO + +%files -n %{libname} +%defattr(-,root,root) +%{_libdir}/pkgconfig/prime.pc +%dir %{ruby_libdir}/prime +%{ruby_libdir}/prime/prime-config.rb +%{ruby_libdir}/prime/prime-japanese.rb +%{ruby_libdir}/prime/prime-mixed.rb +%{ruby_libdir}/prime/prime.rb +%{ruby_libdir}/prime/server.rb +%{ruby_libdir}/prime/session.rb +%{ruby_libdir}/prime/taiyaki.rb +%dir %{ruby_libdir}/prime/engine +%{ruby_libdir}/prime/engine/engine-alphabet.rb +%{ruby_libdir}/prime/engine/engine-basic.rb +%{ruby_libdir}/prime/engine/engine-number.rb +%{ruby_libdir}/prime/engine/engine-personaldict.rb +%{ruby_libdir}/prime/engine/engine-sary.rb +%{ruby_libdir}/prime/engine/engine-userdict.rb +%{ruby_libdir}/prime/engine/engine.rb +%dir %{ruby_libdir}/prime/grammar +%{ruby_libdir}/prime/grammar/grammar.rb +%dir %{ruby_libdir}/prime/makedict +%{ruby_libdir}/prime/makedict/basicdict.rb +%{ruby_libdir}/prime/makedict/dictformat-cannadic.rb +%{ruby_libdir}/prime/makedict/dictformat-pubdic.rb +%{ruby_libdir}/prime/makedict/dictformat-skkdic.rb +%{ruby_libdir}/prime/makedict/dictformat.rb +%{ruby_libdir}/prime/makedict/prime-sary.rb +%{ruby_libdir}/prime/makedict/userdict.rb +%doc COPYING + +%changelog +* Mon Aug 19 2013 Automatic Build System 0.8.6.1-2mamba +- automatic rebuild by autodist + +* Fri Jul 25 2008 gil 0.8.6.1-1mamba +- package created by autospec