1 | Summary: A C++ port of Lucene |
---|
2 | Name: clucene-core |
---|
3 | Version: 0.9.21b |
---|
4 | Release: 2%{?_dist_release} |
---|
5 | License: LGPL |
---|
6 | Group: System Environment/Libraries |
---|
7 | Source: %{name}-%{version}.tar.bz2 |
---|
8 | URL: http://sourceforge.net/projects/clucene |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildRequires: doxygen |
---|
12 | |
---|
13 | %description |
---|
14 | CLucene is a C++ port of Lucene. |
---|
15 | It is a high-performance, full-featured text search |
---|
16 | engine written in C++. CLucene is faster than lucene |
---|
17 | as it is written in C++. |
---|
18 | |
---|
19 | %package devel |
---|
20 | Summary: Headers for developing programs that will use %{name} |
---|
21 | Group: Development/Libraries |
---|
22 | Requires: %{name} = %{version}-%{release} |
---|
23 | |
---|
24 | %description devel |
---|
25 | This package contains header files needed for developing with clucene |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q |
---|
29 | |
---|
30 | %build |
---|
31 | %configure --disable-static |
---|
32 | make |
---|
33 | make doxygen |
---|
34 | |
---|
35 | %install |
---|
36 | rm -rf $RPM_BUILD_ROOT |
---|
37 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
38 | |
---|
39 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
40 | |
---|
41 | %clean |
---|
42 | rm -rf $RPM_BUILD_ROOT |
---|
43 | |
---|
44 | %check |
---|
45 | make check |
---|
46 | |
---|
47 | %post -p /sbin/ldconfig |
---|
48 | |
---|
49 | %postun -p /sbin/ldconfig |
---|
50 | |
---|
51 | %files |
---|
52 | %defattr(-,root,root) |
---|
53 | %doc AUTHORS COPYING ChangeLog README |
---|
54 | %{_libdir}/*.so.* |
---|
55 | |
---|
56 | %files devel |
---|
57 | %defattr(-,root,root) |
---|
58 | %doc doc/html/* |
---|
59 | %{_includedir}/CLucene.h |
---|
60 | %{_includedir}/CLucene |
---|
61 | %{_libdir}/CLucene/clucene-config.h |
---|
62 | %{_libdir}/*.so |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.21b-2 |
---|
66 | - run make check at %%check |
---|
67 | |
---|
68 | * Tue Dec 9 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.21b-1 |
---|
69 | - new upstream release |
---|
70 | |
---|
71 | * Sat Mar 29 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.20-1 |
---|
72 | - fix release |
---|
73 | |
---|
74 | * Mon Nov 19 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.20-0vl2 |
---|
75 | - stop moving clucene-config.h from %%{_libdir}/CLucene |
---|
76 | |
---|
77 | * Thu Oct 11 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.20-0vl1 |
---|
78 | - new upstream release |
---|
79 | |
---|
80 | * Sat Jul 28 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.19-0vl1 |
---|
81 | - new upstream release |
---|
82 | |
---|
83 | * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.9.16a-0vl1 |
---|
84 | - initial release |
---|