From cf263f6526ef05f149860ccbdce89fcde724e1f5 Mon Sep 17 00:00:00 2001 From: Deji Akingunola Date: Wed, 13 Dec 2006 17:09:38 +0000 Subject: [PATCH] auto-import clucene-0.9.16a-1 on branch devel from clucene-0.9.16a-1.src.rpm --- .cvsignore | 1 + clucene.spec | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 87 insertions(+) create mode 100644 clucene.spec diff --git a/.cvsignore b/.cvsignore index e69de29..618be05 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +clucene-core-0.9.16a.tar.bz2 diff --git a/clucene.spec b/clucene.spec new file mode 100644 index 0000000..72b1156 --- /dev/null +++ b/clucene.spec @@ -0,0 +1,85 @@ +Summary: A C++ port of Lucene +Name: clucene +Version: 0.9.16a +Release: 1%{?dist} +License: LGPL +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++ + +%package devel +Summary: Headers for developing programs that will use %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +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} +# Run the tests + +%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 + +%files +%defattr(-, root, root, -) +%doc AUTHORS COPYING HACKING README REQUESTS +%{_libdir}/*.so.* + +%files devel +%defattr(-, root, root, -) +%{_includedir}/CLucene/ +%{_includedir}/CLucene.h +%{_libdir}/*.so +%{_datadir}/%{name}/ + +%changelog +* Thu Dec 07 2006 Deji Akingunola - 0.9.16a-1 +- Update to latest stable release +- Run make check during build + +* Mon Nov 20 2006 Deji Akingunola - 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 - 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 - 0.9.15-1 +- Initial packaging for Fedora Extras diff --git a/sources b/sources index e69de29..9c86440 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0ed4f537321065c68ed802be67b25b10 clucene-core-0.9.16a.tar.bz2