package created using the webbuild interface [release 0.13.0-1mamba;Wed Apr 15 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 04:40:13 +01:00
parent fee2a97c39
commit 577d8d6019
2 changed files with 80 additions and 0 deletions

View File

@ -1,2 +1,7 @@
# libinput
libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices.
It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code the user of libinput need to provide the common set of functionality that users expect.
Input event processing includes scaling touch coordinates, generating pointer events from touchpads, pointer acceleration, etc.
libinput originates from weston, the Wayland reference compositor.

75
libinput.spec Normal file
View File

@ -0,0 +1,75 @@
Name: libinput
Version: 0.13.0
Release: 1mamba
Summary: A library that handles input devices for display servers and other applications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.freedesktop.org/wiki/Software/libinput/
Source: http://www.freedesktop.org/software/libinput/libinput-%{version}.tar.xz
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcap-devel
BuildRequires: libdw-devel
BuildRequires: libevdev-devel
BuildRequires: libmtdev-devel
BuildRequires: libudev-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libinput is a library that handles input devices for display servers and other applications that need to directly deal with input devices.
It provides device detection, device handling, input device event processing and abstraction so minimize the amount of custom input code the user of libinput need to provide the common set of functionality that users expect.
Input event processing includes scaling touch coordinates, generating pointer events from touchpads, pointer acceleration, etc.
libinput originates from weston, the Wayland reference compositor.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure \
--with-udev-dir=`pkg-config udev --variable=udevdir`
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libinput.so.*
/lib/udev/libinput-device-group
/lib/udev/rules.d/80-libinput-device-groups.rules
%doc COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/libinput.h
%{_libdir}/libinput.la
%{_libdir}/libinput.so
%{_libdir}/pkgconfig/libinput.pc
%doc README.txt
%changelog
* Wed Apr 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13.0-1mamba
- package created using the webbuild interface