Hello community, here is the log from the commit of package upm for openSUSE:Factory checked in at 2018-07-10 16:17:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/upm (Old) and /work/SRC/openSUSE:Factory/.upm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "upm" Tue Jul 10 16:17:25 2018 rev:5 rq:621851 version:1.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/upm/upm.changes 2017-11-08 15:14:06.657336491 +0100 +++ /work/SRC/openSUSE:Factory/.upm.new/upm.changes 2018-07-10 16:18:14.561275018 +0200 @@ -1,0 +2,14 @@ +Tue Jul 10 08:27:02 UTC 2018 - [email protected] + +- Update to version 1.6.0: + * Extended LED library to support the new MRAA gpio-leds APIs + * Many CMake changes around SWIG wrapper generation and improved + FindNodejs detection module + * Several code fixes based on static code analysis + * Improved documentation generation and Travis CI builds + * Cleaned-up doxygen tags in headers and class names in JSON + library files + * New sensor: lis3dh +- Enable building of nodejs bindings + +------------------------------------------------------------------- Old: ---- upm-1.5.0.tar.gz New: ---- upm-1.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ upm.spec ++++++ --- /var/tmp/diff_new_pack.Ez6fO5/_old 2018-07-10 16:18:15.465273622 +0200 +++ /var/tmp/diff_new_pack.Ez6fO5/_new 2018-07-10 16:18:15.469273616 +0200 @@ -1,7 +1,7 @@ # # spec file for package upm # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -18,20 +18,21 @@ %define sover 1 Name: upm -Version: 1.5.0 +Version: 1.6.0 Release: 0 Summary: High-level repository for sensors that use mraa License: MIT Group: Hardware/Other -Url: https://github.com/intel-iot-devkit/UPM +URL: https://github.com/intel-iot-devkit/UPM Source: https://github.com/intel-iot-devkit/UPM/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: ninja +BuildRequires: nodejs6-devel BuildRequires: pkgconfig BuildRequires: swig BuildRequires: pkgconfig(libjpeg) -BuildRequires: pkgconfig(mraa) >= 1.7.0 +BuildRequires: pkgconfig(mraa) >= 1.9.0 BuildRequires: pkgconfig(python2) BuildRequires: pkgconfig(python3) ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 @@ -76,9 +77,9 @@ %package -n python2-%{name} Summary: Python bindings for %{name} Group: Development/Languages/Python +Requires: lib%{name}%{sover} = %{version} Provides: python-%{name} = %{version} Obsoletes: python-%{name} < %{version} -Requires: lib%{name}%{sover} = %{version} %description -n python2-%{name} The UPM repository provides software drivers for a wide variety of commonly @@ -101,6 +102,19 @@ This package contains python3 bindings for %{name}. +%package -n nodejs-%{name} +Summary: Nodejs bindings for %{name} +Group: Development/Languages/Other +%requires_ge nodejs6 + +%description -n nodejs-%{name} +The UPM repository provides software drivers for a wide variety of commonly +used sensors and actuators. These software drivers interact with the +underlying hardware platform (or microcontroller), as well as with the +attached sensors, through calls to MRAA APIs. + +This package contains nodejs bindings for %{name}. + %prep %setup -q # remove CC BY-NC-SA 3.0 licenced images @@ -112,18 +126,20 @@ -DCMAKE_SHARED_LINKER_FLAGS="" \ -DCMAKE_EXE_LINKER_FLAGS="" \ -DCMAKE_MODULE_LINKER_FLAGS="" \ - -DBUILDSWIGNODE=off \ + -DBUILDSWIGNODE=on \ -DBUILDFTI=on %make_jobs %install %cmake_install +rm -rf %{buildroot}%{_datadir}/upm %post -n lib%{name}%{sover} -p /sbin/ldconfig %postun -n lib%{name}%{sover} -p /sbin/ldconfig %files -n lib%{name}%{sover} -%doc LICENSE README.md +%license LICENSE +%doc README.md %{_libdir}/lib%{name}*.so.%{sover}* %files devel @@ -137,4 +153,8 @@ %files -n python3-%{name} %{python3_sitearch}/* +%files -n nodejs-%{name} +%dir %{_libexecdir}/node_modules +%{_libexecdir}/node_modules/jsupm* + %changelog ++++++ upm-1.5.0.tar.gz -> upm-1.6.0.tar.gz ++++++ /work/SRC/openSUSE:Factory/upm/upm-1.5.0.tar.gz /work/SRC/openSUSE:Factory/.upm.new/upm-1.6.0.tar.gz differ: char 18, line 1
