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