]>
Commit | Line | Data |
---|---|---|
2458afe2 | 1 | # TODO: 0.9.x branch is quite old, build Java Lucene 2.3.2 compatable unstable branch |
bc0dc01e | 2 | Summary: An indexing and searching API |
3 | Summary(pl.UTF-8): API do indeksowania i wyszukiwania | |
4 | Name: clucene-core | |
286b269d | 5 | Version: 0.9.21b |
b46ffd40 | 6 | Release: 1 |
afd2cbc5 | 7 | License: LGPL or Apache v2.0 |
bc0dc01e | 8 | Group: Libraries |
2458afe2 | 9 | Source0: http://downloads.sourceforge.net/clucene/clucene-core-stable/%{version}/%{name}-%{version}.tar.bz2 |
286b269d | 10 | # Source0-md5: ba1a8f764a2ca19c66ad907dddd88352 |
bc0dc01e | 11 | URL: http://clucene.sourceforge.net/ |
225c4cb8 | 12 | BuildRequires: autoconf >= 2.57 |
bc0dc01e | 13 | BuildRequires: automake |
225c4cb8 JB |
14 | BuildRequires: libstdc++-devel |
15 | BuildRequires: libtool >= 2:1.5 | |
bc0dc01e | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | CLucene is a C++ port of Lucene. It is a high-performance, | |
20 | full-featured text search engine written in C++. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | CLucene jest portem Lucene na C++. Jest to wysokowydajny silnik do | |
24 | wyszukiwania tekstu napisany w C++. | |
25 | ||
26 | %package devel | |
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} | |
225c4cb8 | 31 | Requires: libstdc++-devel |
bc0dc01e | 32 | |
33 | %description devel | |
34 | Header files for CLucene library. | |
35 | ||
36 | %description devel -l pl.UTF-8 | |
37 | Pliki nagłówkowe biblioteki CLucene. | |
38 | ||
39 | %package static | |
40 | Summary: Static CLucene library | |
41 | Summary(pl.UTF-8): Statyczna biblioteka CLucene | |
42 | Group: Development/Libraries | |
43 | Requires: %{name}-devel = %{version}-%{release} | |
44 | ||
45 | %description static | |
46 | Static CLucene library. | |
47 | ||
48 | %description static -l pl.UTF-8 | |
49 | Statyczna biblioteka CLucene. | |
50 | ||
51 | %prep | |
52 | %setup -q | |
53 | ||
54 | %build | |
55 | %{__libtoolize} | |
56 | %{__aclocal} -I m4 | |
57 | %{__autoconf} | |
58 | %{__autoheader} | |
59 | %{__automake} | |
60 | %configure | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
afd2cbc5 | 77 | %doc AUTHORS COPYING ChangeLog NEWS README |
ca0ed662 JB |
78 | %attr(755,root,root) %{_libdir}/libclucene.so.*.*.* |
79 | %attr(755,root,root) %ghost %{_libdir}/libclucene.so.0 | |
bc0dc01e | 80 | |
81 | %files devel | |
82 | %defattr(644,root,root,755) | |
ca0ed662 JB |
83 | %attr(755,root,root) %{_libdir}/libclucene.so |
84 | %{_libdir}/libclucene.la | |
bc0dc01e | 85 | %{_includedir}/CLucene.h |
86 | %{_includedir}/CLucene | |
87 | %{_libdir}/CLucene | |
88 | ||
89 | %files static | |
90 | %defattr(644,root,root,755) | |
ca0ed662 | 91 | %{_libdir}/libclucene.a |