clucene/clucene.spec

166 lines
5.0 KiB
RPMSpec
Raw Normal View History

2007-08-11 21:38:48 +00:00
Summary: A C++ port of Lucene
Name: clucene
2011-06-03 03:34:39 +00:00
Version: 2.3.3.4
Release: 3%{?dist}
2007-10-25 12:11:42 +00:00
License: LGPLv2+ or ASL 2.0
2007-08-11 21:38:48 +00:00
Group: Development/System
URL: http://www.sourceforge.net/projects/clucene
2011-06-03 03:34:39 +00:00
Source0: http://downloads.sourceforge.net/clucene/clucene-core-2.3.3.4.tar.gz
2007-08-11 21:38:48 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gawk cmake zlib-devel boost-devel
## upstreamable patches
# include LUCENE_SYS_INCLUDES in pkgconfig --cflags output
2011-11-07 00:35:25 +00:00
# https://bugzilla.redhat.com/748196
Patch50: clucene-core-2.3.3.4-pkgconfig_sys_includes.patch
%description
2011-06-03 03:34:39 +00:00
CLucene is a C++ port of the popular Apache Lucene search engine
(http://lucene.apache.org/java).
CLucene aims to be a high-speed alternative to Java Lucene, its API is very
similar to that of the Java version. CLucene has recently been brought up to
date with Lucene 2.3.2. It contains most of the same functionality as the Java version.
%package core
2007-08-11 21:38:48 +00:00
Summary: Core clucene module
Group: Development/System
Provides: clucene
#Requires: %{name} = %{version}-%{release}
%description core
The core clucene module
%package core-devel
2007-08-11 21:38:48 +00:00
Summary: Headers for developing programs that will use %{name}
Group: Development/Libraries
Requires: %{name}-core = %{version}-%{release}
%description core-devel
2011-06-14 20:30:48 +00:00
This package contains the libraries and header files needed for
developing with clucene
%prep
2011-06-03 03:34:39 +00:00
%setup -n %{name}-core-%{version}
%patch50 -p1 -b .pkgconfig_sys_includes
%build
2011-06-14 20:30:48 +00:00
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} \
-DLIB_DESTINATION:PATH=%{_libdir} \
-DLUCENE_SYS_INCLUDES:PATH=%{_libdir} \
2011-06-14 20:30:48 +00:00
..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
rm -rf %{buildroot}
2011-06-14 20:30:48 +00:00
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
2007-08-11 21:38:48 +00:00
2011-06-03 03:34:39 +00:00
rm -rf %{buildroot}%{_libdir}/CLuceneConfig.cmake
%check
2011-06-14 20:30:48 +00:00
make cl_test -C %{_target_platform}
make test -C %{_target_platform}
%clean
rm -rf %{buildroot}
2011-06-14 20:30:48 +00:00
%post core -p /sbin/ldconfig
2011-06-14 20:30:48 +00:00
%postun core -p /sbin/ldconfig
%files core
%defattr(-, root, root, -)
2011-06-03 03:34:39 +00:00
%doc APACHE.license AUTHORS ChangeLog COPYING LGPL.license README
%{_libdir}/libclucene-core.so.1*
%{_libdir}/libclucene-core.so.%{version}
%{_libdir}/libclucene-shared.so.1*
%{_libdir}/libclucene-shared.so.%{version}
%files core-devel
%defattr(-, root, root, -)
%dir %{_libdir}/CLucene
%{_includedir}/CLucene/
%{_includedir}/CLucene.h
2011-06-03 03:34:39 +00:00
%{_libdir}/libclucene*.so
%{_libdir}/CLucene/clucene-config.h
2011-06-03 03:34:39 +00:00
%{_libdir}/CLucene/CLuceneConfig.cmake
%{_libdir}/pkgconfig/libclucene-core.pc
%changelog
* Sun Oct 23 2011 Rex Dieter <rdieter@fedoraproject.org> 2.3.3.4-3
2011-11-07 00:35:25 +00:00
- include LUCENE_SYS_INCLUDES in pkgconfig --cflags output (#748196)
2011-06-14 20:30:48 +00:00
* Wed Jun 08 2011 Rex Dieter <rdieter@fedoraproject.org> 2.3.3.4-2
- cleanup cmake usage
- fix scriptlets
- track sonames
2011-06-14 20:30:48 +00:00
2011-06-03 03:34:39 +00:00
* Thu Jun 02 2011 Deji Akingunola <dakingun@gmail.com> - 2.3.3.4-1
- Update to version 2.3.3.4
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.21b-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Jul 08 2010 Deji Akingunola <dakingun@gmail.com> 0.9.21b-2
- Include the license text in the -core subpackage.
2010-06-06 17:34:41 +00:00
* Sun Jun 06 2010 Robert Scheck <robert@fedoraproject.org> 0.9.21b-1
- Update to 0.9.21b
2009-11-04 21:35:06 +00:00
* Wed Nov 04 2009 Dennis Gilmore <dennis@ausil.us> - 0.9.21-5
- disable 'make check on sparc64 along with ppc64 and s390x
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.21-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Apr 14 2009 Karsten Hopp <karsten@redhat.com> 0.9.21-3
2009-04-14 10:31:09 +00:00
- bypass 'make check' on s390x, similar to ppc64
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-08-27 11:56:23 +00:00
* Wed Aug 27 2008 Deji Akingunola <dakingun@gmail.com> - 0.9.21-1
- Update to version 0.9.21
2008-02-11 03:54:34 +00:00
* Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.9.20-4
- Rebuild for gcc43
2007-10-25 12:11:42 +00:00
* Wed Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.20-3
- Fix a typo in the License field
* Wed Oct 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.20-2
- Fix multiarch conflicts (BZ #340891)
- Bypass 'make check' for ppc64, its failing two tests there
* Tue Aug 21 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.20-1
- Update to version 0.9.20
2007-08-11 21:38:48 +00:00
* Sat Aug 11 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.19-1
- Latest release update
2007-08-03 18:12:55 +00:00
* Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.16a-2
- License tag update
2007-08-11 21:38:48 +00:00
* Thu Feb 22 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.16a-2
- Add -contrib subpackage
* Thu Dec 07 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.16a-1
- 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