Hello community,

here is the log from the commit of package cwiid for openSUSE:Factory checked 
in at 2018-01-13 21:48:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cwiid (Old)
 and      /work/SRC/openSUSE:Factory/.cwiid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cwiid"

Sat Jan 13 21:48:47 2018 rev:14 rq:563826 version:0.6.00+131.gfadf11e

Changes:
--------
--- /work/SRC/openSUSE:Factory/cwiid/cwiid.changes      2012-04-17 
07:44:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cwiid.new/cwiid.changes 2018-01-13 
21:48:47.658866844 +0100
@@ -1,0 +2,13 @@
+Mon Dec  4 20:02:21 UTC 2017 - [email protected]
+
+- Update to snapshot 0.6.00+131.gfadf11e
+  Last release was 10 years ago and some software expects a newer
+  snapshot which also includes the pkg-config file.
+  * remove cwiid-fix_ldflags.patch
+  * remove cwiid-hci_read.patch
+  * add 0001-Fix-program-ldflags.patch
+- Add bluez-devel to -devel package dependencies
+  (includes bluetooth.h)
+- spec-cleaner
+
+-------------------------------------------------------------------

Old:
----
  cwiid-0.6.00.tar.bz2
  cwiid-fix_ldflags.patch
  cwiid-hci_read.patch

New:
----
  0001-Fix-program-ldflags.patch
  _service
  cwiid-0.6.00+131.gfadf11e.tar.xz

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

Other differences:
------------------
++++++ cwiid.spec ++++++
--- /var/tmp/diff_new_pack.oGReUs/_old  2018-01-13 21:48:48.386832904 +0100
+++ /var/tmp/diff_new_pack.oGReUs/_new  2018-01-13 21:48:48.390832718 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cwiid
 #
-# Copyright (c) 2012 SUSE LINUX Products 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
@@ -16,23 +16,19 @@
 #
 
 
