]> git.pld-linux.org Git - packages/clucene-core.git/blob - clucene-core.spec
- initial revision
[packages/clucene-core.git] / clucene-core.spec
1 #
2 Summary:        An indexing and searching API
3 Summary(pl.UTF-8):      API do indeksowania i wyszukiwania
4 Name:           clucene-core
5 Version:        0.9.16a
6 Release:        1
7 License:        LGPL/Apache
8 Group:          Libraries
9 Source0:        http://dl.sourceforge.net/clucene/%{name}-%{version}.tar.bz2
10 # Source0-md5:  0ed4f537321065c68ed802be67b25b10
11 URL:            http://clucene.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
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
31 %description devel
32 Header files for CLucene library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki CLucene.
36
37 %package static
38 Summary:        Static CLucene library
39 Summary(pl.UTF-8):      Statyczna biblioteka CLucene
40 Group:          Development/Libraries
41 Requires:       %{name}-devel = %{version}-%{release}
42
43 %description static
44 Static CLucene library.
45
46 %description static -l pl.UTF-8
47 Statyczna biblioteka CLucene.
48
49 %prep
50 %setup -q
51
52 %build
53 %{__libtoolize}
54 %{__aclocal} -I m4
55 %{__autoconf}
56 %{__autoheader}
57 %{__automake}
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post   -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
72
73 %files
74 %defattr(644,root,root,755)
75 %doc AUTHORS ChangeLog NEWS README
76 %{_libdir}/*.la
77 %attr(755,root,root) %{_libdir}/*.so.*.*.*
78
79 %files devel
80 %defattr(644,root,root,755)
81 %{_includedir}/CLucene.h
82 %{_includedir}/CLucene
83 %{_libdir}/CLucene
84
85 %files static
86 %defattr(644,root,root,755)
87 %{_libdir}/*.a
This page took 0.662663 seconds and 3 git commands to generate.