forked from pool/libmanette
Accepting request 544389 from GNOME:Next
Early addon to GNOME:Factory / openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/544389 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libmanette?expand=0&rev=1
This commit is contained in:
commit
2e3191b358
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
libmanette-0.1.2.tar.xz
Normal file
3
libmanette-0.1.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ec7e415e2f0b899095bc08f1457af531e6f95d4695eeecdadd5570326536b52f
|
||||||
|
size 31524
|
4
libmanette.changes
Normal file
4
libmanette.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 20 08:11:28 UTC 2017 - adrien.plazas@suse.com
|
||||||
|
|
||||||
|
- Initial package, libmanette, version 0.1.2.
|
98
libmanette.spec
Normal file
98
libmanette.spec
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libmanette
|
||||||
|
#
|
||||||
|
# Copyright (c) 2017 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%define binary_version 0.2
|
||||||
|
%define package_version 0_2
|
||||||
|
|
||||||
|
Name: libmanette
|
||||||
|
Version: 0.1.2
|
||||||
|
Release: 0
|
||||||
|
Summary: A simple GObject game controller library
|
||||||
|
License: LGPL-2.1+
|
||||||
|
Group: System/Libraries
|
||||||
|
Url: https://gitlab.gnome.org/aplazas/libmanette/
|
||||||
|
Source: http://download.gnome.org/sources/libmanette/0.1/%{name}-%{version}.tar.xz
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gobject-introspection-devel >= 0.6.7
|
||||||
|
BuildRequires: meson >= 0.43.0
|
||||||
|
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}
|
||||||
|
Summary: A simple GObject game controller library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n liblibmanette-%{package_version}
|
||||||
|
libmanette allows easy access to game controllers.
|
||||||
|
|
||||||
|
%package -n typelib-1_0-Manette-%{package_version}
|
||||||
|
Summary: GObject introspection bindings for liblibmanette
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n typelib-1_0-Manette-%{package_version}
|
||||||
|
libmanette allows easy access to game controllers.
|
||||||
|
This subpackage contains the gobject bindings for the liblibmanette
|
||||||
|
shared library.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for the libmanette library
|
||||||
|
Group: Development/Languages/C and C++
|
||||||
|
Requires: liblibmanette-%{package_version} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
libmanette allows easy access to game controllers.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
%post -n liblibmanette-%{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 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
|
||||||
|
%{_includedir}/libmanette/
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user