-%{!?py_ver:          %global py_ver          %(%__python -c "import sys; 
v=sys.version_info[:2]; print '%%d.%%d'%%v" 2>/dev/null)}
-%{!?python_sitearch: %global python_sitearch %(%__python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-
+%{!?py_ver:          %global py_ver          %(python -c "import sys; 
v=sys.version_info[:2]; print '%%d.%%d'%%v" 2>/dev/null)}
+%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
+%define soname      1
 Name:           cwiid
-Version:        0.6.00
+Version:        0.6.00+131.gfadf11e
 Release:        0
-%define soname      1
-Summary:        Wii Library
+Summary:        Library to access Wiimotes
 License:        GPL-2.0+
 Group:          System/Libraries
-# http://abstrakraft.org/cwiid/downloads/cwiid-%{version}.tgz
-Source:         cwiid-%{version}.tar.bz2
-Source2:        baselibs.conf
-Patch1:         cwiid-fix_ldflags.patch
-Patch2:         cwiid-hci_read.patch
 Url:            http://abstrakraft.org/cwiid/
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source:         %{name}-%{version}.tar.xz
+Source2:        baselibs.conf
+Patch0:         0001-Fix-program-ldflags.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison
@@ -53,18 +49,18 @@
 %package -n libcwiid%{soname}
 Summary:        Library to access Wiimotes
 Group:          System/Libraries
-Provides:       libcwiid%{soname} = %{version}
 
 %description -n libcwiid%{soname}
-Library to use Wiimotes.
+Library to access Wiimotes.
 
 %package -n libcwiid-devel
 Summary:        Library to access Wiimotes
 Group:          Development/Libraries/C and C++
+Requires:       bluez-devel
 Requires:       libcwiid%{soname} = %{version}
 
 %description -n libcwiid-devel
-API and library to use Wiimotes.
+API and library to access Wiimotes.
 
 %package -n wminput
 Summary:        Linux Event Driver for the Wiimote
@@ -112,25 +108,25 @@
 
 %prep
 %setup -q
-%patch1
-%patch2
+%patch0 -p1
 
 %build
+autoreconf -fiv
 %configure \
     --disable-ldconfig
-%__make %{?_smp_mflags}
+make %{?_smp_mflags}
 
 %install
-%makeinstall
-%__rm "%{buildroot}%{_libdir}"/lib*.a
-%__rm -rf "%{buildroot}%{_datadir}/doc"
+%make_install
+rm "%{buildroot}%{_libdir}"/lib*.a
+rm -rf "%{buildroot}%{_datadir}/doc"
 
-%__chmod 0644 "%{buildroot}%{_includedir}"/*.h
+chmod 0644 "%{buildroot}%{_includedir}"/*.h
+chmod 0644 "%{buildroot}%{_sysconfdir}"/cwiid/wminput/*
 
-%__rm doc/Makefile*
+rm doc/Makefile*
 
 %post   -n libcwiid%{soname} -p /sbin/ldconfig
-
 %postun -n libcwiid%{soname} -p /sbin/ldconfig
 
 %files -n lswm
@@ -140,7 +136,7 @@
 %files -n wmgui
 %defattr(-,root,root)
 %{_bindir}/wmgui
-%doc %{_mandir}/man1/wmgui.1%{ext_man}
+%{_mandir}/man1/wmgui.1%{ext_man}
 
 %files -n wminput
 %defattr(-,root,root)
@@ -148,17 +144,18 @@
 %doc wminput/README
 %doc AUTHORS ChangeLog COPYING NEWS README
 %dir %{_sysconfdir}/cwiid/wminput
-%attr(0644,root,root) %config %{_sysconfdir}/cwiid/wminput/*
+%config %{_sysconfdir}/cwiid/wminput/*
 %{_bindir}/wminput
 %dir %{_libdir}/cwiid
 %dir %{_libdir}/cwiid/plugins
 %{_libdir}/cwiid/plugins/*.so
-%doc %{_mandir}/man1/wminput.1%{ext_man}
+%{_mandir}/man1/wminput.1%{ext_man}
 
 %files -n libcwiid-devel
 %defattr(-,root,root)
 %{_includedir}/cwiid.h
 %{_libdir}/libcwiid.so
+%{_libdir}/pkgconfig/%{name}.pc
 
 %files -n libcwiid%{soname}
 %defattr(-,root,root)
@@ -174,7 +171,7 @@
 %defattr(-,root,root)
 %{python_sitearch}/cwiid.so
 %if 0%{?suse_version} >= 1100
-%{python_sitearch}/cwiid-%{version}-py%{py_ver}.egg-info
+%{python_sitearch}/cwiid-0.6.00-py%{py_ver}.egg-info
 %endif
 
 %changelog

++++++ 0001-Fix-program-ldflags.patch ++++++
>From e446c634751297407529d72f54e8d0a74431801a Mon Sep 17 00:00:00 2001
From: Martin Herkt <[email protected]>
Date: Mon, 4 Dec 2017 20:39:06 +0100
Subject: [PATCH] Fix program ldflags

---
 wmdemo/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wmdemo/Makefile.in b/wmdemo/Makefile.in
index 56aed58..1eccc02 100644
--- a/wmdemo/Makefile.in
+++ b/wmdemo/Makefile.in
@@ -8,7 +8,7 @@ SOURCES = wmdemo.c
 
 CFLAGS += -I@top_builddir@/libcwiid
 LDFLAGS += -L@top_builddir@/libcwiid
-LDLIBS += -lcwiid
+LDLIBS += -lcwiid -lbluetooth
 INST_DIR = @bindir@
 
 include $(COMMON)/include/app.mak
-- 
2.15.0

++++++ _service ++++++
<services>
    <service name="tar_scm" mode="disabled">
        <param name="scm">git</param>
        <param name="url">https://github.com/abstrakraft/cwiid.git</param>
        <param name="filename">cwiid</param>
        <param name="versionformat">@PARENT_TAG@+@[email protected]%h</param>
        <param name="parent-tag">cwiid-0.6.00</param>
        <param name="versionrewrite-pattern">cwiid([0-9\.]*)</param>
    </service>
    <service name="recompress" mode="disabled">
        <param name="file">*.tar</param>
        <param name="compression">xz</param>
    </service>
    <service name="set_version" mode="disabled"/>
</services>

Reply via email to