[Groonga-commit] groonga/groonga [master] create groonga-plugin-suggest package.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 1月 25日 (火) 00:11:20 JST


Kouhei Sutou	2011-01-24 15:11:20 +0000 (Mon, 24 Jan 2011)

  New Revision: 6d1885b68adf648289574e97e3c5843508c15257

  Log:
    create groonga-plugin-suggest package.

  Modified files:
    rpm/centos/groonga.spec.in
    rpm/fedora/groonga.spec.in

  Modified: rpm/centos/groonga.spec.in (+22 -3)
===================================================================
--- rpm/centos/groonga.spec.in    2011-01-24 14:07:10 +0000 (a9cc32f)
+++ rpm/centos/groonga.spec.in    2011-01-24 15:11:20 +0000 (6b6f42d)
@@ -12,6 +12,9 @@ Source0:	http://groonga.org/files/groonga/groonga-@VERSION@.tar.gz
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
 BuildRequires:	mecab-devel
+#BuildRequires:	messagepack-devel
+#BuildRequires:	zeromq-devel
+#BuildRequires:	libevent-devel
 Requires:	%{name}-libs = %{version}-%{release}
 Requires(pre):	shadow-utils
 Requires(post):	/sbin/chkconfig
@@ -61,6 +64,17 @@ Requires:	mecab
 %description tokenizer-mecab
 MeCab tokenizer for groonga
 
+%package plugin-suggest
+Summary:	Suggest plugin for groonga
+Group:		Applications/Text
+Requires:	%{name}-libs = %{version}-%{release}
+#Requires:	messagepack
+#Requires:	zeromq
+#Requires:	libevent
+
+%description plugin-suggest
+Sugget plugin for groonga
+
 %package munin-plugins
 Summary:	Munin plugins for groonga
 Group:		Applications/System
@@ -167,7 +181,8 @@ fi
 %{_datadir}/man/man1/*
 %config(noreplace) %{_sysconfdir}/groonga/
 %config(noreplace) %{_sysconfdir}/sysconfig/groonga
-%{_bindir}/*
+%{_bindir}/groonga
+%{_bindir}/grntest
 %{_initddir}/*
 %ghost %dir %{_localstatedir}/run/%{name}
 %attr(0755,groonga,groonga) %dir %{_localstatedir}/lib/%{name}
@@ -179,8 +194,6 @@ fi
 %{_libdir}/*.so.*
 %dir %{_libdir}/groonga
 %dir %{_libdir}/groonga/plugins
-%dir %{_libdir}/groonga/plugins/suggest
-%{_libdir}/groonga/plugins/suggest/*.so
 %dir %{_libdir}/groonga/plugins/tokenizers
 %dir %{_datadir}/groonga
 %{_datadir}/groonga/
@@ -195,6 +208,12 @@ fi
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/groonga*.pc
 
+%files plugin-suggest
+%defattr(-,root,root,-)
+%{_bindir}/groonga-suggest-*
+%dir %{_libdir}/groonga/plugins
+%{_libdir}/groonga/plugins/suggest/suggest.so
+
 %files tokenizer-mecab
 %defattr(-,root,root,-)
 %{_libdir}/groonga/plugins/tokenizers/mecab.so

  Modified: rpm/fedora/groonga.spec.in (+22 -3)
===================================================================
--- rpm/fedora/groonga.spec.in    2011-01-24 14:07:10 +0000 (c321390)
+++ rpm/fedora/groonga.spec.in    2011-01-24 15:11:20 +0000 (f4b9d7b)
@@ -11,6 +11,9 @@ URL:		http://groonga.org/
 Source0:	http://groonga.org/files/groonga/groonga-%{version}.tar.gz
 
 BuildRequires:	mecab-devel
+#BuildRequires:	messagepack-devel
+BuildRequires:	zeromq-devel
+BuildRequires:	libevent-devel
 BuildRequires:	python2-devel
 BuildRequires:	php-devel
 Requires:	%{name}-libs = %{version}-%{release}
@@ -62,6 +65,17 @@ Requires:	mecab
 %description tokenizer-mecab
 MeCab tokenizer for groonga
 
+%package plugin-suggest
+Summary:	Suggest plugin for groonga
+Group:		Applications/Text
+Requires:	%{name}-libs = %{version}-%{release}
+#Requires:	messagepack
+Requires:	zeromq
+Requires:	libevent
+
+%description plugin-suggest
+Sugget plugin for groonga
+
 %package munin-plugins
 Summary:	Munin plugins for groonga
 Group:		Applications/System
@@ -212,7 +226,8 @@ fi
 %{_datadir}/man/man1/*
 %config(noreplace) %{_sysconfdir}/groonga/
 %config(noreplace) %{_sysconfdir}/sysconfig/groonga
-%{_bindir}/*
+%{_bindir}/groonga
+%{_bindir}/grntest
 %{_initddir}/*
 %ghost %dir %{_localstatedir}/run/%{name}
 %attr(0755,groonga,groonga) %dir %{_localstatedir}/lib/%{name}
@@ -224,8 +239,6 @@ fi
 %{_libdir}/*.so.*
 %dir %{_libdir}/groonga
 %dir %{_libdir}/groonga/plugins
-%dir %{_libdir}/groonga/plugins/suggest
-%{_libdir}/groonga/plugins/suggest/*.so
 %dir %{_libdir}/groonga/plugins/tokenizers
 %dir %{_datadir}/groonga
 %{_datadir}/groonga/
@@ -244,6 +257,12 @@ fi
 %defattr(-,root,root,-)
 %{_libdir}/groonga/plugins/tokenizers/mecab.so
 
+%files plugin-suggest
+%defattr(-,root,root,-)
+%{_bindir}/groonga-suggest-*
+%dir %{_libdir}/groonga/plugins
+%{_libdir}/groonga/plugins/suggest/suggest.so
+
 %files munin-plugins
 %defattr(-,root,root,-)
 %{_datadir}/munin/plugins/*




Groonga-commit メーリングリストの案内
Back to archive index