]> git.pld-linux.org Git - packages/clucene-core.git/blob - clucene-core.spec
- release 3 for rebuild with new libltdl.
[packages/clucene-core.git] / clucene-core.spec
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.20
5 Release:        3
6 License:        LGPL or Apache v2.0
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/clucene/%{name}-%{version}.tar.bz2
9 # Source0-md5:  da62da5d23b17fec67f0175481a603b8
10 URL:            http://clucene.sourceforge.net/
11 BuildRequires:  autoconf >= 2.57
12 BuildRequires:  automake
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  libtool >= 2:1.5
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}
30 Requires:       libstdc++-devel
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 COPYING ChangeLog NEWS README
77 %attr(755,root,root) %{_libdir}/libclucene.so.*.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libclucene.so.0
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libclucene.so
83 %{_libdir}/libclucene.la
84 %{_includedir}/CLucene.h
85 %{_includedir}/CLucene
86 %{_libdir}/CLucene
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/libclucene.a
This page took 0.036496 seconds and 3 git commands to generate.