]> git.pld-linux.org Git - packages/clucene-core.git/blame - clucene-core.spec
- Fixed download URL, upstream project re-organized
[packages/clucene-core.git] / clucene-core.spec
CommitLineData
2458afe2 1# TODO: 0.9.x branch is quite old, build Java Lucene 2.3.2 compatable unstable branch
bc0dc01e 2Summary: An indexing and searching API
3Summary(pl.UTF-8): API do indeksowania i wyszukiwania
4Name: clucene-core
286b269d 5Version: 0.9.21b
b46ffd40 6Release: 1
afd2cbc5 7License: LGPL or Apache v2.0
bc0dc01e 8Group: Libraries
2458afe2 9Source0: http://downloads.sourceforge.net/clucene/clucene-core-stable/%{version}/%{name}-%{version}.tar.bz2
286b269d 10# Source0-md5: ba1a8f764a2ca19c66ad907dddd88352
bc0dc01e 11URL: http://clucene.sourceforge.net/
225c4cb8 12BuildRequires: autoconf >= 2.57
bc0dc01e 13BuildRequires: automake
225c4cb8
JB
14BuildRequires: libstdc++-devel
15BuildRequires: libtool >= 2:1.5
bc0dc01e 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19CLucene is a C++ port of Lucene. It is a high-performance,
20full-featured text search engine written in C++.
21
22%description -l pl.UTF-8
23CLucene jest portem Lucene na C++. Jest to wysokowydajny silnik do
24wyszukiwania tekstu napisany w C++.
25
26%package devel
27Summary: Header files for CLucene library
28Summary(pl.UTF-8): Pliki nagłówkowe biblioteki CLucene
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
225c4cb8 31Requires: libstdc++-devel
bc0dc01e 32
33%description devel
34Header files for CLucene library.
35
36%description devel -l pl.UTF-8
37Pliki nagłówkowe biblioteki CLucene.
38
39%package static
40Summary: Static CLucene library
41Summary(pl.UTF-8): Statyczna biblioteka CLucene
42Group: Development/Libraries
43Requires: %{name}-devel = %{version}-%{release}
44
45%description static
46Static CLucene library.
47
48%description static -l pl.UTF-8
49Statyczna 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
64rm -rf $RPM_BUILD_ROOT
65
66%{__make} install \
67 DESTDIR=$RPM_BUILD_ROOT
68
69%clean
70rm -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
This page took 0.083685 seconds and 4 git commands to generate.