Hello community,

here is the log from the commit of package clucene-core for openSUSE:Factory 
checked in at 2011-12-02 09:25:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clucene-core (Old)
 and      /work/SRC/openSUSE:Factory/.clucene-core.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clucene-core", Maintainer is "kde-maintain...@suse.de"

Changes:
--------
--- /work/SRC/openSUSE:Factory/clucene-core/clucene-core.changes        
2011-10-03 09:14:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.clucene-core.new/clucene-core.changes   
2011-12-02 09:25:54.000000000 +0100
@@ -1,0 +2,56 @@
+Fri Nov 25 10:08:15 UTC 2011 - sasc...@suse.de
+
+- Avoid line continuation in last cmake parameter
+
+-------------------------------------------------------------------
+Fri Nov 25 09:42:10 UTC 2011 - d...@dominik-schmidt.de
+
+- Fixed typo in cmake arguments 
+
+-------------------------------------------------------------------
+Thu Nov 24 09:29:56 UTC 2011 - sasc...@suse.de
+
+- Darix doesn't want a renamed devel package, thus revert that part
+
+-------------------------------------------------------------------
+Wed Nov 23 12:45:56 UTC 2011 - tittiatc...@gmail.com
+
+- Removed the link as source. It seems very hard to determine the
+  exactly link with sourceforge. 
+
+-------------------------------------------------------------------
+Wed Nov 23 03:29:48 UTC 2011 - d...@dominik-schmidt.de
+
+- put clucene-config.h in %_libdir/CLucene/ as it's not multilib 
+  ready and fixfix libclucene-core.pc to know about it [rh#748196]
+- put CLuceneConfig.cmake there as well as it only includes version
+  information but no include path or link targets
+- don't use bundled boost
+
+-------------------------------------------------------------------
+Tue Nov 15 15:45:48 UTC 2011 - sasc...@suse.de
+
+- Honor shared library policy:
+  * Obsolete devel package, introduce libclucene0 + libclucene-devel
+- Simplified cmake usage, no need for that many env vars
+
+-------------------------------------------------------------------
+Fri Nov 11 13:48:25 UTC 2011 - d...@dominik-schmidt.de
+
+- Update to 2.3.3.4:
+  * Static object fields have been changed to method accessors
+    Classes changed: FieldCache, ScoreDocComparator.
+    This was necessary for creating static libraries work on certain
+    platforms.
+  * Folders were reorganised, this seems like a good time to do it
+  * Some deprecated functions were removed.
+  * moved platform configuration type code and utility code into
+    'shared' project. This enables tests to be built with a shared
+    library on windows
+  * Moved moved of the platform specific logic into cmake in order
+    to reduce #ifdefs in code
+  * added contributions code into the trunk. this will hopefully mean
+    more exposure to the contributions.
+  * Deletor::Array was renamed to Deletor::vArray.
+
+-------------------------------------------------------------------

Old:
----
  clucene-core-0.9.21-stripped.tar.bz2
  clucene-core-0.9.21.tar.bz2
  gcc-4.4.diff

New:
----
  clucene-core-2.3.3.4-pkgconfig_sys_includes.patch
  clucene-core-2.3.3.4.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ clucene-core.spec ++++++
--- /var/tmp/diff_new_pack.udJ07P/_old  2011-12-02 09:25:56.000000000 +0100
+++ /var/tmp/diff_new_pack.udJ07P/_new  2011-12-02 09:25:56.000000000 +0100
@@ -18,75 +18,99 @@
 
 
 Name:           clucene-core
-Version:        0.9.21
-Release:        77
+Version:        2.3.3.4
+Release:        0
 License:        LGPL-2.1 or Apache-2.0
 Summary:        CLucene is a C++ port of Lucene
 Url:            http://clucene.sourceforge.net/
 Group:          Development/Libraries/C and C++
-Source:         
http://prdownloads.sourceforge.net/clucene/%{name}-%{version}.tar.bz2
+Source:         %{name}-%{version}.tar.bz2
 Source2:        baselibs.conf
-Patch0:         gcc-4.4.diff
+
+# PATCH-FIX-UPSTREAM [rh#748196]
+Patch0:         clucene-core-2.3.3.4-pkgconfig_sys_includes.patch
+
+BuildRequires:  cmake
 BuildRequires:  doxygen
 BuildRequires:  gcc-c++
 BuildRequires:  libtool
+BuildRequires:  pkg-config
+BuildRequires:  zlib-devel
+BuildRequires:  boost-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %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++.
+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
+%package -n libclucene2
+Summary:        Development files for clucene library
+Group:          Development/Libraries/C and C++
+Provides:       %{name} = %{version}
+#TODO: Change back to '<' after next version update:
+Obsoletes:      %{name} <= %{version}
+
+%description -n libclucene2
+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:        Development files for clucene library
 Group:          Development/Libraries/C and C++
-Requires:       %{name} = %{version}
+Requires:       libclucene2 = %{version}
 Requires:       libstdc++-devel
 
 %description devel
-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++.
+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++.
+
+This package holds the development files for clucene.
 
 %prep
 %setup -q
-%patch0
+%patch0 -p1
 
-# test/data is not allowed to be distributed bnc#253602
-rm -rf test/data/reuters* tests/data/utf*
+# the tar ball is stripped like this:
+rm -rf test/data/reuters* tests/data/utf* # test/data is not allowed to be 
distributed bnc#253602
 
 %build
-./autogen.sh
-%configure --with-pic --disable-static
-make %{?_smp_mflags}
-
-%check
-make check || true
+cmake . \
+    -DCMAKE_CXX_FLAGS="%{optflags}" \
+    -DCMAKE_C_FLAGS="%{optflags}" \
+    -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
+    -DLUCENE_SYS_INCLUDES:PATH=%{_libdir} \
+%ifarch x86_64
+    -DLIB_SUFFIX=64 \
+%endif
+    -DCMAKE_BUILD_TYPE=RelWithDebInfo
+make %{?_smp_mflags} VERBOSE=1
 
 %install
 %make_install
 rm -f %{buildroot}%{_libdir}/*.la
+rm -rf %{buildroot}%{_libdir}/CLuceneConfig.cmake
 
-%clean
-rm -rf %{buildroot}
-
-%post -p /sbin/ldconfig
+%post -n libclucene2 -p /sbin/ldconfig
 
-%postun -p /sbin/ldconfig
+%postun -n libclucene2 -p /sbin/ldconfig
 
-%files
+%files -n libclucene2
 %defattr(-,root,root,-)
-%{_libdir}/libclucene.so.*
-%doc doc/*htm doc/*.jpg
-%doc README* APACHE.license AUTHORS COPYING HACKING README REQUESTS
+%doc APACHE.license AUTHORS ChangeLog COPYING doc/ LGPL.license  NEWS  README 
README.PACKAGE REQUESTS
+%{_libdir}/libclucene*.so.*
 
 %files devel
 %defattr(-,root,root,-)
-%{_includedir}/CLucene.h
-%{_includedir}/CLucene/
+%{_libdir}/libclucene*.so
+
+%{_includedir}/CLucene*
 %dir %{_libdir}/CLucene/
 %{_libdir}/CLucene/clucene-config.h
-%{_libdir}/libclucene.so
+
+%{_libdir}/CLucene/CLuceneConfig.cmake
+%{_libdir}/pkgconfig/libclucene-core.pc
 
 %changelog

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.udJ07P/_old  2011-12-02 09:25:56.000000000 +0100
+++ /var/tmp/diff_new_pack.udJ07P/_new  2011-12-02 09:25:56.000000000 +0100
@@ -1 +1 @@
-clucene-core
+libclucene2

++++++ clucene-core-2.3.3.4-pkgconfig_sys_includes.patch ++++++
diff -up clucene-core-2.3.3.4/src/core/libclucene-core.pc.cmake.sys_includes 
clucene-core-2.3.3.4/src/core/libclucene-core.pc.cmake
--- clucene-core-2.3.3.4/src/core/libclucene-core.pc.cmake.sys_includes 
2011-03-16 19:21:07.000000000 -0500
+++ clucene-core-2.3.3.4/src/core/libclucene-core.pc.cmake      2011-10-23 
14:43:05.325553889 -0500
@@ -7,5 +7,5 @@ Name: libclucene
 Description: CLucene - a C++ search engine, ported from the popular Apache 
Lucene
 Version: 
@CLUCENE_VERSION_MAJOR@.@CLUCENE_VERSION_MINOR@.@CLUCENE_VERSION_REVISION@.@CLUCENE_VERSION_PATCH@
 Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core
-Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext
+Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext 
-I@LUCENE_SYS_INCLUDES@
 ~
++++++ clucene-core-0.9.21-stripped.tar.bz2 -> clucene-core-2.3.3.4.tar.bz2 
++++++
++++ 284690 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to