|
|
66b297 |
Summary: A C++ port of Lucene
|
|
|
66b297 |
Name: clucene
|
|
|
66b297 |
Version: 2.3.3.4
|
|
|
66b297 |
Release: 11%{?dist}
|
|
|
66b297 |
License: LGPLv2+ or ASL 2.0
|
|
|
66b297 |
Group: Development/System
|
|
|
66b297 |
URL: http://www.sourceforge.net/projects/clucene
|
|
|
66b297 |
Source0: http://downloads.sourceforge.net/clucene/clucene-core-%{version}.tar.gz
|
|
|
66b297 |
BuildRequires: gawk cmake zlib-devel boost-devel
|
|
|
66b297 |
|
|
|
66b297 |
## upstreamable patches
|
|
|
66b297 |
# include LUCENE_SYS_INCLUDES in pkgconfig --cflags output
|
|
|
66b297 |
# https://bugzilla.redhat.com/748196
|
|
|
66b297 |
# and
|
|
|
66b297 |
# https://sourceforge.net/tracker/?func=detail&aid=3461512&group_id=80013&atid=558446
|
|
|
66b297 |
# pkgconfig file is missing clucene-shared
|
|
|
66b297 |
Patch50: clucene-core-2.3.3.4-pkgconfig.patch
|
|
|
66b297 |
# https://bugzilla.redhat.com/794795
|
|
|
66b297 |
# https://sourceforge.net/tracker/index.php?func=detail&aid=3392466&group_id=80013&atid=558446
|
|
|
66b297 |
# contribs-lib is not built and installed even with config
|
|
|
66b297 |
Patch51: clucene-core-2.3.3.4-install_contribs_lib.patch
|
|
|
66b297 |
# Bug 1027836 - clucene breaks rebuild of libreoffice
|
|
|
66b297 |
Patch52: clucene-core-2.3.3.4-lo.patch
|
|
|
66b297 |
|
|
|
66b297 |
%description
|
|
|
66b297 |
CLucene is a C++ port of the popular Apache Lucene search engine
|
|
|
66b297 |
(http://lucene.apache.org/java).
|
|
|
66b297 |
CLucene aims to be a high-speed alternative to Java Lucene, its API is very
|
|
|
66b297 |
similar to that of the Java version. CLucene has recently been brought up to
|
|
|
66b297 |
date with Lucene 2.3.2. It contains most of the same functionality as the Java version.
|
|
|
66b297 |
|
|
|
66b297 |
%package core
|
|
|
66b297 |
Summary: Core clucene module
|
|
|
66b297 |
Group: Development/System
|
|
|
66b297 |
Provides: clucene = %{version}-%{release}
|
|
|
66b297 |
#Requires: %{name} = %{version}-%{release}
|
|
|
66b297 |
%description core
|
|
|
66b297 |
CLucene is a C++ port of the popular Apache Lucene search engine
|
|
|
66b297 |
(http://lucene.apache.org/java).
|
|
|
66b297 |
CLucene aims to be a high-speed alternative to Java Lucene, its API is very
|
|
|
66b297 |
similar to that of the Java version. CLucene has recently been brought up to
|
|
|
66b297 |
date with Lucene 2.3.2. It contains most of the same functionality as the Java version.
|
|
|
66b297 |
|
|
|
66b297 |
%package core-devel
|
|
|
66b297 |
Summary: Headers for developing programs that will use %{name}
|
|
|
66b297 |
Group: Development/Libraries
|
|
|
66b297 |
Requires: %{name}-core%{?_isa} = %{version}-%{release}
|
|
|
66b297 |
Requires: %{name}-contribs-lib%{?_isa} = %{version}-%{release}
|
|
|
66b297 |
%description core-devel
|
|
|
66b297 |
This package contains the libraries and header files needed for
|
|
|
66b297 |
developing with clucene
|
|
|
66b297 |
|
|
|
66b297 |
%package contribs-lib
|
|
|
66b297 |
Summary: Language specific text analyzers for %{name}
|
|
|
66b297 |
Group: Development/System
|
|
|
66b297 |
Requires: %{name}-core%{?_isa} = %{version}-%{release}
|
|
|
66b297 |
%description contribs-lib
|
|
|
66b297 |
%{summary}.
|
|
|
66b297 |
|
|
|
66b297 |
|
|
|
66b297 |
%prep
|
|
|
66b297 |
%setup -n %{name}-core-%{version}
|
|
|
66b297 |
|
|
|
66b297 |
%patch50 -p1 -b .pkgconfig
|
|
|
66b297 |
%patch51 -p1 -b .install_contribs_lib
|
|
|
66b297 |
%patch52 -p0 -b .libreoffice
|
|
|
66b297 |
|
|
|
66b297 |
%build
|
|
|
66b297 |
mkdir -p %{_target_platform}
|
|
|
66b297 |
pushd %{_target_platform}
|
|
|
66b297 |
%{cmake} \
|
|
|
66b297 |
-DBUILD_CONTRIBS_LIB=BOOL:ON \
|
|
|
66b297 |
-DLIB_DESTINATION:PATH=%{_libdir} \
|
|
|
66b297 |
-DLUCENE_SYS_INCLUDES:PATH=%{_libdir} \
|
|
|
66b297 |
..
|
|
|
66b297 |
popd
|
|
|
66b297 |
|
|
|
66b297 |
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
66b297 |
|
|
|
66b297 |
|
|
|
66b297 |
%install
|
|
|
66b297 |
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
66b297 |
|
|
|
66b297 |
rm -rf %{buildroot}%{_libdir}/CLuceneConfig.cmake
|
|
|
66b297 |
|
|
|
66b297 |
|
|
|
66b297 |
%check
|
|
|
66b297 |
# FIXME: do not run tests for ppc and s390 (big endian 32 bit archs) until
|
|
|
66b297 |
# we have a proper fix
|
|
|
66b297 |
%ifnarch ppc s390
|
|
|
66b297 |
# Fails on all arches at the moment so temporaily disable
|
|
|
66b297 |
#make cl_test -C %{_target_platform}
|
|
|
66b297 |
#make test -C %{_target_platform}
|
|
|
66b297 |
%endif
|
|
|
66b297 |
|
|
|
66b297 |
|
|
|
66b297 |
%post core -p /sbin/ldconfig
|
|
|
66b297 |
%postun core -p /sbin/ldconfig
|
|
|
66b297 |
|
|
|
66b297 |
%files core
|
|
|
66b297 |
%defattr(-, root, root, -)
|
|
|
66b297 |
%doc APACHE.license AUTHORS ChangeLog COPYING LGPL.license README
|
|
|
66b297 |
%{_libdir}/libclucene-core.so.1*
|
|
|
66b297 |
%{_libdir}/libclucene-core.so.%{version}
|
|
|
66b297 |
%{_libdir}/libclucene-shared.so.1*
|
|
|
66b297 |
%{_libdir}/libclucene-shared.so.%{version}
|
|
|
66b297 |
|
|
|
66b297 |
%post contribs-lib -p /sbin/ldconfig
|
|
|
66b297 |
%postun contribs-lib -p /sbin/ldconfig
|
|
|
66b297 |
|
|
|
66b297 |
%files contribs-lib
|
|
|
66b297 |
%defattr(-, root, root, -)
|
|
|
66b297 |
%{_libdir}/libclucene-contribs-lib.so.1*
|
|
|
66b297 |
%{_libdir}/libclucene-contribs-lib.so.%{version}
|
|
|
66b297 |
|
|
|
66b297 |
%files core-devel
|
|
|
66b297 |
%defattr(-, root, root, -)
|
|
|
66b297 |
%dir %{_libdir}/CLucene
|
|
|
66b297 |
%{_includedir}/CLucene/
|
|
|
66b297 |
%{_includedir}/CLucene.h
|
|
|
66b297 |
%{_libdir}/libclucene*.so
|
|
|
66b297 |
%{_libdir}/CLucene/clucene-config.h
|
|
|
66b297 |
%{_libdir}/CLucene/CLuceneConfig.cmake
|
|
|
66b297 |
%{_libdir}/pkgconfig/libclucene-core.pc
|
|
|
66b297 |
|
|
|
66b297 |
|
|
|
66b297 |
%changelog
|
|
|
66b297 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.3.3.4-11
|
|
|
66b297 |
- Mass rebuild 2014-01-24
|
|
|
66b297 |
|
|
|
66b297 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.3.3.4-10
|
|
|
66b297 |
- Mass rebuild 2013-12-27
|
|
|
66b297 |
|
|
|
66b297 |
* Thu Nov 7 2013 Lukáš Tinkl <ltinkl@redhat.com> - 2.3.3.4-9
|
|
|
66b297 |
- Resolves: rhbz#1027836 - clucene breaks rebuild of libreoffice
|
|
|
66b297 |
|
|
|
66b297 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3.4-8
|
|
|
66b297 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
66b297 |
|
|
|
66b297 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3.4-7
|
|
|
66b297 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
66b297 |
|
|
|
66b297 |
* Mon Mar 19 2012 Rex Dieter <rdieter@fedoraproject.org> 2.3.3.4-6
|
|
|
66b297 |
- contribs-lib is not built and installed even with config (#794795, upstream ID: 3392466)
|
|
|
66b297 |
- pkgconfig file is missing clucene-shared (upstream ID: 3461512)
|
|
|
66b297 |
- non-descriptive descripton (#757319)
|
|
|
66b297 |
|
|
|
66b297 |
* Sat Feb 25 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 2.3.3.4-5
|
|
|
66b297 |
- Temporarily disable make check as it fails on all arches
|
|
|
66b297 |
|
|
|
66b297 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3.4-4
|
|
|
66b297 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
66b297 |
|
|
|
66b297 |
* Sun Oct 23 2011 Rex Dieter <rdieter@fedoraproject.org> 2.3.3.4-3
|
|
|
66b297 |
- include LUCENE_SYS_INCLUDES in pkgconfig --cflags output (#748196)
|
|
|
66b297 |
|
|
|
66b297 |
* Wed Jun 08 2011 Rex Dieter <rdieter@fedoraproject.org> 2.3.3.4-2
|
|
|
66b297 |
- cleanup cmake usage
|
|
|
66b297 |
- fix scriptlets
|
|
|
66b297 |
- track sonames
|
|
|
66b297 |
|
|
|
66b297 |
* Thu Jun 02 2011 Deji Akingunola <dakingun@gmail.com> - 2.3.3.4-1
|
|
|
66b297 |
- Update to version 2.3.3.4
|
|
|
66b297 |
|
|
|
66b297 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.21b-3
|
|
|
66b297 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
66b297 |
|
|
|
66b297 |
* Thu Jul 08 2010 Deji Akingunola <dakingun@gmail.com> 0.9.21b-2
|
|
|
66b297 |
- Include the license text in the -core subpackage.
|
|
|
66b297 |
|
|
|
66b297 |
* Sun Jun 06 2010 Robert Scheck <robert@fedoraproject.org> 0.9.21b-1
|
|
|
66b297 |
- Update to 0.9.21b
|
|
|
66b297 |
|
|
|
66b297 |
* Wed Nov 04 2009 Dennis Gilmore <dennis@ausil.us> - 0.9.21-5
|
|
|
66b297 |
- disable 'make check on sparc64 along with ppc64 and s390x
|
|
|
66b297 |
|
|
|
66b297 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.21-4
|
|
|
66b297 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
66b297 |
|
|
|
66b297 |
* Tue Apr 14 2009 Karsten Hopp <karsten@redhat.com> 0.9.21-3
|
|
|
66b297 |
- bypass 'make check' on s390x, similar to ppc64
|
|
|
66b297 |
|
|
|
66b297 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.21-2
|
|
|
66b297 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
66b297 |
|
|
|
66b297 |
* Wed Aug 27 2008 Deji Akingunola <dakingun@gmail.com> - 0.9.21-1
|
|
|
66b297 |
- Update to version 0.9.21
|
|
|
66b297 |
|
|
|
66b297 |
* Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.9.20-4
|
|
|
66b297 |
- Rebuild for gcc43
|
|
|
66b297 |
|
|
|
66b297 |
* Wed Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.20-3
|
|
|
66b297 |
- Fix a typo in the License field
|
|
|
66b297 |
|
|
|
66b297 |
* Wed Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.20-2
|
|
|
66b297 |
- Fix multiarch conflicts (BZ #340891)
|
|
|
66b297 |
- Bypass 'make check' for ppc64, its failing two tests there
|
|
|
66b297 |
|
|
|
66b297 |
* Tue Aug 21 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.20-1
|
|
|
66b297 |
- Update to version 0.9.20
|
|
|
66b297 |
|
|
|
66b297 |
* Sat Aug 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.19-1
|
|
|
66b297 |
- Latest release update
|
|
|
66b297 |
|
|
|
66b297 |
* Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.16a-2
|
|
|
66b297 |
- License tag update
|
|
|
66b297 |
|
|
|
66b297 |
* Thu Feb 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.16a-2
|
|
|
66b297 |
- Add -contrib subpackage
|
|
|
66b297 |
|
|
|
66b297 |
* Thu Dec 07 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.16a-1
|
|
|
66b297 |
- Update to latest stable release
|
|
|
66b297 |
- Run make check during build
|
|
|
66b297 |
|
|
|
66b297 |
* Mon Nov 20 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.15-3
|
|
|
66b297 |
- Don't package APACHE.license since we've LGPL instead
|
|
|
66b297 |
- Package documentation in devel subpackage
|
|
|
66b297 |
|
|
|
66b297 |
* Mon Nov 13 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.15-2
|
|
|
66b297 |
- Fix a bunch of issues with the spec (#215258)
|
|
|
66b297 |
- Moved the header file away from lib dir
|
|
|
66b297 |
|
|
|
66b297 |
* Sat Nov 04 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.15-1
|
|
|
66b297 |
- Initial packaging for Fedora Extras
|