diff --git a/libmanette-0.1.2.tar.xz b/libmanette-0.1.2.tar.xz deleted file mode 100644 index 9ebcbf9..0000000 --- a/libmanette-0.1.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ec7e415e2f0b899095bc08f1457af531e6f95d4695eeecdadd5570326536b52f -size 31524 diff --git a/libmanette-0.2.0.tar.xz b/libmanette-0.2.0.tar.xz new file mode 100644 index 0000000..24d9f44 --- /dev/null +++ b/libmanette-0.2.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:af9e59b8d9ab792391a229c2824cac99740676785fdd460588fe9f5a05e613ff +size 32436 diff --git a/libmanette.changes b/libmanette.changes index 88666ff..027537d 100644 --- a/libmanette.changes +++ b/libmanette.changes @@ -1,3 +1,38 @@ +------------------------------------------------------------------- +Tue Mar 6 17:48:22 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 2.0.0: + + Device: Add rumble support. + + Make the devices rumble in manette-test if they support it. + + Mapping: + - Initialize the bindings to 0 before using them, avoiding + improper values in non used fields. + - Ensures the binding value inversion is disabled by default, + avoiding an unexpected state. + - Clear errno before using it to avoid string to uint16 + convertions to fail on valid inputs. + - Silently skip the 'platform' mapping key as it is neither + useful nor erroneous. + + Monitor: + - Fix the 'device-disconnected' signal marshaller. + - Fix the devices hash table hash and comparison functions. + + Build system change: + - Make manette-test properly depend on libmanette. + - Change the package name from libmanette to manette. + - Change the soname from liblibmanette.so to libmanette.so. + - Fix the soname version. + + Fix the license header of manette-version.h.in, which was + accidentaly not matching the one of the library. +- Following upstream changes and fixes, rename liblibmanette-0_2 + subpackage to libmanette-0_2-0, change where applicable, set + package_version define to 0_2-0. +- Tweak spec, use autosetup macro. + +------------------------------------------------------------------- +Wed Feb 28 16:35:32 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Mon Nov 20 08:11:28 UTC 2017 - adrien.plazas@suse.com diff --git a/libmanette.spec b/libmanette.spec index 88474e8..0d5f610 100644 --- a/libmanette.spec +++ b/libmanette.spec @@ -1,7 +1,7 @@ # # spec file for package libmanette # -# 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 @@ -15,33 +15,35 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define binary_version 0.2 -%define package_version 0_2 +%define package_version 0_2-0 Name: libmanette -Version: 0.1.2 +Version: 0.2.0 Release: 0 Summary: A simple GObject game controller library -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/Libraries -Url: https://gitlab.gnome.org/aplazas/libmanette/ -Source: http://download.gnome.org/sources/libmanette/0.1/%{name}-%{version}.tar.xz +URL: https://gitlab.gnome.org/aplazas/libmanette/ +Source: http://download.gnome.org/sources/libmanette/0.2/%{name}-%{version}.tar.xz + BuildRequires: gcc BuildRequires: gobject-introspection-devel >= 0.6.7 BuildRequires: meson >= 0.43.0 +BuildRequires: pkgconfig BuildRequires: pkgconfig(gudev-1.0) >= 1.0 BuildRequires: pkgconfig(libevdev) >= 1.4.5 BuildRequires: pkgconfig(vapigen) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libmanette allows easy access to game controllers. -%package -n liblibmanette-%{package_version} +%package -n libmanette-%{package_version} Summary: A simple GObject game controller library Group: System/Libraries -%description -n liblibmanette-%{package_version} +%description -n libmanette-%{package_version} libmanette allows easy access to game controllers. %package -n typelib-1_0-Manette-%{package_version} @@ -56,13 +58,13 @@ shared library. %package devel Summary: Development files for the libmanette library Group: Development/Languages/C and C++ -Requires: liblibmanette-%{package_version} = %{version} +Requires: libmanette-%{package_version} = %{version} %description devel libmanette allows easy access to game controllers. %prep -%setup -q +%autosetup %build %meson @@ -71,28 +73,25 @@ libmanette allows easy access to game controllers. %install %meson_install -%post -n liblibmanette-%{package_version} -p /sbin/ldconfig +%post -n libmanette-%{package_version} -p /sbin/ldconfig +%postun -n libmanette-%{package_version} -p /sbin/ldconfig -%postun -n liblibmanette-%{package_version} -p /sbin/ldconfig - -%files -n liblibmanette-%{package_version} -%defattr(-, root, root) -%doc COPYING -%{_libdir}/liblibmanette-%{binary_version}.so* +%files -n libmanette-%{package_version} +%license COPYING +%{_libdir}/libmanette-%{binary_version}.so.* %files -n typelib-1_0-Manette-%{package_version} -%defattr(-,root,root) %{_libdir}/girepository-1.0/Manette-%{binary_version}.typelib %files devel -%defattr(-,root,root) %{_bindir}/manette-test %{_datadir}/gir-1.0/Manette-%{binary_version}.gir %dir %{_datadir}/vala/ %dir %{_datadir}/vala/vapi/ -%{_datadir}/vala/vapi/libmanette-%{binary_version}.deps -%{_datadir}/vala/vapi/libmanette-%{binary_version}.vapi -%{_libdir}/pkgconfig/libmanette-%{binary_version}.pc +%{_datadir}/vala/vapi/manette-%{binary_version}.deps +%{_datadir}/vala/vapi/manette-%{binary_version}.vapi %{_includedir}/libmanette/ +%{_libdir}/libmanette-%{binary_version}.so +%{_libdir}/pkgconfig/manette-%{binary_version}.pc %changelog