SHA256
1
0
forked from pool/libmanette

Accepting request 584490 from GNOME:Next

add to distro

OBS-URL: https://build.opensuse.org/request/show/584490
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libmanette?expand=0&rev=3
This commit is contained in:
2018-03-09 11:30:06 +00:00
committed by Git OBS Bridge
parent b6a72caa98
commit 21e4da68e4
4 changed files with 60 additions and 26 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec7e415e2f0b899095bc08f1457af531e6f95d4695eeecdadd5570326536b52f
size 31524

3
libmanette-0.2.0.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af9e59b8d9ab792391a229c2824cac99740676785fdd460588fe9f5a05e613ff
size 32436

View File

@@ -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

View File

@@ -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