[packages/libmanette] - new
qboosh
qboosh at pld-linux.org
Thu Nov 14 16:00:33 CET 2019
commit 9c5eb176bd029446ce01cbc01f73c491b92e8710
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Nov 14 16:00:39 2019 +0100
- new
libmanette.spec | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 118 insertions(+)
---
diff --git a/libmanette.spec b/libmanette.spec
new file mode 100644
index 0000000..aaf47ee
--- /dev/null
+++ b/libmanette.spec
@@ -0,0 +1,118 @@
+Summary: Simple GObject game controller library
+Summary(pl.UTF-8): Prosta biblioteka GObject do obsługi manipulatorów do gier
+Name: libmanette
+Version: 0.2.3
+Release: 1
+License: LGPL v2.1+
+Group: Libraries
+Source0: http://ftp.gnome.org/pub/GNOME/sources/libmanette/0.2/%{name}-%{version}.tar.xz
+# Source0-md5: db974371deb56edfaf48f431a8e5159d
+URL: https://gitlab.gnome.org/aplazas/libmanette
+BuildRequires: glib2-devel >= 1:2.50
+BuildRequires: libevdev-devel >= 1.4.5
+BuildRequires: meson >= 0.47.0
+BuildRequires: ninja >= 1.5
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.736
+BuildRequires: tar >= 1:1.22
+BuildRequires: udev-glib-devel >= 1:1.0
+BuildRequires: xz
+Requires: libevdev >= 1.4.5
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libmanette is a small GObject library giving you simple access to game
+controllers.
+
+This library is intended for software needing a painless access to
+game controllers from any programming language and with little
+dependencies.
+
+It supports the de-facto standard gamepads as defined by the W3C
+standard Gamepad specification <https://www.w3.org/TR/gamepad/> or as
+implemented by the SDL GameController
+<https://wiki.libsdl.org/CategoryGameController>. More game controller
+kinds could be supported in the future if needed. Mapping of the
+devices is handled transparently and internally by the library using
+the popular SDL mapping string format.
+
+%description -l pl.UTF-8
+libmanette to mała biblioteka GObject dająca prosty dostęp do
+manipulatorów do gier.
+
+Biblioteka jest przeznaczona dla oprogramowania potrzebującego
+bezbolesnego dostępu do manipulatorów do gier z poziomu dowolnego
+języka programowania i z możliwie małymi zależnościami.
+
+Biblioteka obsługuje kontrolery standardu de facto, zdefiniowanego w
+specyfikacji Gamepad standardu W3C <https://www.w3.org/TR/gamepad/>,
+albo wg implementacji SDL GameController
+<https://wiki.libsdl.org/CategoryGameController>. W przyszłości, w
+miarę potrzeby, może być dodana obsługa kolejnych rodzajów
+manipulatorów. Odwzorowanie urządzeń obsługiwane jest w sposób
+przezroczysty, wewnętrznie w bibliotece, z użyciem popularnego formatu
+łańcuchów odwzorowujących SDL.
+
+%package devel
+Summary: Header files for libmanette library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libmanette
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: glib2-devel >= 1:2.50
+
+%description devel
+Header files for libmanette library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libmanette.
+
+%package -n vala-libmanette
+Summary: Vala API for libmanette library
+Summary(pl.UTF-8): API języka Vala do biblioteki libmanette
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+Requires: vala
+
+%description -n vala-libmanette
+Vala API for libmanette library.
+
+%description -n vala-libmanette -l pl.UTF-8
+API języka Vala do biblioteki libmanette.
+
+%prep
+%setup -q
+
+%build
+%meson build
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README.md
+%attr(755,root,root) %{_bindir}/manette-test
+%attr(755,root,root) %{_libdir}/libmanette-0.2.so.0
+%{_libdir}/girepository-1.0/Manette-0.2.typelib
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmanette-0.2.so
+%{_includedir}/libmanette
+%{_datadir}/gir-1.0/Manette-0.2.gir
+%{_pkgconfigdir}/manette-0.2.pc
+
+%files -n vala-libmanette
+%defattr(644,root,root,755)
+%{_datadir}/vala/vapi/manette-0.2.deps
+%{_datadir}/vala/vapi/manette-0.2.vapi
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libmanette.git/commitdiff/9c5eb176bd029446ce01cbc01f73c491b92e8710
More information about the pld-cvs-commit
mailing list