packages: prime/prime.spec (NEW) - initial revision

baggins baggins at pld-linux.org
Wed Jul 13 23:18:46 CEST 2011


Author: baggins                      Date: Wed Jul 13 21:18:46 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
packages/prime:
   prime.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/prime/prime.spec
diff -u /dev/null packages/prime/prime.spec:1.1
--- /dev/null	Wed Jul 13 23:18:46 2011
+++ packages/prime/prime.spec	Wed Jul 13 23:18:41 2011
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+Summary:	PRIME - a Japanese PRedictive Input Method Editor
+#Summary(pl.UTF-8):	-
+Name:		prime
+Version:	1.0.0.1
+Release:	1
+License:	GPL
+Group:		Libraries
+Source0:	http://prime.sourceforge.jp/src/%{name}-%{version}.tar.gz
+# Source0-md5:	c3bb6df8590986104e41c23330d90aef
+URL:		http://taiyaki.org/prime/
+BuildRequires:	sed >= 4.0
+BuildRequires:	rpmbuild(macros) >= 1.484
+BuildRequires:	ruby >= 1:1.8.6
+BuildRequires:	ruby-modules
+%{?ruby_mod_ver_requires_eq}
+Requires:	ruby
+Requires:	ruby-sary
+Requires:	ruby-progressbar 
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+# nothing to be placed there. we're not noarch only because of ruby packaging
+%define		_enable_debug_packages	0
+
+%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.
+
+#%description -l pl.UTF-8
+
+%prep
+%setup -q
+
+%{__sed} -i -e 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|g' src/*.src
+
+%build
+%configure \
+	--with-rubydir=%{ruby_rubylibdir}
+
+%{__make} -j1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install install-etc \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} -rf prime-docs
+mv $RPM_BUILD_ROOT%{_datadir}/doc/%{name} prime-docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO prime-docs/*
+%dir %{_sysconfdir}/%{name}
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/*
+%attr(755,root,root) %{_bindir}/*
+%{ruby_rubylibdir}/%{name}
+%{_datadir}/%{name}
+%{_pkgconfigdir}/prime.pc
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/07/13 21:18:41  baggins
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list