Hello community, here is the log from the commit of package openobex for openSUSE:Factory checked in at 2014-06-24 15:15:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2014-01-03 19:47:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.openobex.new/openobex.changes 2014-06-24 15:15:46.000000000 +0200 @@ -1,0 +2,7 @@ +Sat Jun 21 10:56:12 UTC 2014 - [email protected] + +- Generate manpages and doxyfiles. +- Use cmake macros and fix project definition to work with them +- Cleanup with spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openobex.spec ++++++ --- /var/tmp/diff_new_pack.6k7Q9A/_old 2014-06-24 15:15:47.000000000 +0200 +++ /var/tmp/diff_new_pack.6k7Q9A/_new 2014-06-24 15:15:47.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package openobex # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products 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,20 +17,26 @@ Name: openobex -%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.7.1/%{name}-%{version}-Source.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Source: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}-Source.tar.gz BuildRequires: bluez-devel BuildRequires: cmake +BuildRequires: docbook-xsl-stylesheets +BuildRequires: docbook_4 +BuildRequires: doxygen +BuildRequires: fdupes +BuildRequires: gcc-c++ BuildRequires: libusb-devel +BuildRequires: libxml2-tools BuildRequires: pkg-config +BuildRequires: xsltproc BuildRequires: pkgconfig(udev) +BuildRoot: %{_tmppath}/%{name}-%{version}-build %{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d} %description @@ -57,7 +63,7 @@ Group: Productivity/Networking/Web/Utilities %description apps -applications using obex libs. +Various applications and ools using the Object Exchange (OBEX) Protocol libraries. %package devel Summary: Development package for openobex @@ -69,28 +75,33 @@ Files needed for software development using openobex. %prep -%setup -q -n openobex-%{_rversion}-Source -mkdir build +%setup -q -n openobex-%{version}-Source +# openobex runs some tests with g++ +sed -i -e 's:openobex C:openobex C CXX:' CMakeLists.txt +# doxygen no timestamp +sed -i -e '4 iHTML_TIMESTAMP=NO' doc/Doxyfile.in %build -pushd build -cmake .. \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DCMAKE_SKIP_RPATH=on +%cmake \ + -DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} make %{?_smp_mflags} make %{?_smp_mflags} openobex-apps %install -pushd build -%makeinstall -%{__rm} -f %{buildroot}%{_libdir}/*.la +%cmake_install +find %{buildroot} -type f -name "*.la" -delete -print +%fdupes %{buildroot}%{_docdir} +# don't ship obex_test program, that is for testing purposes only +# and has some problems (multiple buffer overflows etc.) +rm -f $RPM_BUILD_ROOT%{_bindir}/obex_test +rm -f $RPM_BUILD_ROOT%{_mandir}/man1/obex_test.1* %post -n libopenobex2 -p /sbin/ldconfig %postun -n libopenobex2 -p /sbin/ldconfig %post -%{?udev_rules_update:%udev_rules_update} +%{?udev_rules_update:%{udev_rules_update}} %files %defattr(-,root,root) @@ -110,10 +121,12 @@ %{_bindir}/irxfer %{_bindir}/obex_find %{_bindir}/obex_tcp -%{_bindir}/obex_test +%{_mandir}/man1/* %files devel %defattr(-,root,root) +%dir %{_docdir}/%{name} +%{_docdir}/%{name}/* %{_includedir}/openobex/ %{_libdir}/libopenobex.so %{_libdir}/pkgconfig/openobex.pc -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
