Search
j0ke.net Open Build Service
>
Projects
>
server:search
>
clucene-contrib-unstable
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Added
clucene-contrib-unstable.spec
@@ -0,0 +1,85 @@ +# norootforbuild +%define pkg_name clucene-contrib +# +Name: clucene-contrib-unstable +Version: 0.9.16a +Release: 0 +# +License: Apache License v2.0 +Group: Development/Libraries/C and C++ +# +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: gcc-c++ doxygen clucene-core-devel +# +URL: http://sourceforge.net/projects/clucene/ +Source: http://prdownloads.sourceforge.net/clucene/%{pkg_name}-%{version}.tar.bz2 +Patch: clucene-contrib-0.9.16_libdir.patch +Patch1: clucene-contrib-0.9.13_noinst_test.patch +# +Summary: CLucene is a C++ port of Lucene. +%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++. + +Authors: +-------- + Doug Cutting <cutting@users.sourceforge.net> + John Wheeler <j_wheeler@users.sourceforge.net> + Robert G. Ristroph <rgristroph@users.sourceforge.net> + David Rushby <woodsplitter@users.sourceforge.net> + Jimmy Pritts <jpritts@sdf.lonestar.org> + Peter Edwards <peter@dragonstaff.co.uk> + Jorge Sabater Redondo <jsabater@elderecho.com> + Daniel Glassey <danglassey@ntlworld.com> + Peter Gladkikh <batyi@mail.ru> + Pedja <amigo@max3d.com> + Peter Hodges <hodges.peter@gmail.com> + +%package devel +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +# +Summary: Development files to link against libclucene. +%description devel +CLucene is a C++ port of Lucene: the high-performance, full-featured text +search engine written in Java. CLucene is faster than lucene as it is written +in C++. + +This package holds the development files to link against libclucene. + +%debug_package +%prep +%setup -n %{pkg_name}-%{version} +%patch +%patch1 + +%build +%configure --disable-static --with-clucene=%{_prefix} ||: +%{__make} + +#%check +#%{__make} check + +%install +%makeinstall + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%{_libdir}/libclucene-contrib.so.0 +%{_libdir}/libclucene-contrib.so.0.0.0 + +%files devel +%defattr(-,root,root,-) +%{_includedir}/CLucene/analysis/ +%{_includedir}/CLucene/jstreams/ +%{_includedir}/CLucene/snowball/ +%{_includedir}/CLucene/highlighter/ +%{_libdir}/CLucene/clucene-config-contrib.h +%{_libdir}/libclucene-contrib.la +%{_libdir}/libclucene-contrib.so + +%changelog