groonga-normalizer-mysql-vl.spec 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. %global __provides_exclude_from ^%{_libdir}/groonga/plugins/normalizers/mysql\\.so$
  2. Name: groonga-normalizer-mysql
  3. Version: 1.0.5
  4. Release: 2%{?_dist_release}
  5. Summary: MySQL compatible normalizer plugin for groonga
  6. Group: Applications/Text
  7. License: LGPLv2
  8. URL: http://groonga.org/
  9. Source0: http://packages.groonga.org/source/%{name}/%{name}-%{version}.tar.gz
  10. BuildRequires: groonga-devel >= 3.0.3
  11. Requires: groonga-libs >= 3.0.3
  12. ExclusiveArch: %{ix86} x86_64
  13. %description
  14. This package provides MySQL compatible normalizer plugin.
  15. You can use NormalizerMySQLGeneralCI and NormalizerMySQLUnicodeCI as normalizer.
  16. %package devel
  17. Summary: Development files for groonga-normalizer-mysql
  18. Group: Development/Libraries
  19. Requires: %{name} = %{version}-%{release}
  20. %description devel
  21. This package provides development files for groonga-normalizer-mysql.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure \
  26. --disable-static
  27. sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
  28. sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
  29. make %{?_smp_mflags}
  30. %install
  31. make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
  32. rm $RPM_BUILD_ROOT%{_libdir}/groonga/plugins/*/*.la
  33. %files
  34. %doc README AUTHORS COPYING
  35. %dir %{_libdir}/groonga
  36. %dir %{_libdir}/groonga/plugins
  37. %dir %{_libdir}/groonga/plugins/normalizers
  38. %{_libdir}/groonga/plugins/normalizers/mysql.so
  39. %{_datadir}/doc/groonga-normalizer-mysql/
  40. %files devel
  41. %{_libdir}/pkgconfig/groonga-normalizer-mysql.pc
  42. %changelog
  43. * Tue Dec 17 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.0.5-2
  44. - initial build for Vine Linux.
  45. * Sat Jun 29 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.5-1
  46. - new upstream release.
  47. * Wed May 29 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.4-1
  48. - new upstream release.
  49. * Mon Apr 29 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.3-1
  50. - new upstream release.
  51. - Reduce required packages. groonga-libs is only required.
  52. - Require groonga 3.0.3 or later.
  53. - Split development files into -devel package.
  54. * Fri Mar 29 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.2-0
  55. - new upstream release.
  56. * Thu Feb 28 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.1-1
  57. - new upstream release
  58. * Tue Jan 29 2013 HAYASHI Kentaro <hayashi@clear-code.com> - 1.0.0-1
  59. - initial packaging for Fedora