Hello community,

here is the log from the commit of package openobex for openSUSE:Factory 
checked in at 2013-10-11 08:59:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openobex (Old)
 and      /work/SRC/openSUSE:Factory/.openobex.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openobex"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openobex/openobex.changes        2013-04-17 
23:12:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openobex.new/openobex.changes   2013-10-11 
08:59:54.000000000 +0200
@@ -1,0 +2,43 @@
+Wed Sep 25 07:56:41 UTC 2013 - dims...@opensuse.org
+
+- Update to version 1.7.1:
+  + Add OBEX_FL_STREAM_CONTINUE.
+  + Several fixes.
+- Changes from version 1.7:
+  + Add support for CMake config files
+  + Internal code reorganisation and rewrite
+  + Add new function set for better control than
+    OBEX_HandleInput(): OBEX_SetTimeout(), OBEX_Work() and
+    OBEX_GetDataDirection()
+- Changes from version 1.6:
+  + Change ABI from 1 to 2 because:
+    - Redo the USB changes from version 1.4.
+    - Remove InOBEX_* function, use the TcpOBEX_* functions
+      instead.
+    - Remove the simple Unicode<->ASCII functions.
+  + Add support for Single Response Mode.
+  + Add manpages for all example applications.
+  + Add udev support.
+  + Add new example app to find IrDA and USB OBEX devices.
+  + Add fixes for FreeBSD.
+  + Add support for libusb-1.x.
+  + Add support for close-on-exec.
+- Drop upstream fixed patches:
+  + openobex-libusb-check.patch.
+  + openobex-1.3-pkgconfig.patch (done slightly different).
+  + 0001-fix-fd-leak.patch.
+- No longer provide and obsolete openobex from the library package:
+  the main package now contains udev rules and helpers.
+- Require openobex from the library package: an app making use of
+  the library surely wants the udev helpers in place.
+- Rename libopenobex1 subpackage to libopenobex2, following
+  upstreams soname change.
+- Require libopenobex2 from the -devel package instead of the main
+  package (the name used to be provided by libopenobex1).
+- Replace libtool BuildRequires with cmake, following upstreams
+  build system switch.
+- Add pkgconfig(udev) BuildRequires: needed to build the udev
+  helper as well to find the location where to install udev rules
+  (define rules_dir).
+
+-------------------------------------------------------------------

Old:
----
  0001-fix-fd-leak.patch
  openobex-1.3-pkgconfig.patch
  openobex-1.5.0-Source.zip
  openobex-libusb-check.patch

New:
----
  openobex-1.7.1-Source.tar.gz

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

Other differences:
------------------
++++++ openobex.spec ++++++
--- /var/tmp/diff_new_pack.N3Yyse/_old  2013-10-11 08:59:55.000000000 +0200
+++ /var/tmp/diff_new_pack.N3Yyse/_new  2013-10-11 08:59:55.000000000 +0200
@@ -17,23 +17,21 @@
 
 
 Name:           openobex
-%define _rversion 1.5.0
-Version:        1.5
+%define _rversion 1.7.1
+Version:        1.7.1
 Release:        0
 Summary:        Open Source Implementation of the Object Exchange (OBEX) 
Protocol
 License:        GPL-2.0+ and LGPL-2.1+
 Group:          Development/Libraries/Other
 Url:            http://openobex.sourceforge.net/
-Source:         
http://sourceforge.net/projects/openobex/files/openobex/1.5/openobex-%{_rversion}-Source.zip
-Patch1:         openobex-libusb-check.patch
-Patch2:         openobex-1.3-pkgconfig.patch
-Patch3:         0001-fix-fd-leak.patch
+Source:         
http://sourceforge.net/projects/openobex/files/openobex/1.7.1/%{name}-%{version}-Source.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bluez-devel
-BuildRequires:  libtool
+BuildRequires:  cmake
 BuildRequires:  libusb-devel
 BuildRequires:  pkg-config
-BuildRequires:  unzip
+BuildRequires:  pkgconfig(udev)
+%define rules_dir %(pkg-config --variable udevdir udev)/rules.d
 
 %description
 OBEX is a session protocol and can best be described as a binary HTTP
@@ -41,14 +39,13 @@
 to exchange all kind of objects, like files, pictures, calendar entries
 (vCal), and business cards (vCard).
 
-%package -n libopenobex1
+%package -n libopenobex2
 Summary:        Open Source Implementation of the Object Exchange (OBEX) 
Protocol
 License:        GPL-2.0+ and LGPL-2.1+
 Group:          Productivity/Networking/Web/Utilities
-Provides:       openobex = %{version}
-Obsoletes:      openobex < %{version}
+Requires:       %{name} >= %{version}
 
-%description -n libopenobex1
+%description -n libopenobex2
 OBEX is a session protocol and can best be described as a binary HTTP
 protocol. OBEX is optimized for ad-hoc wireless links and can be used
 to exchange all kind of objects, like files, pictures, calendar entries
@@ -66,33 +63,38 @@
 Summary:        Development package for openobex
 License:        GPL-2.0+
 Group:          Development/Libraries/Other
-Requires:       %{name} = %{version}
-Requires:       glibc-devel
+Requires:       libopenobex2 = %{version}
 
 %description devel
 Files needed for software development using openobex.
 
 %prep
 %setup -q -n openobex-%{_rversion}-Source
-%patch1
-%patch2
-%patch3 -p1
+mkdir build
 
 %build
-autoreconf -f -i -v
-%configure --disable-static --with-pic \
-       --enable-apps
+pushd build
+cmake .. \
+  -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+  -DCMAKE_SKIP_RPATH=on
 make %{?_smp_mflags}
+make %{?_smp_mflags} openobex-apps
 
 %install
+pushd build
 %makeinstall
 %{__rm} -f %{buildroot}%{_libdir}/*.la
 
-%post -n libopenobex1 -p /sbin/ldconfig
+%post -n libopenobex2 -p /sbin/ldconfig
 
-%postun -n libopenobex1 -p /sbin/ldconfig
+%postun -n libopenobex2 -p /sbin/ldconfig
 
-%files -n libopenobex1
+%files
+%defattr(-,root,root)
+%{_sbindir}/obex-check-device
+%{rules_dir}/60-openobex.rules
+
+%files -n libopenobex2
 %defattr(-,root,root)
 # NEWS is empty
 %doc AUTHORS COPYING COPYING.LIB ChangeLog README
@@ -103,15 +105,15 @@
 %{_bindir}/ircp
 %{_bindir}/irobex_palm3
 %{_bindir}/irxfer
+%{_bindir}/obex_find
 %{_bindir}/obex_tcp
 %{_bindir}/obex_test
 
 %files devel
 %defattr(-,root,root)
-%dir %{_includedir}/openobex
-%{_includedir}/openobex/obex.h
-%{_includedir}/openobex/obex_const.h
+%{_includedir}/openobex/
 %{_libdir}/libopenobex.so
 %{_libdir}/pkgconfig/openobex.pc
+%{_libdir}/cmake/OpenObex-%{version}/
 
 %changelog

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

Reply via email to