Hello community,

here is the log from the commit of package libcec for openSUSE:Factory checked 
in at 2015-06-12 20:31:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcec (Old)
 and      /work/SRC/openSUSE:Factory/.libcec.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcec"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcec/libcec.changes    2015-02-03 
15:35:06.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libcec.new/libcec.changes       2015-06-12 
20:31:51.000000000 +0200
@@ -1,0 +2,19 @@
+Fri Jun 12 07:39:32 UTC 2015 - mplus...@suse.com
+
+- Revert name change
+- Use %cmake macro
+- Cleanup spec file with spec-cleaner
+- Use url for source
+- Fix non stanard changelog entry
+- Split python package
+- Update dependencies (add swig, drop autotools)
+- libcec-no-buildtime.patch and configure.ac.diff were dropped by 
+  previous change
+- Update name of source dir
+
+-------------------------------------------------------------------
+Mon Jun 1 20:30:03 UTC 2015 - sagi...@gmail.com
+
+- Update to v3.0.0
+
+-------------------------------------------------------------------

Old:
----
  configure.ac.diff
  libcec-2.2.0.tar.gz
  libcec-no-buildtime.patch

New:
----
  libcec-3.0.0.tar.gz

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

Other differences:
------------------
++++++ libcec.spec ++++++
--- /var/tmp/diff_new_pack.THMJjr/_old  2015-06-12 20:31:53.000000000 +0200
+++ /var/tmp/diff_new_pack.THMJjr/_new  2015-06-12 20:31:53.000000000 +0200
@@ -17,28 +17,27 @@
 #
 
 
+%define lname  libcec3_0
 %bcond_with enable_rpi_build
-
 Name:           libcec
-%define lname  libcec2
-Version:        2.2.0
+Version:        3.0.0
 Release:        0
 Summary:        Control your device with your TV remote control via HDMI
 License:        GPL-2.0+
 Group:          Hardware/TV
 Url:            https://github.com/Pulse-Eight/libcec
-
-Source:         libcec-%version.tar.gz
-Patch0:         configure.ac.diff
-Patch1:         libcec-no-buildtime.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  autoconf
-BuildRequires:  automake
+Source:         
https://github.com/Pulse-Eight/libcec/archive/libcec-%{version}.tar.gz
+BuildRequires:  cmake
 BuildRequires:  gcc-c++
-BuildRequires:  libtool
+BuildRequires:  libXrandr-devel
+BuildRequires:  libplatform-devel
 BuildRequires:  libudev-devel
 BuildRequires:  lockdev-devel
+BuildRequires:  ncurses-devel
 BuildRequires:  pkg-config
+BuildRequires:  python-devel
+BuildRequires:  swig
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %ifarch armv6l armv6hl
 %if %{with enable_rpi_build}
 BuildRequires:  raspberrypi-gfx-devel
@@ -55,11 +54,44 @@
 worry about the communication overhead, handshaking, and the various
 ways of sending a message for each vendor.
 
-%package -n %lname
+%package -n cec-client
+Summary:        Control your device with your TV remote control via HDMI
+Group:          Hardware/TV
+
+%description -n cec-client
+libCEC allows you, in combination with the right hardware, to control
+your device with your TV remote control utilizing your existing HDMI
+cabling.
+
+libCEC is an enabling platform for the CEC bus in HDMI, it allows
+developers to interact with other HDMI devices without having to
+worry about the communication overhead, handshaking, and the various
+ways of sending a message for each vendor.
+
+This package contains client applications
+
+%package -n python-%{name}
+Summary:        Python bindings for %{name}
+Group:          Hardware/TV
+%py_requires
+
+%description -n python-%{name}
+libCEC allows you, in combination with the right hardware, to control
+your device with your TV remote control utilizing your existing HDMI
+cabling.
+
+libCEC is an enabling platform for the CEC bus in HDMI, it allows
+developers to interact with other HDMI devices without having to
+worry about the communication overhead, handshaking, and the various
+ways of sending a message for each vendor.
+
+This package contains python bindings
+
+%package -n %{lname}
 Summary:        USB CEC adapter communication library
 Group:          System/Libraries
 
-%description -n %lname
+%description -n %{lname}
 libCEC allows you, in combination with the right hardware, to control
 your device with your TV remote control utilizing your existing HDMI
 cabling.
@@ -67,7 +99,7 @@
 %package devel
 Summary:        Development files for the USB CEC adapter communication library
 Group:          Development/Libraries/C and C++
-Requires:       %lname = %version
+Requires:       %{lname} = %{version}
 
 %description devel
 libCEC is an enabling platform for the CEC bus in HDMI, it allows
@@ -79,53 +111,41 @@
 
 %prep
 %setup -q -n libcec-libcec-%{version}
-%ifarch armv6l armv6hl
-%if %{with enable_rpi_build}
-%patch0 -p0
-%endif
-%endif
-%patch1 -p1
 
 %build
-./bootstrap
-%configure \
-  --disable-static \
-%ifarch %arm
-  --disable-tda995x \
-%endif
-%ifarch armv6l armv6hl
-%if %{with enable_rpi_build}
-    --enable-rpi \
-    --with-rpi-include-path="/opt/vc/include" \
-    --with-rpi-lib-path="/opt/vc/lib" \
-    CFLAGS="$CFLAGS -I/opt/vc/include/interface/vmcs_host/linux"
-%else
-    --disable-rpi
-%endif
-%else
-    --disable-rpi
-%endif
+%cmake
 make %{?_smp_mflags}
 
 %install
-%make_install
-rm %{buildroot}%{_libdir}/libcec.la
-
-%post   -n %lname -p /sbin/ldconfig
-%postun -n %lname -p /sbin/ldconfig
+%cmake_install
+# dist-packages is debian specific location, we don't want to use it
+install -d %{buildroot}%{python_sitearch}
+mv %{buildroot}%{_libexecdir}/python2.7/dist-packages 
%{buildroot}%{python_sitearch}
+
+%post   -n %{lname} -p /sbin/ldconfig
+
+%postun -n %{lname} -p /sbin/ldconfig
+
+%files -n cec-client
+%defattr(755,root,root)
+%{_bindir}/cec-client
+%{_bindir}/cec-client-3.0.0
+%{_bindir}/cecc-client
+%{_bindir}/cecc-client-3.0.0
 
-%files
+%files -n python-%{name}
 %defattr(-,root,root)
-%_bindir/cec-client
+%attr(755,root,root) %{_bindir}/pyCecClient.py
+%{python_sitearch}/*
 
-%files -n %lname
+%files -n %{lname}
 %defattr(-,root,root)
-%_libdir/libcec.so.2*
+%{_libdir}/libcec.so.3*
 
 %files devel
 %defattr(-,root,root)
-%_includedir/libcec/
-%_libdir/pkgconfig/libcec.pc
-%_libdir/libcec.so
+%{_includedir}/libcec
+%{_libdir}/pkgconfig/libcec.pc
+%{_libdir}/libcec.so
 
 %changelog

++++++ libcec-2.2.0.tar.gz -> libcec-3.0.0.tar.gz ++++++
++++ 67681 lines of diff (skipped)


Reply via email to