Hello community, here is the log from the commit of package libfunambol for openSUSE:Factory checked in at 2016-06-14 23:06:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libfunambol (Old) and /work/SRC/openSUSE:Factory/.libfunambol.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libfunambol" Changes: -------- --- /work/SRC/openSUSE:Factory/libfunambol/libfunambol.changes 2011-11-22 17:47:48.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libfunambol.new/libfunambol.changes 2016-06-14 23:06:55.000000000 +0200 @@ -1,0 +2,13 @@ +Mon Jun 6 12:30:09 UTC 2016 - [email protected] + +- Remove useless --with-pic (it's for static libs only, and they + are not built). +- Shared library subpackage name must be libfunambol-9_0_1 + because the SONAME is libfunambol-9.0.1.so. + +------------------------------------------------------------------- +Thu Jun 2 13:22:13 UTC 2016 - [email protected] + +- Cleanup a bit so we do not have diffing devel and factory + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libfunambol.spec ++++++ --- /var/tmp/diff_new_pack.uObsOB/_old 2016-06-14 23:06:56.000000000 +0200 +++ /var/tmp/diff_new_pack.uObsOB/_new 2016-06-14 23:06:56.000000000 +0200 @@ -1,8 +1,7 @@ # # spec file for package libfunambol # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. -# Copyright Sascha Peilicke <[email protected]> +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +16,20 @@ # - +%define libname %{name}-9_0_1 Name: libfunambol Version: 9.0.1 -Release: 1 +Release: 0 Summary: C++ SyncML Client Engine License: AGPL-3.0 Group: Development/Libraries/C and C++ -URL: http://funambol.com +Url: http://funambol.com Source0: %{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: gcc-c++ libcurl-devel +BuildRequires: gcc-c++ BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libcurl) +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Libfunambol allows to integrate a SyncML stack in a C++ application on a @@ -36,21 +37,24 @@ iPhone and Symbian are actively supported, but you can easily build it on other Unixes or other mobile/embedded platforms. -%package -n %{name}9 +%package -n %{libname} Summary: C++ SyncML Client Engine Group: System/Libraries +# O/P erroneous earlier name - remove when going to 9.0.2 or above. +Obsoletes: libfunambol9 +Provides: libfunambol9 -%description -n %{name}9 +%description -n %{libname} Libfunambol allows to integrate a SyncML stack in a C++ application on a variety of platforms. Currently, Windows, Windows Mobile and Linux, Mac OS X, iPhone and Symbian are actively supported, but you can easily build it on other Unixes or other mobile/embedded platforms. %package devel -License: AGPL-3.0 Summary: C++ SyncML Client Engine Group: Development/Libraries/C and C++ -Requires: %{name}9 >= %{version} libcurl-devel +Requires: %{libname} = %{version} +Requires: libcurl-devel %description devel This package contains all necessary include files and libraries needed @@ -61,29 +65,31 @@ %build cd build/autotools -sh autogen.sh -%configure --disable-static --with-pic --disable-unit-tests --disable-integration-tests -%{__make} %{?jobs:-j%jobs} +autoreconf -fvi +%configure \ + --disable-static \ + --disable-unit-tests \ + --disable-integration-tests +make %{?_smp_mflags} %install cd build/autotools -%makeinstall +make %{?_smp_mflags} DESTDIR=%{buildroot} install cd ../.. # remove unneeded files -%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/*.la -%{__rm} -rf $RPM_BUILD_ROOT%{_includedir}/funambol/test +find %{buildroot} -type f -name "*.la" -delete -print +rm -rf %{buildroot}%{_includedir}/funambol/test # install additional documentation -install -d $RPM_BUILD_ROOT%{_docdir}/%{name}9 -install -m 0644 {LICENSE,TODO,changeslog}.txt README $RPM_BUILD_ROOT%{_docdir}/%{name}9 -install -m 0644 docs/funambol-cppsdk-tutorial.pdf $RPM_BUILD_ROOT%{_docdir}/%{name}9 -install -d $RPM_BUILD_ROOT%{_docdir}/%{name}9/html -install -m 0644 docs/html/* $RPM_BUILD_ROOT%{_docdir}/%{name}9/html - -%post -n %{name}9 -p /sbin/ldconfig +install -d %{buildroot}%{_docdir}/%{libname} +install -m 0644 {LICENSE,TODO,changeslog}.txt README %{buildroot}%{_docdir}/%{libname} +install -m 0644 docs/funambol-cppsdk-tutorial.pdf %{buildroot}%{_docdir}/%{libname} +install -d %{buildroot}%{_docdir}/%{libname}/html +install -m 0644 docs/html/* %{buildroot}%{_docdir}/%{libname}/html -%postun -n %{name}9 -p /sbin/ldconfig +%post -n %{libname} -p /sbin/ldconfig +%postun -n %{libname} -p /sbin/ldconfig -%files -n %{name}9 +%files -n %{libname} %defattr (-,root,root) %doc LICENSE.txt %{_libdir}/%{name}-9.0.1.so
