- track sonames

- backout some inadvertant stuff from my trying to make a parallel-installable compat- pkg
This commit is contained in:
Rex Dieter 2011-06-14 15:45:00 -05:00
parent aaeb61930a
commit eba9284f00

View File

@ -7,7 +7,7 @@ Group: Development/System
URL: http://www.sourceforge.net/projects/clucene
Source0: http://downloads.sourceforge.net/clucene/clucene-core-2.3.3.4.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: automake gawk cmake zlib-devel boost-devel
BuildRequires: gawk cmake zlib-devel boost-devel
%description
CLucene is a C++ port of the popular Apache Lucene search engine
@ -42,8 +42,7 @@ mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} \
-DLIB_DESTINATION:PATH=%{_libdir} \
-DLUCENE_SYS_INCLUDE:PATH=%{_libdir}/clucene2 \
-DINCLUDE_INSTALL_DIR:PATH=/usr/include \
-DLUCENE_SYS_INCLUDES:PATH=%{_libdir} \
..
popd
@ -70,13 +69,15 @@ rm -rf %{buildroot}
%files core
%defattr(-, root, root, -)
%doc APACHE.license AUTHORS ChangeLog COPYING LGPL.license README
%{_libdir}/libclucene*.so.*
%{_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 %{_includedir}/CLucene
%dir %{_libdir}/CLucene
%{_includedir}/CLucene/*
%{_includedir}/CLucene/
%{_includedir}/CLucene.h
%{_libdir}/libclucene*.so
%{_libdir}/CLucene/clucene-config.h
@ -87,6 +88,7 @@ rm -rf %{buildroot}
* Wed Jun 08 2011 Rex Dieter <rdieter@fedoraproject.org> 2.3.3.4-2
- cleanup cmake usage
- fix scriptlets
- track sonames
* Thu Jun 02 2011 Deji Akingunola <dakingun@gmail.com> - 2.3.3.4-1
- Update to version 2.3.3.4