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