forked from groonga/groonga
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgroonga.spec.in
55 lines (44 loc) · 1017 Bytes
/
groonga.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
%define version @VERSION@
%define release 1
Summary: An Embeddable Fulltext Search Engine
Name: groonga
Version: %{version}
Release: %{release}
License: LGPL
Group: local
Packager: Brazil Ltd. <groonga@razil.jp>
Source: %{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}
Requires: mecab >= 0.80
%description
An Embeddable Fulltext Search Engine.
%package devel
Summary: Libraries and header files for groonga
Group: Development/Libraries
%description devel
Libraries and header files for groonga
%prep
%setup -q
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CXXFLAGS="$RPM_OPT_FLAGS"
%configure
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
%makeinstall
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc README AUTHORS COPYING doc/*
%{_libdir}/*.so.*
%{_bindir}/*
%files devel
%defattr(-, root, root)
%{_includedir}/groonga/*
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/*.la