Package libclucene: Specfile

%define _name clucene-core

Name: libclucene
Version: 0.9.20
Release: alt1

Summary: CLucene is a C++ port of Lucene.
License: LGPL
Group: System/Libraries

Url: http://clucene.sf.net
Source0: %_name-%version.tar.bz2
Packager: Eugene Ostapets <eostapets@altlinux.ru>

# Automatically added by buildreq on Fri Dec 23 2005
BuildRequires: doxygen gcc-c++ libstdc++-devel

%description
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 -n %name-devel
Summary: Development library and headers files fo CLucene
Group: Development/C++
License: LGPL
PreReq: %name
%description -n %name-devel
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 -n %name-devel-static
Summary: Static library for CLucene
Group: Development/C++
License: LGPL
PreReq: %name-devel
%description -n %name-devel-static
It is a high-performance, full-featured text search
engine written in C++. CLucene is faster than lucene
as it is written in C++.


%prep
%setup -q -n %_name-%version

%build
%configure \
    --enable-multithreading \
    --enable-shared

%make

%install
%make DESTDIR=%buildroot install

%files

%_libdir/%name.so.*

%files -n %name-devel
%dir %_includedir/CLucene
%dir %_libdir/CLucene
%_includedir/CLucene/*
%_includedir/CLucene.h
%_libdir/CLucene/clucene-config.h
%_libdir/%name.so

%files -n %name-devel-static
%_libdir/%name.a

%changelog
* Tue Oct 23 2007 Eugene Ostapets <eostapets@altlinux.ru> 0.9.20-alt1
- new version

* Fri Mar 16 2007 Eugene Ostapets <eostapets@altlinux.ru> 0.9.16a-alt3
- fix 10497

* Sun Dec 10 2006 Eugene Ostapets <eostapets@altlinux.ru> 0.9.16a-alt2
- remove obsolete configure parameter --disable-ucs2
- remove wrong configure parameter --disable-asci (bug 10388)

* Thu Nov 30 2006 Eugene Ostapets <eostapets@altlinux.ru> 0.9.16a-alt1
- new version

* Tue Sep 12 2006 Eugene Ostapets <eostapets@altlinux.ru> 0.9.15-alt1
- new version

* Sun Jan 15 2006 Eugene Ostapets <eostapets@altlinux.ru> 0.9.10-alt2
- cleanup specs

* Fri Dec 23 2005 Eugene Ostapets <eostapets@altlinux.ru> 0.9.10-alt1
- initial release for ALTLinux