diff options
Diffstat (limited to 'storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/packages/rpm/centos/groonga-normalizer-mysql.spec.in')
-rw-r--r-- | storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/packages/rpm/centos/groonga-normalizer-mysql.spec.in | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/packages/rpm/centos/groonga-normalizer-mysql.spec.in b/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/packages/rpm/centos/groonga-normalizer-mysql.spec.in new file mode 100644 index 00000000000..e51bae6990d --- /dev/null +++ b/storage/mroonga/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/packages/rpm/centos/groonga-normalizer-mysql.spec.in @@ -0,0 +1,78 @@ +%global _initddir %{_sysconfdir}/init.d/ + +Name: groonga-normalizer-mysql +Version: @VERSION@ +Release: 1%{?dist} +Summary: MySQL compatible normalizer plugin for groonga + +Group: Applications/Text +License: LGPLv2 +URL: http://groonga.org/ +Source0: http://packages.groonga.org/source/%{name}/%{name}-%{version}.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n) +BuildRequires: groonga-devel >= 3.0.3 +Requires: groonga-libs >= 3.0.3 + +%description +This package provides MySQL compatible normalizer plugin. +You can use NormalizerMySQLGeneralCI and NormalizerMySQLUnicodeCI as normalizer. + +%package devel +Summary: Development files for groonga-normalizer-mysql +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +This package provides development files for groonga-normalizer-mysql. + +%prep +%setup -q + + +%build +%configure \ + --disable-static +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make %{?_smp_mflags} + +%install +make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" +rm $RPM_BUILD_ROOT%{_libdir}/groonga/plugins/*/*.la + +%files +%doc README AUTHORS COPYING +%dir %{_libdir}/groonga +%dir %{_libdir}/groonga/plugins +%dir %{_libdir}/groonga/plugins/normalizers +%{_libdir}/groonga/plugins/normalizers/mysql.so +%{_datadir}/doc/groonga-normalizer-mysql/ + +%files devel +%{_libdir}/pkgconfig/groonga-normalizer-mysql.pc + +%changelog +* Sun Feb 09 2014 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.6-1 +- new upstream release. + +* Sat Jun 29 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.5-1 +- new upstream release. + +* Wed May 29 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.4-1 +- new upstream release. + +* Mon Apr 29 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.3-0 +- new upstream release. +- Reduce required packages. groonga-libs is only required. +- Require groonga 3.0.3 or later. +- Split development files into -devel package. + +* Fri Mar 29 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.2-0 +- new upstream release. + +* Thu Feb 28 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.1-0 +- new upstream release + +* Tue Jan 29 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.0-0 +- initial packaging for CentOS |