1 # TODO: 0.9.x branch is quite old, build Java Lucene 2.3.2 compatable unstable branch
2 Summary: An indexing and searching API
3 Summary(pl.UTF-8): API do indeksowania i wyszukiwania
7 License: LGPL or Apache v2.0
9 Source0: http://downloads.sourceforge.net/clucene/clucene-core-stable/%{version}/%{name}-%{version}.tar.bz2
10 # Source0-md5: ba1a8f764a2ca19c66ad907dddd88352
11 URL: http://clucene.sourceforge.net/
12 BuildRequires: autoconf >= 2.57
13 BuildRequires: automake
14 BuildRequires: libstdc++-devel
15 BuildRequires: libtool >= 2:1.5
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 CLucene is a C++ port of Lucene. It is a high-performance,
20 full-featured text search engine written in C++.
22 %description -l pl.UTF-8
23 CLucene jest portem Lucene na C++. Jest to wysokowydajny silnik do
24 wyszukiwania tekstu napisany w C++.
27 Summary: Header files for CLucene library
28 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CLucene
29 Group: Development/Libraries
30 Requires: %{name} = %{version}-%{release}
31 Requires: libstdc++-devel
34 Header files for CLucene library.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki CLucene.
40 Summary: Static CLucene library
41 Summary(pl.UTF-8): Statyczna biblioteka CLucene
42 Group: Development/Libraries
43 Requires: %{name}-devel = %{version}-%{release}
46 Static CLucene library.
48 %description static -l pl.UTF-8
49 Statyczna biblioteka CLucene.
64 rm -rf $RPM_BUILD_ROOT
67 DESTDIR=$RPM_BUILD_ROOT
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
76 %defattr(644,root,root,755)
77 %doc AUTHORS COPYING ChangeLog NEWS README
78 %attr(755,root,root) %{_libdir}/libclucene.so.*.*.*
79 %attr(755,root,root) %ghost %{_libdir}/libclucene.so.0
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/libclucene.so
84 %{_libdir}/libclucene.la
85 %{_includedir}/CLucene.h
86 %{_includedir}/CLucene
90 %defattr(644,root,root,755)
91 %{_libdir}/libclucene.a