Hello community,
here is the log from the commit of package libofa
checked in at Tue Nov 6 23:25:12 CET 2007.
--------
--- libofa/libofa.changes 2007-04-27 19:05:40.000000000 +0200
+++ /mounts/work_src_done/STABLE/libofa/libofa.changes 2007-11-06 07:54:40.000000000 +0100
@@ -1,0 +2,11 @@
+Tue Nov 6 07:51:14 CET 2007 - crrodriguez@suse.de
+
+- libofa --> libofa0
+- fix build with gcc43
+- add missing ldconfig calls
+- fix some minor packaging errors
+- fix devel package, pkgconfig script wrongly added
+ unneeded libraries to the dependency chain.
+- remove static libraries and libtool "la" files
+
+-------------------------------------------------------------------
New:
----
libofa-0.9.3-gcc43.patch
libofa-0.9.3-pkgconfigbloat.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libofa.spec ++++++
--- /var/tmp/diff_new_pack.z15775/_old 2007-11-06 23:17:57.000000000 +0100
+++ /var/tmp/diff_new_pack.z15775/_new 2007-11-06 23:17:57.000000000 +0100
@@ -12,14 +12,16 @@
Name: libofa
Summary: Open Fingerprint Architecture Library
-License: GNU General Public License (GPL), Other uncritical OpenSource License
+License: GPL v2 or later; Other uncritical OpenSource License
Group: System/Libraries
-Autoreqprov: on
+AutoReqProv: on
Version: 0.9.3
-Release: 27
-URL: http://www.musicdns.org/
+Release: 71
+Url: http://www.musicip.com/dns/downloads.jsp
Source: %{name}-%{version}.tar.bz2
-Patch: libofa-incl.patch
+Patch0: libofa-incl.patch
+Patch1: libofa-0.9.3-gcc43.patch
+Patch2: libofa-0.9.3-pkgconfigbloat.patch
BuildRequires: curl-devel fftw3-devel gcc-c++ libexpat-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -42,9 +44,35 @@
Robert Kaye
Eric Sandeen
-%package devel
+%package -n libofa0
Group: System/Libraries
-Requires: %{name} = %{version} fftw3-devel
+Summary: Open Fingerprint Architecture Library
+Provides: %{name} = %{version}
+#opensuse 10.3
+Obsoletes: libofa <= 0.9.3
+
+%description -n libofa0
+MusicDNS and the Open Fingerprint Architecture provide a system for
+identifying a piece of music with nothing more than the sound of the
+piece itself.
+
+This library is by design compatible with the MusicDNS web service.
+Non-commercial access to the service is available at
+http://www.musicdns.org.
+
+
+
+Authors:
+--------
+ Frode Holm
+ Stephen Pope
+ Wendell Hicken
+ Robert Kaye
+ Eric Sandeen
+
+%package devel
+Group: Development/Libraries/C and C++
+Requires: libofa0 = %{version}
Summary: Open Fingerprint Architecture Library
%description devel
@@ -68,15 +96,13 @@
%prep
%setup -q
-%patch
+%patch0
+%patch1
+%patch2
%build
-%{?suse_update_config:%{suse_update_config}}
-libtoolize --force
-aclocal
-autoconf
-automake -a
-%configure
+autoreconf -fi
+%configure --disable-static --with-pic
make %{?jobs:-j%jobs}
%install
@@ -85,20 +111,32 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%files
+%files -n libofa0
%defattr(-, root, root)
-%doc AUTHORS COPYING README
-%{_libdir}/lib*.so.*
+%{_libdir}/lib*.so.0*
%files devel
%defattr(-, root, root)
+%doc AUTHORS COPYING README
%doc examples/Makefile* examples/*.cpp examples/*.h
-%{_includedir}/*
-%{_libdir}/lib*.*a
+%dir %{_includedir}/ofa1
+%{_includedir}/ofa1/*.h
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc
+%exclude %{_libdir}/lib*.*a
+
+%post -n libofa0 -p /sbin/ldconfig
+%postun -n libofa0 -p /sbin/ldconfig
%changelog
+* Tue Nov 06 2007 - crrodriguez@suse.de
+- libofa --> libofa0
+- fix build with gcc43
+- add missing ldconfig calls
+- fix some minor packaging errors
+- fix devel package, pkgconfig script wrongly added
+ unneeded libraries to the dependency chain.
+- remove static libraries and libtool "la" files
* Fri Apr 27 2007 - aj@suse.de
- Add libexpat-devel to BuildRequies.
* Mon Nov 13 2006 - aj@suse.de
++++++ libofa-0.9.3-gcc43.patch ++++++
Index: lib/signal_op.cpp
===================================================================
--- lib/signal_op.cpp.orig 2006-05-10 20:01:12.000000000 +0200
+++ lib/signal_op.cpp 2007-11-06 07:14:35.000000000 +0100
@@ -11,7 +11,7 @@
// AUTHOR: Frode Holm
// DATE CREATED: 1/12/06
-
+#include <cstdlib>
#include
#include "signal_op.h"
#include "AFLIB/aflibConverter.h"
Index: examples/example.cpp
===================================================================
--- examples/example.cpp.orig 2006-05-10 20:05:37.000000000 +0200
+++ examples/example.cpp 2007-11-06 07:20:39.000000000 +0100
@@ -8,6 +8,7 @@
-------------------------------------------------------------------*/
#include "protocol.h"
+#include <cstring>
AudioData* loadWaveFile(char *file);
AudioData* loadDataUsingLAME(char *file);
Index: examples/protocol.cpp
===================================================================
--- examples/protocol.cpp.orig 2006-05-10 20:05:42.000000000 +0200
+++ examples/protocol.cpp 2007-11-06 07:22:21.000000000 +0100
@@ -8,7 +8,7 @@
-------------------------------------------------------------------*/
#include
#include
-#include <string>
+#include <cstring>
#include <map>
#include
#include
Index: examples/uselame.cpp
===================================================================
--- examples/uselame.cpp.orig 2006-05-10 20:05:51.000000000 +0200
+++ examples/uselame.cpp 2007-11-06 07:22:47.000000000 +0100
@@ -6,6 +6,7 @@
No rights reserved.
-------------------------------------------------------------------*/
+#include <cstring>
#include "protocol.h"
#ifdef WIN32
#include "windows.h"
++++++ libofa-0.9.3-pkgconfigbloat.patch ++++++
Index: libofa.pc.in
===================================================================
--- libofa.pc.in.orig 2006-05-10 19:58:51.000000000 +0200
+++ libofa.pc.in 2007-11-06 07:42:53.000000000 +0100
@@ -7,6 +7,7 @@ Name: libofa
Description: The Open Fingerprint Architecture Library
URL: http://www.musicdns.org/
Version: @VERSION@
-Requires: fftw3
-Libs: -L${libdir} -lofa -lexpat -lm
+Requires.private: fftw3
+Libs: -L${libdir} -lofa
+Libs.private: -lexpat -lm
Cflags: -I${includedir}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org