diff --git a/clucene.spec b/clucene.spec index 72b1156..233a45f 100644 --- a/clucene.spec +++ b/clucene.spec @@ -15,12 +15,20 @@ 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 +%package core +Summary: Core clucene module +Group: Development/System +Provides: clucene + +%description core +The core clucene module + +%package core-devel Summary: Headers for developing programs that will use %{name} Group: Development/Libraries -Requires: %{name} = %{version}-%{release} +Requires: %{name}-core = %{version}-%{release} -%description devel +%description core-devel This package contains the static libraries and header files needed for developing with clucene @@ -30,8 +38,8 @@ developing with clucene %build %configure --disable-static make %{?_smp_mflags} -# Run the tests +# Run the tests %check make check @@ -56,12 +64,12 @@ rm -rf %{buildroot} %postun -p /sbin/ldconfig -%files +%files core %defattr(-, root, root, -) %doc AUTHORS COPYING HACKING README REQUESTS %{_libdir}/*.so.* -%files devel +%files core-devel %defattr(-, root, root, -) %{_includedir}/CLucene/ %{_includedir}/CLucene.h @@ -70,6 +78,7 @@ rm -rf %{buildroot} %changelog * Thu Dec 07 2006 Deji Akingunola - 0.9.16a-1 +- Name the built package clucene-core to conform to upstream naming - Update to latest stable release - Run make check during build