2006-12-13 17:09:38 +00:00
|
|
|
Summary: A C++ port of Lucene
|
|
|
|
Name: clucene
|
|
|
|
Version: 0.9.16a
|
2007-08-03 18:12:55 +00:00
|
|
|
Release: 2%{?dist}
|
|
|
|
License: LGPL or ASL 2.0
|
2006-12-13 17:09:38 +00:00
|
|
|
Group: Development/System
|
|
|
|
URL: http://www.sourceforge.net/projects/clucene
|
|
|
|
Source: http://easynews.dl.sf.net/clucene/clucene-core-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: automake
|
|
|
|
|
|
|
|
%description
|
|
|
|
CLucene is a C++ port of Lucene.
|
|
|
|
It is a high-performance, full-featured text search
|
|
|
|
engine written in C++. CLucene is faster than lucene
|
|
|
|
as it is written in C++
|
|
|
|
|
2006-12-18 21:09:13 +00:00
|
|
|
%package core
|
|
|
|
Summary: Core clucene module
|
|
|
|
Group: Development/System
|
|
|
|
Provides: clucene
|
|
|
|
|
|
|
|
%description core
|
|
|
|
The core clucene module
|
|
|
|
|
|
|
|
%package core-devel
|
2006-12-13 17:09:38 +00:00
|
|
|
Summary: Headers for developing programs that will use %{name}
|
|
|
|
Group: Development/Libraries
|
2006-12-18 21:09:13 +00:00
|
|
|
Requires: %{name}-core = %{version}-%{release}
|
2006-12-13 17:09:38 +00:00
|
|
|
|
2006-12-18 21:09:13 +00:00
|
|
|
%description core-devel
|
2006-12-13 17:09:38 +00:00
|
|
|
This package contains the static libraries and header files needed for
|
|
|
|
developing with clucene
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n clucene-core-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2006-12-18 21:09:13 +00:00
|
|
|
# Run the tests
|
2006-12-13 17:09:38 +00:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
#Hope upstream will correct this problem in the next release
|
|
|
|
mv %{buildroot}%{_libdir}/CLucene/clucene-config.h %{buildroot}%{_includedir}/CLucene/
|
|
|
|
rm -rf %{buildroot}%{_libdir}/CLucene
|
|
|
|
|
|
|
|
#Package the docs
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/%{name}/doc
|
|
|
|
cp -pr doc/*.htm doc/*.jpg %{buildroot}%{_datadir}/%{name}/doc
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2006-12-18 21:09:13 +00:00
|
|
|
%files core
|
2006-12-13 17:09:38 +00:00
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%doc AUTHORS COPYING HACKING README REQUESTS
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
2006-12-18 21:09:13 +00:00
|
|
|
%files core-devel
|
2006-12-13 17:09:38 +00:00
|
|
|
%defattr(-, root, root, -)
|
|
|
|
%{_includedir}/CLucene/
|
|
|
|
%{_includedir}/CLucene.h
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
|
|
|
|
%changelog
|
2007-08-03 18:12:55 +00:00
|
|
|
* Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.16a-2
|
|
|
|
- License tag update
|
|
|
|
|
2006-12-13 17:09:38 +00:00
|
|
|
* Thu Dec 07 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.16a-1
|
2006-12-18 21:09:13 +00:00
|
|
|
- Name the built package clucene-core to conform to upstream naming
|
2006-12-13 17:09:38 +00:00
|
|
|
- Update to latest stable release
|
|
|
|
- Run make check during build
|
|
|
|
|
|
|
|
* Mon Nov 20 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.15-3
|
|
|
|
- Don't package APACHE.license since we've LGPL instead
|
|
|
|
- Package documentation in devel subpackage
|
|
|
|
|
|
|
|
* Mon Nov 13 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.15-2
|
|
|
|
- Fix a bunch of issues with the spec (#215258)
|
|
|
|
- Moved the header file away from lib dir
|
|
|
|
|
|
|
|
* Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.15-1
|
|
|
|
- Initial packaging for Fedora Extras
|